CompilationUnitManager.Compilation.SemanticDiagnostics Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains a dictionary that maps the ID of a file included in the compilation to all semantic diagnostics generated during compilation for the specified implementations.
public System.Collections.Immutable.ImmutableDictionary<string,System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.LanguageServer.Protocol.Diagnostic>> SemanticDiagnostics { get; }
member this.SemanticDiagnostics : System.Collections.Immutable.ImmutableDictionary<string, System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.LanguageServer.Protocol.Diagnostic>>
Public ReadOnly Property SemanticDiagnostics As ImmutableDictionary(Of String, ImmutableArray(Of Diagnostic))