4 references to ReportOverriddenAuthorizeAttributeDiagnosticsIfAny
Microsoft.AspNetCore.App.Analyzers (4)
Mvc\DetectOverriddenAuthorizeAttribute.cs (4)
40
ReportOverriddenAuthorizeAttributeDiagnosticsIfAny
(context, authorizeAttributes, currentClass.Name);
74
ReportOverriddenAuthorizeAttributeDiagnosticsIfAny
(context, authorizeAttributes, currentMethod.ContainingType.Name, currentMethod.Name);
88
ReportOverriddenAuthorizeAttributeDiagnosticsIfAny
(context, authorizeAttributes, allowAnonClass);
102
ReportOverriddenAuthorizeAttributeDiagnosticsIfAny
(context, authorizeAttributes.Where(a => a.IsTargetingMethod), currentClass.Name);