4 implementations of GetId
Microsoft.CodeAnalysis.ExternalAccess.Xaml (1)
Internal\XamlDiagnosticSource.cs (1)
20
ProjectOrDocumentId IDiagnosticSource.
GetId
() => new(document.Id);
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Handler\Diagnostics\DiagnosticSourceProviders\DiagnosticSourceManager.cs (1)
147
public ProjectOrDocumentId
GetId
() => sources[0].GetId();
Handler\Diagnostics\DiagnosticSources\AbstractDocumentDiagnosticSource.cs (1)
22
public ProjectOrDocumentId
GetId
() => new(Document.Id);
Handler\Diagnostics\DiagnosticSources\AbstractProjectDiagnosticSource.cs (1)
29
public ProjectOrDocumentId
GetId
() => new(Project.Id);
5 references to GetId
Microsoft.CodeAnalysis.LanguageServer.Protocol (5)
Handler\Diagnostics\AbstractPullDiagnosticHandler.cs (3)
152
seenDiagnosticSourceIds.Add(diagnosticSource.
GetId
());
160
diagnosticSource.
GetId
(),
179
var previousParams = documentIdToPreviousDiagnosticParams[diagnosticSource.
GetId
()];
Handler\Diagnostics\DiagnosticSourceProviders\DiagnosticSourceManager.cs (2)
120
sources = [.. sources.GroupBy(s => s.
GetId
(), s => s).SelectMany(g => AggregatedDocumentDiagnosticSource.AggregateIfNeeded(g))];
147
public ProjectOrDocumentId GetId() => sources[0].
GetId
();