6 overrides of Id
Microsoft.CodeAnalysis (5)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
297 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 (44)
Semantics\ExperimentalAttributeTests.cs (31)
66Assert.Equal("DiagID1", diag.Id);
122Assert.Equal("DiagID1", diag.Id);
187Assert.Equal("DiagID1", diag.Id);
296Assert.Equal("DiagID1", diag.Id);
444Assert.Equal("DiagID1", diag.Id);
514Assert.Equal("DiagModule", diag.Id);
1073Assert.Equal("DiagID1", diag.Id);
1102Assert.Equal("DiagID1", diag.Id);
1133Assert.Equal("DiagID1", diag.Id);
1164Assert.Equal("DiagID1", diag.Id);
1195Assert.Equal("DiagID1", diag.Id);
1814Assert.Equal("DiagID", diag.Id);
1855Assert.Equal("DiagID", diag.Id);
1935Assert.Equal("DiagID", diag.Id);
1976Assert.Equal("DiagID", diag.Id);
2056Assert.Equal("DiagID", diag.Id);
2121Assert.Equal("DiagID1", diag.Id);
2147Assert.Equal("DiagID1", diag.Id);
2173Assert.Equal("DiagID1", diag.Id);
2199Assert.Equal("DiagID1", diag.Id);
2225Assert.Equal("DiagID1", diag.Id);
2251Assert.Equal("DiagID1", diag.Id);
2277Assert.Equal("DiagID1", diag.Id);
2303Assert.Equal("DiagID1", diag.Id);
2329Assert.Equal("DiagID1", diag.Id);
2360Assert.Equal("DiagID1", diag.Id);
2391Assert.Equal("DiagID1", diag.Id);
2417Assert.Equal("DiagID1", diag.Id);
2443Assert.Equal("DiagID1", diag.Id);
2468Assert.Equal("DiagID1", diag.Id);
2493Assert.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)