4 references to NamespaceRule
Microsoft.CodeAnalysis.NetAnalyzers (4)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\IdentifiersShouldNotMatchKeywords.cs (4)
86
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(MemberParameterRule, MemberRule, TypeRule,
NamespaceRule
);
128
if (!GetSymbolKindsToAnalyze(context,
NamespaceRule
).Contains(SymbolKind.Namespace))
134
if (!context.Options.MatchesConfiguredVisibility(
NamespaceRule
, type, context.Compilation))
165
var diagnostic = containingNamespace.CreateDiagnostic(
NamespaceRule
, namespaceDisplayString, matchingKeyword);