3 references to RuleForDelegates
Microsoft.CodeAnalysis.NetAnalyzers (3)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\UseGenericEventHandlerInstances.cs (3)
61
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(
RuleForDelegates
, RuleForEvents, RuleForEvents2);
91
if (symbolContext.Options.MatchesConfiguredVisibility(
RuleForDelegates
, namedType, symbolContext.Compilation) &&
96
symbolContext.ReportDiagnostic(namedType.CreateDiagnostic(
RuleForDelegates
, namedType.Name));