78 references to DiagnosticIds
Microsoft.CodeAnalysis.Analyzers (78)
FixAnalyzers\FixerWithFixAllAnalyzer.cs (3)
38DiagnosticIds.CreateCodeActionWithEquivalenceKeyRuleId, 48DiagnosticIds.OverrideCodeActionEquivalenceKeyRuleId, 58DiagnosticIds.OverrideGetFixAllProviderRuleId,
FixAnalyzers\FixerWithFixAllAnalyzer.Fixer.cs (1)
28public sealed override ImmutableArray<string> FixableDiagnosticIds { get; } = ImmutableArray.Create(DiagnosticIds.OverrideGetFixAllProviderRuleId);
ImmutableObjectMethodAnalyzer.cs (1)
24DiagnosticIds.DoNotIgnoreReturnValueOnImmutableObjectMethodInvocation,
ImplementationIsObsoleteAnalyzer.cs (1)
23DiagnosticIds.ImplementationIsObsoleteRuleId,
InternalImplementationOnlyAnalyzer.cs (1)
26DiagnosticIds.InternalImplementationOnlyRuleId,
MetaAnalyzers\ClassIsNotDiagnosticAnalyzer.cs (1)
21DiagnosticIds.TypeIsNotDiagnosticAnalyzerRuleId,
MetaAnalyzers\CompareSymbolsCorrectlyAnalyzer.cs (3)
41DiagnosticIds.CompareSymbolsCorrectlyRuleId, 51DiagnosticIds.CompareSymbolsCorrectlyRuleId, 61DiagnosticIds.CompareSymbolsCorrectlyRuleId,
MetaAnalyzers\CompilerExtensionStrictApiAnalyzer.cs (3)
28DiagnosticIds.DoNotRegisterCompilerTypesWithBadAssemblyReferenceRuleId, 39DiagnosticIds.DoNotRegisterCompilerTypesWithBadAssemblyReferenceRuleId, 50DiagnosticIds.DoNotRegisterCompilerTypesWithBadAssemblyReferenceRuleId,
MetaAnalyzers\CompilerExtensionTargetFrameworkAnalyzer.cs (1)
26DiagnosticIds.DoNotRegisterCompilerTypesWithBadTargetFrameworkRuleId,
MetaAnalyzers\ConfigureGeneratedCodeAnalysisAnalyzer.cs (1)
23DiagnosticIds.ConfigureGeneratedCodeAnalysisRuleId,
MetaAnalyzers\DiagnosticAnalyzerAPIUsageAnalyzer.cs (2)
39DiagnosticIds.DoNotUseTypesFromAssemblyRuleId, 50DiagnosticIds.DoNotUseTypesFromAssemblyRuleId,
MetaAnalyzers\DiagnosticAnalyzerAttributeAnalyzer.cs (2)
23DiagnosticIds.MissingDiagnosticAnalyzerAttributeRuleId, 33DiagnosticIds.AddLanguageSupportToAnalyzerRuleId,
MetaAnalyzers\DiagnosticAnalyzerFieldsAnalyzer.cs (1)
39DiagnosticIds.DoNotStorePerCompilationDataOntoFieldsRuleId,
MetaAnalyzers\DiagnosticDescriptorCreationAnalyzer.cs (13)
78DiagnosticIds.UseLocalizableStringsInDescriptorRuleId, 88DiagnosticIds.ProvideHelpUriInDescriptorRuleId, 98DiagnosticIds.DiagnosticIdMustBeAConstantRuleId, 108DiagnosticIds.UseUniqueDiagnosticIdRuleId, 118DiagnosticIds.ProvideCustomTagsInDescriptorRuleId, 128DiagnosticIds.DoNotUseReservedDiagnosticIdRuleId, 138DiagnosticIds.DefineDiagnosticTitleCorrectlyRuleId, 147DiagnosticIds.DefineDiagnosticMessageCorrectlyRuleId, 156DiagnosticIds.DefineDiagnosticDescriptionCorrectlyRuleId, 165DiagnosticIds.AddCompilationEndCustomTagRuleId, 691Debug.Assert(diagnostic.Id is DiagnosticIds.DefineDiagnosticTitleCorrectlyRuleId or 692DiagnosticIds.DefineDiagnosticMessageCorrectlyRuleId or 693DiagnosticIds.DefineDiagnosticDescriptionCorrectlyRuleId);
MetaAnalyzers\DiagnosticDescriptorCreationAnalyzer_IdRangeAndCategoryValidation.cs (3)
35DiagnosticIds.DiagnosticIdMustBeInSpecifiedFormatRuleId, 45DiagnosticIds.UseCategoriesFromSpecifiedRangeRuleId, 55DiagnosticIds.AnalyzerCategoryAndIdRangeFileInvalidRuleId,
MetaAnalyzers\DiagnosticDescriptorCreationAnalyzer_ReleaseTracking.cs (12)
32id: DiagnosticIds.DeclareDiagnosticIdInAnalyzerReleaseRuleId, 43id: DiagnosticIds.UpdateDiagnosticIdInAnalyzerReleaseRuleId, 54id: DiagnosticIds.RemoveUnshippedDeletedDiagnosticIdRuleId, 65id: DiagnosticIds.RemoveShippedDeletedDiagnosticIdRuleId, 76id: DiagnosticIds.UnexpectedAnalyzerDiagnosticForRemovedDiagnosticIdRuleId, 87id: DiagnosticIds.RemoveDuplicateEntriesForAnalyzerReleaseRuleId, 98id: DiagnosticIds.RemoveDuplicateEntriesBetweenAnalyzerReleasesRuleId, 109id: DiagnosticIds.InvalidEntryInAnalyzerReleasesFileRuleId, 120id: DiagnosticIds.InvalidEntryInAnalyzerReleasesFileRuleId, 131id: DiagnosticIds.InvalidEntryInAnalyzerReleasesFileRuleId, 142id: DiagnosticIds.InvalidEntryInAnalyzerReleasesFileRuleId, 153id: DiagnosticIds.EnableAnalyzerReleaseTrackingRuleId,
MetaAnalyzers\DoNotUseCompilationGetSemanticModelAnalyzer.cs (1)
23DiagnosticIds.DoNotUseCompilationGetSemanticModelRuleId,
MetaAnalyzers\DoNotUseFileTypesForAnalyzersOrGenerators.cs (1)
18DiagnosticIds.DoNotUseFileTypesForAnalyzersOrGenerators,
MetaAnalyzers\EnableConcurrentExecutionAnalyzer.cs (1)
23DiagnosticIds.EnableConcurrentExecutionRuleId,
MetaAnalyzers\Fixers\AnalyzerReleaseTrackingFix.cs (6)
42ImmutableArray.Create(DiagnosticIds.DeclareDiagnosticIdInAnalyzerReleaseRuleId, DiagnosticIds.UpdateDiagnosticIdInAnalyzerReleaseRuleId, DiagnosticIds.EnableAnalyzerReleaseTrackingRuleId); 54case DiagnosticIds.DeclareDiagnosticIdInAnalyzerReleaseRuleId: 65case DiagnosticIds.UpdateDiagnosticIdInAnalyzerReleaseRuleId: 83case DiagnosticIds.EnableAnalyzerReleaseTrackingRuleId:
MetaAnalyzers\Fixers\ApplyDiagnosticAnalyzerAttributeFix.cs (1)
17public sealed override ImmutableArray<string> FixableDiagnosticIds { get; } = ImmutableArray.Create(DiagnosticIds.MissingDiagnosticAnalyzerAttributeRuleId);
MetaAnalyzers\Fixers\CompareSymbolsCorrectlyFix.cs (1)
24ImmutableArray.Create(DiagnosticIds.CompareSymbolsCorrectlyRuleId);
MetaAnalyzers\Fixers\DefineDiagnosticDescriptorArgumentsCorrectlyFix.cs (6)
30ImmutableArray.Create(DiagnosticIds.DefineDiagnosticTitleCorrectlyRuleId, 31DiagnosticIds.DefineDiagnosticMessageCorrectlyRuleId, 32DiagnosticIds.DefineDiagnosticDescriptionCorrectlyRuleId); 57DiagnosticIds.DefineDiagnosticTitleCorrectlyRuleId => CodeAnalysisDiagnosticsResources.DefineDiagnosticTitleCorrectlyTitle, 58DiagnosticIds.DefineDiagnosticMessageCorrectlyRuleId => CodeAnalysisDiagnosticsResources.DefineDiagnosticMessageCorrectlyTitle, 59DiagnosticIds.DefineDiagnosticDescriptionCorrectlyRuleId => CodeAnalysisDiagnosticsResources.DefineDiagnosticDescriptionCorrectlyTitle,
MetaAnalyzers\PreferIsKindAnalyzer.cs (1)
23DiagnosticIds.PreferIsKindRuleId,
MetaAnalyzers\RegisterActionAnalyzer.cs (7)
37DiagnosticIds.MissingKindArgumentToRegisterActionRuleId, 47DiagnosticIds.MissingKindArgumentToRegisterActionRuleId, 57DiagnosticIds.MissingKindArgumentToRegisterActionRuleId, 67DiagnosticIds.UnsupportedSymbolKindArgumentRuleId, 76DiagnosticIds.InvalidSyntaxKindTypeArgumentRuleId, 88DiagnosticIds.StartActionWithNoRegisteredActionsRuleId, 98DiagnosticIds.StartActionWithOnlyEndActionRuleId,
MetaAnalyzers\ReportDiagnosticAnalyzer.cs (1)
28DiagnosticIds.InvalidReportDiagnosticRuleId,
MetaAnalyzers\SymbolIsBannedInAnalyzersAnalyzer.cs (2)
21id: DiagnosticIds.SymbolIsBannedInAnalyzersRuleId, 32id: DiagnosticIds.NoSettingSpecifiedSymbolIsBannedInAnalyzersRuleId,
UpgradeMSBuildWorkspaceAnalyzer.cs (1)
25DiagnosticIds.UpgradeMSBuildWorkspaceRuleId,