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