1 write to AuthorizationOptions
Microsoft.AspNetCore.App.Analyzers (1)
Authorization\AuthorizationOptionsTypes.cs (1)
16
AuthorizationOptions
= wellKnownTypes.Get(WellKnownType.Microsoft_AspNetCore_Authorization_AuthorizationOptions);
7 references to AuthorizationOptions
Microsoft.AspNetCore.App.Analyzers (7)
Authorization\AddAuthorizationBuilderAnalyzer.cs (4)
148
&& SymbolEqualityComparer.Default.Equals(propertyReferenceContainingType, authorizationOptionsTypes.
AuthorizationOptions
))
154
&& SymbolEqualityComparer.Default.Equals(invokedMethodContainingType, authorizationOptionsTypes.
AuthorizationOptions
))
208
&& SymbolEqualityComparer.Default.Equals(methodReferenceOperation.Member.ContainingType, authorizationOptionsTypes.
AuthorizationOptions
))
215
&& SymbolEqualityComparer.Default.Equals(invocationOperation.TargetMethod.ContainingType, authorizationOptionsTypes.
AuthorizationOptions
))
Authorization\AuthorizationOptionsTypes.cs (3)
18
if (
AuthorizationOptions
is not null)
20
var authorizationOptionsMembers =
AuthorizationOptions
.GetMembers();
42
public bool HasRequiredTypes =>
AuthorizationOptions
is not null