Skip to content

Commit 413f48f

Browse files
authored
Add member 'Principal' and 'Properties' to MemberNotNullWhenAttribute (#34883)
* Contributes to #5680
1 parent 8005583 commit 413f48f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Authentication.Abstractions/src/AuthenticateResult.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ protected AuthenticateResult() { }
2020
/// <summary>
2121
/// If a ticket was produced, authenticate was successful.
2222
/// </summary>
23-
[MemberNotNullWhen(true, nameof(Ticket))]
23+
[MemberNotNullWhen(true, nameof(Ticket), nameof(Principal), nameof(Properties))]
2424
public bool Succeeded => Ticket != null;
2525

2626
/// <summary>

0 commit comments

Comments
 (0)