6 overrides of Id
Microsoft.CodeAnalysis (5)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
284 references to Id
AnalyzerRunner (3)
BuildActionTelemetryTable (1)
ILLink.CodeFixProvider (4)
Microsoft.Analyzers.Extra.Tests (4)
Microsoft.Analyzers.Local.Tests (5)
Microsoft.AspNetCore.Analyzer.Testing (4)
Microsoft.AspNetCore.App.Analyzers.Test (2)
Microsoft.AspNetCore.App.CodeFixes (1)
Microsoft.AspNetCore.Components.Analyzers.Tests (5)
Microsoft.AspNetCore.Components.SdkAnalyzers.Tests (5)
Microsoft.AspNetCore.Http.Extensions.Tests (9)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (3)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (2)
Microsoft.CodeAnalysis (32)
Microsoft.CodeAnalysis.CodeStyle (2)
Microsoft.CodeAnalysis.CodeStyle.Fixes (6)
src\Analyzers\Core\CodeFixes\AddExplicitCast\AbstractAddExplicitCastCodeFixProvider.cs (2)
81document, semanticModel, root, diagnostic.Id, spanNode, cancellationToken);
230document, semanticModel, root, diagnostics[0].Id, spanNode, cancellationToken);
Microsoft.CodeAnalysis.CSharp (1)
Compilation\CSharpDiagnosticFilter.cs (1)
99d.Id,
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (6)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (31)
Semantics\ExperimentalAttributeTests.cs (18)
64Assert.Equal("DiagID1", diag.Id);
120Assert.Equal("DiagID1", diag.Id);
185Assert.Equal("DiagID1", diag.Id);
294Assert.Equal("DiagID1", diag.Id);
442Assert.Equal("DiagID1", diag.Id);
512Assert.Equal("DiagModule", diag.Id);
1071Assert.Equal("DiagID1", diag.Id);
1100Assert.Equal("DiagID1", diag.Id);
1131Assert.Equal("DiagID1", diag.Id);
1162Assert.Equal("DiagID1", diag.Id);
1193Assert.Equal("DiagID1", diag.Id);
1812Assert.Equal("DiagID", diag.Id);
1853Assert.Equal("DiagID", diag.Id);
1894Assert.Equal("DiagID", diag.Id);
1920Assert.Equal("DiagID1", diag.Id);
1946Assert.Equal("DiagID1", diag.Id);
1977Assert.Equal("DiagID1", diag.Id);
2003Assert.Equal("DiagID1", diag.Id);
Microsoft.CodeAnalysis.CSharp.Features (10)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Microsoft.CodeAnalysis.Features (25)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.PragmaBatchFixHelpers.cs (1)
72id: diagnostic.Id,
src\Analyzers\Core\CodeFixes\AddExplicitCast\AbstractAddExplicitCastCodeFixProvider.cs (2)
81document, semanticModel, root, diagnostic.Id, spanNode, cancellationToken);
230document, semanticModel, root, diagnostics[0].Id, spanNode, cancellationToken);
Microsoft.CodeAnalysis.LanguageServer.Protocol (6)
Microsoft.CodeAnalysis.Test.Utilities (8)
Microsoft.CodeAnalysis.VisualBasic (1)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (2)
Microsoft.CodeAnalysis.VisualBasic.Features (2)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (1)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (5)
Microsoft.CodeAnalysis.Workspaces (13)
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
Microsoft.Gen.ComplianceReports.Unit.Tests (5)
Microsoft.Gen.ContextualOptions.Unit.Tests (4)
Microsoft.Gen.Logging.Unit.Tests (14)
Microsoft.Gen.Metrics.Unit.Tests (34)
ParserTests.cs (19)
30Assert.Equal(DiagDescriptors.ErrorInvalidMethodName.Id, d[0].Id);
46Assert.Equal(DiagDescriptors.ErrorInvalidMethodReturnTypeLocation.Id, d[0].Id);
62Assert.Equal(DiagDescriptors.ErrorInvalidMethodReturnTypeArity.Id, d[0].Id);
83Assert.Equal(DiagDescriptors.ErrorInvalidMethodReturnType.Id, d[0].Id);
110Assert.Equal(DiagDescriptors.ErrorInvalidAttributeGenericType.Id, d[0].Id);
124Assert.Equal(DiagDescriptors.ErrorInvalidTagNames.Id, d[0].Id);
138Assert.Equal(DiagDescriptors.ErrorInvalidTagNames.Id, d[0].Id);
178Assert.Equal(DiagDescriptors.ErrorNotPartialMethod.Id, d[0].Id);
192Assert.Equal(DiagDescriptors.ErrorNotStaticMethod.Id, d[0].Id);
206Assert.Equal(DiagDescriptors.ErrorInvalidMetricName.Id, d[0].Id);
220Assert.Equal(DiagDescriptors.ErrorInvalidMetricName.Id, d[0].Id);
234Assert.Equal(DiagDescriptors.ErrorMethodIsGeneric.Id, d[0].Id);
248Assert.Equal(DiagDescriptors.ErrorInvalidParameterName.Id, d[0].Id);
357Assert.Equal(DiagDescriptors.ErrorMetricNameReuse.Id, d[0].Id);
405Assert.Equal(DiagDescriptors.ErrorMissingMeter.Id, diag.Id);
419Assert.Equal(DiagDescriptors.ErrorMissingMeter.Id, diag.Id);
434Assert.Equal(DiagDescriptors.ErrorMethodHasBody.Id, d[0].Id);
616Assert.Equal(DiagDescriptors.ErrorGaugeNotSupported.Id, d[0].Id);
699Assert.Equal(DiagDescriptors.ErrorXmlNotLoadedCorrectly.Id, d[0].Id);
ParserTests.Diagnostics.cs (11)
34Assert.Equal(DiagDescriptors.ErrorTagTypeCycleDetected.Id, diag.Id);
64Assert.Equal(DiagDescriptors.ErrorTagTypeCycleDetected.Id, diag.Id);
95Assert.Equal(DiagDescriptors.ErrorTagTypeCycleDetected.Id, diag.Id);
125Assert.Equal(DiagDescriptors.ErrorGaugeNotSupported.Id, d[0].Id);
191Assert.Equal(DiagDescriptors.ErrorGaugeNotSupported.Id, d[0].Id);
216Assert.Equal(DiagDescriptors.ErrorDuplicateTagName.Id, d[0].Id);
243Assert.Equal(DiagDescriptors.ErrorDuplicateTagName.Id, d[0].Id);
274Assert.Equal(DiagDescriptors.ErrorDuplicateTagName.Id, d[0].Id);
305Assert.Equal(DiagDescriptors.ErrorDuplicateTagName.Id, d[0].Id);
359Assert.Equal(DiagDescriptors.ErrorInvalidTagNameType.Id, d[0].Id);
385Assert.Equal(DiagDescriptors.ErrorTooManyTagNames.Id, d[0].Id);
Microsoft.Gen.MetricsReports.Unit.Tests (4)
Microsoft.Interop.LibraryImportGenerator (2)
Microsoft.ML.InternalCodeAnalyzer (2)
Microsoft.VisualStudio.LanguageServices (1)
Mvc.Api.Analyzers.Test (7)