3 implementations of GetId
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Handler\Diagnostics\DiagnosticSourceProviders\DiagnosticSourceManager.cs (1)
146
public ProjectOrDocumentId
GetId
() => sources[0].GetId();
Handler\Diagnostics\DiagnosticSources\AbstractDocumentDiagnosticSource.cs (1)
24
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)
153
seenDiagnosticSourceIds.Add(diagnosticSource.
GetId
());
161
diagnosticSource.
GetId
(),
180
var previousParams = documentIdToPreviousDiagnosticParams[diagnosticSource.
GetId
()];
Handler\Diagnostics\DiagnosticSourceProviders\DiagnosticSourceManager.cs (2)
118
sources = [.. sources.GroupBy(s => (s.
GetId
(), s.IsLiveSource()), s => s).SelectMany(g => AggregatedDocumentDiagnosticSource.AggregateIfNeeded(g))];
146
public ProjectOrDocumentId GetId() => sources[0].
GetId
();