ProjectManager.GetProjectDiagnostics(Uri) Method

Definition

Returns a copy of the current diagnostics generated upon loading.

public System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.LanguageServer.Protocol.Diagnostic>? GetProjectDiagnostics (Uri projectId);
member this.GetProjectDiagnostics : Uri -> seq<Microsoft.VisualStudio.LanguageServer.Protocol.Diagnostic>
Public Function GetProjectDiagnostics (projectId As Uri) As IEnumerable(Of Diagnostic)

Parameters

projectId
Uri

Returns

IEnumerable<Diagnostic>

Remarks

This method waits for all currently running or queued tasks to finish before getting the project loading diagnostics.

Applies to