18 references to Id
Microsoft.CodeAnalysis.Features (10)
CodeFixes\Service\CodeFixService.cs (3)
279diagnosticList.Sort(static (d1, d2) => DiagnosticId.CompareOrdinal(d1.Id, d2.Id)); 464foreach (var diagnosticId in diagnostics.Select(d => d.Id).Distinct())
Copilot\ICopilotChangeAnalysisService.cs (1)
187IncrementCount(idToCount, diagnostic.Id);
Diagnostics\Service\DiagnosticAnalyzerService_GetDiagnosticsForSpan.cs (1)
273return diagnosticIdFilter.Allow(diagnostic.Id);
Diagnostics\Service\DiagnosticAnalyzerService_ProduceProjectDiagnostics.cs (1)
155=> diagnosticIds == null || diagnosticIds.Contains(diagnostic.Id);
EditAndContinue\EmitSolutionUpdateResults.cs (2)
52DiagnosticSeverity.Error => EditAndContinueDiagnosticDescriptors.IsEncDiagnostic(diagnostic.Id) ? ManagedHotReloadDiagnosticSeverity.RestartRequired : ManagedHotReloadDiagnosticSeverity.Error, 71SyntaxError.Id,
EditAndContinue\Utilities\Extensions.cs (1)
169data.Id,
ExternalAccess\VSTypeScript\Api\VSTypeScriptDiagnosticData.cs (1)
29=> _data.Id;
Microsoft.CodeAnalysis.Workspaces (8)
Diagnostics\DiagnosticData.cs (8)
102=> new(Id, Category, Message, Severity, DefaultSeverity, IsEnabledByDefault, 107=> new(Id, Category, Message, Severity, DefaultSeverity, IsEnabledByDefault, 131Id == other.Id && 144Hash.Combine(Id, 154=> $"{Id} {Severity} {Message} {ProjectId} {DataLocation.MappedFileSpan} [original: {DataLocation.UnmappedFileSpan}]"; 167Id, Category, Message, Severity, DefaultSeverity, 394=> CustomTags.Contains(WellKnownDiagnosticCustomTags.DoesNotSupportF1Help) ? null : Id;