6 references to DeclarePublicApiRuleId
Microsoft.CodeAnalysis.PublicApiAnalyzers (1)
DeclarePublicApiAnalyzer_Diagnostics.cs (1)
40
id: DiagnosticIds.
DeclarePublicApiRuleId
,
Microsoft.CodeAnalysis.PublicApiAnalyzers.CodeFixes (2)
DeclarePublicApiFix.cs (2)
29
public sealed override ImmutableArray<string> FixableDiagnosticIds { get; } = ImmutableArray.Create(DiagnosticIds.
DeclarePublicApiRuleId
, DiagnosticIds.DeclareInternalApiRuleId);
42
bool isPublic = diagnostic.Id == DiagnosticIds.
DeclarePublicApiRuleId
;
Microsoft.CodeAnalysis.PublicApiAnalyzers.UnitTests (3)
AnnotatePublicApiAnalyzerTestsInternal.cs (1)
22
RoslynDiagnosticIds.
DeclarePublicApiRuleId
,
DeclarePublicAPIAnalyzerTestsInternal.cs (1)
36
RoslynDiagnosticIds.
DeclarePublicApiRuleId
,
DeclarePublicAPIAnalyzerTestsPublic.cs (1)
20
protected override string AddNewApiId => RoslynDiagnosticIds.
DeclarePublicApiRuleId
;