1 write to _cachedDefaultPolicy
Microsoft.AspNetCore.Authorization (1)
DefaultAuthorizationPolicyProvider.cs (1)
40
_cachedDefaultPolicy
= Task.FromResult(_options.DefaultPolicy);
3 references to _cachedDefaultPolicy
Microsoft.AspNetCore.Authorization (3)
DefaultAuthorizationPolicyProvider.cs (3)
38
if (
_cachedDefaultPolicy
== null ||
_cachedDefaultPolicy
.Result != _options.DefaultPolicy)
43
return
_cachedDefaultPolicy
;