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