1 write to Id
Microsoft.CodeAnalysis.Workspaces (1)
121 references to Id
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Microsoft.CodeAnalysis.EditorFeatures (5)
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (2)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (15)
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (41)
Diagnostics\DiagnosticServiceTests.vb (38)
286Assert.Equal(workspaceDiagnosticAnalyzer.DiagDescriptor.Id, diagnostics(0).Id)
305Assert.Equal(workspaceDiagnosticAnalyzer.DiagDescriptor.Id, diagnostics(0).Id)
352Assert.Equal("XX0001", diagnostics1.Single().Id)
357Assert.Equal("XX0002", diagnostics2.Single().Id)
441Select(Function(d) d.Id = WorkspaceDiagnosticAnalyzer.Descriptor.Id)
539Assert.True(diagnostic.Id = "AD0001")
569Assert.Equal(expected.Id, diagnostics.First().Id)
605Assert.True(diagnostics(0).Id = "IDE1100")
640Assert.Equal(OperationAnalyzer.Descriptor.Id, diagnostic.Id)
678Assert.Equal(CodeBlockEndedAnalyzer.Descriptor.Id, diagnostic.Id)
713Assert.Equal(CodeBlockEndedAnalyzer.Descriptor.Id, diagnostic.Id)
791Assert.Equal(CodeBlockEndedAnalyzer.Descriptor.Id, diagnostic.Id)
841Assert.Equal(CompilationEndedAnalyzer.Descriptor.Id, noLocationDiagnostic.Id)
845Assert.Equal(CompilationEndedAnalyzer.Descriptor.Id, withDocumentLocationDiagnostic.Id)
981Select(Function(d) d.Id = NamedTypeAnalyzer.DiagDescriptor.Id)
1022Assert.Equal(PartialTypeDiagnosticAnalyzer.DiagDescriptor.Id, diagnostics.Single().Id)
1079Assert.Equal(PartialTypeDiagnosticAnalyzer.DiagDescriptor.Id, diagnostic.Id)
1130Assert.Equal(3, diagnostics.Where(Function(d) d.Id = CodeBlockOrSyntaxNodeAnalyzer.Descriptor1.Id).Count)
1131Assert.Equal(1, diagnostics.Where(Function(d) d.Id = CodeBlockOrSyntaxNodeAnalyzer.Descriptor4.Id).Count)
1132Assert.Equal(1, diagnostics.Where(Function(d) d.Id = CodeBlockOrSyntaxNodeAnalyzer.Descriptor5.Id).Count)
1133Assert.Equal(1, diagnostics.Where(Function(d) d.Id = CodeBlockOrSyntaxNodeAnalyzer.Descriptor6.Id).Count)
1175Assert.Equal(1, diagnostics.Where(Function(d) d.Id = CodeBlockOrSyntaxNodeAnalyzer.Descriptor4.Id).Count)
1176Assert.Equal(1, diagnostics.Where(Function(d) d.Id = CodeBlockOrSyntaxNodeAnalyzer.Descriptor5.Id).Count)
1177Assert.Equal(1, diagnostics.Where(Function(d) d.Id = CodeBlockOrSyntaxNodeAnalyzer.Descriptor6.Id).Count)
1222Assert.True(diagnostics.All(Function(d) d.Id = MethodSymbolAnalyzer.Descriptor.Id))
1271Assert.Equal(1, diagnostics.Where(Function(d) d.Id = MustOverrideMethodAnalyzer.Descriptor1.Id).Count)
1338Assert.Equal(4, diagnostics.Where(Function(d) d.Id = FieldDeclarationAnalyzer.Descriptor1.Id).Count)
1468Assert.Equal(CompilationAnalyzerWithAnalyzerOptions.Descriptor.Id, diagnostics(0).Id)
2008Dim diagnostic = diagnostics.Single(Function(d) d.Id = CodeBlockActionAnalyzer.CodeBlockTopLevelRule.Id)
2011Dim stateFullDiagnostics = diagnostics.Where(Function(d) d.Id = CodeBlockActionAnalyzer.CodeBlockPerCompilationRule.Id)
2067Dim diagnostic = diagnostics.Single(Function(d) d.Id = expectedId)
2188Assert.Equal(analyzer.Descriptor.Id, hiddenDiagnostics.Single().Id)
2231Assert.Equal("CS0219", diagnostic.Id)
2400Dim actualDiagnosticIds = diagnostics.Select(Function(d) d.Id).ToHashSet()
2447Assert.Equal("CS0219", diagnostic.Id)
2452Assert.Equal("CS1513", diagnostic.Id)
2457Assert.Equal("ID0001", diagnostic.Id)
2462Assert.Equal("ID0002", diagnostic.Id)
Microsoft.CodeAnalysis.Features (3)
ExternalAccess\VSTypeScript\Api\VSTypeScriptDiagnosticData.cs (1)
30=> _data.Id;
Microsoft.CodeAnalysis.LanguageServer.Protocol (10)
Microsoft.CodeAnalysis.Workspaces (7)
Diagnostics\DiagnosticData.cs (7)
125=> new(Id, Category, Message, Severity, DefaultSeverity, IsEnabledByDefault,
149Id == other.Id &&
162Hash.Combine(Id,
172=> $"{Id} {Severity} {Message} {ProjectId} {DataLocation.MappedFileSpan} [original: {DataLocation.UnmappedFileSpan}]";
185Id, Category, Message, Severity, DefaultSeverity,
374=> CustomTags.Contains(WellKnownDiagnosticCustomTags.DoesNotSupportF1Help) ? null : Id;
Microsoft.VisualStudio.LanguageServices (18)
Microsoft.VisualStudio.LanguageServices.UnitTests (12)
Roslyn.VisualStudio.Next.UnitTests (5)