1 type derived from Diagnostic
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Protocol\Extensions\VSDiagnostic.cs (1)
12internal class VSDiagnostic : Diagnostic
48 references to Diagnostic
Microsoft.CodeAnalysis.LanguageServer.Protocol (48)
Extensions\ProtocolConversions.Diagnostics.cs (3)
21/// Converts from <see cref="DiagnosticData"/> to <see cref="LSP.Diagnostic"/> 29public static ImmutableArray<LSP.Diagnostic> ConvertDiagnostic(DiagnosticData diagnosticData, bool supportsVisualStudioExtensions, Project project, bool isLiveSource, bool potentialDuplicate, IGlobalOptionService globalOptionService) 64using var _ = ArrayBuilder<LSP.Diagnostic>.GetInstance(out var diagnosticsBuilder);
Handler\CodeActions\CodeActionHelpers.cs (5)
137LSP.Diagnostic[]? diagnosticsForFix, 173LSP.Diagnostic[]? diagnosticsForFix, 275private static LSP.Diagnostic[]? GetApplicableDiagnostics(CodeActionContext context, IUnifiedSuggestedAction action) 282using var _ = ArrayBuilder<LSP.Diagnostic>.GetInstance(out var diagnosticsBuilder); 283foreach (var requestDiagnostic in context.Diagnostics)
Handler\Diagnostics\AbstractPullDiagnosticHandler.cs (3)
78protected abstract TReport CreateReport(TextDocumentIdentifier identifier, LSP.Diagnostic[] diagnostics, string resultId); 281using var _ = ArrayBuilder<LSP.Diagnostic>.GetInstance(out var result); 314private ImmutableArray<LSP.Diagnostic> ConvertDiagnostic(IDiagnosticSource diagnosticSource, DiagnosticData diagnosticData, ClientCapabilities capabilities)
Handler\Diagnostics\DocumentPullDiagnosticHandler.cs (1)
32protected override VSInternalDiagnosticReport[] CreateReport(TextDocumentIdentifier identifier, Roslyn.LanguageServer.Protocol.Diagnostic[]? diagnostics, string? resultId)
Handler\Diagnostics\Public\PublicDocumentPullDiagnosticsHandler.cs (1)
42protected override DocumentDiagnosticPartialReport CreateReport(TextDocumentIdentifier identifier, Roslyn.LanguageServer.Protocol.Diagnostic[] diagnostics, string resultId)
Handler\Diagnostics\Public\PublicWorkspacePullDiagnosticsHandler.cs (1)
39protected override WorkspaceDiagnosticPartialReport CreateReport(TextDocumentIdentifier identifier, Roslyn.LanguageServer.Protocol.Diagnostic[] diagnostics, string resultId)
Handler\Diagnostics\WorkspacePullDiagnosticHandler.cs (1)
34protected override VSInternalWorkspaceDiagnosticReport[] CreateReport(TextDocumentIdentifier identifier, Roslyn.LanguageServer.Protocol.Diagnostic[]? diagnostics, string? resultId)
Protocol\CodeAction.cs (1)
46public Diagnostic[]? Diagnostics
Protocol\CodeActionContext.cs (1)
29public Diagnostic[] Diagnostics
Protocol\CodeDescription.cs (1)
11/// Class representing a description for an error code in a <see cref="Diagnostic"/>.
Protocol\Diagnostic.cs (7)
17internal class Diagnostic : IEquatable<Diagnostic> 119public static bool operator ==(Diagnostic? value1, Diagnostic? value2) 135public static bool operator !=(Diagnostic? value1, Diagnostic? value2) 141public bool Equals(Diagnostic other) 161if (obj is Diagnostic other)
Protocol\DiagnosticTagSupport.cs (1)
10/// Represent the client's support for the <see cref="Diagnostic.Tags"/> property to provide metadata about a diagnostic.
Protocol\Extensions\Converters\VSExtensionUtilities.cs (2)
22/// is defined as an array of <see cref="Diagnostic"/>. 34TryAddConverter<Diagnostic, VSDiagnostic>();
Protocol\Extensions\VSDiagnostic.cs (2)
10/// <see cref="VSDiagnostic"/> extends <see cref="Diagnostic"/> providing additional properties used by Visual Studio. 29/// Gets or sets a message shown when the user hovers over an error. If <see langword="null" />, then <see cref="Diagnostic.Message"/>
Protocol\Extensions\VSDiagnosticTags.cs (10)
13/// A <see cref="Diagnostic"/> entry generated by the build. 18/// A <see cref="Diagnostic"/> entry generated by Intellisense. 23/// A <see cref="Diagnostic"/> entry that could be generated from both builds 26/// <see cref="Diagnostic"/> entries tagged with <see cref="PotentialDuplicate"/> will be hidden 33/// A <see cref="Diagnostic"/> entry is never displayed in the error list. 38/// The <see cref="Diagnostic"/> entry is always displayed in the error list. 43/// The <see cref="Diagnostic"/> entry is never displayed in the editor. 48/// No tooltip is shown for the <see cref="Diagnostic"/> entry in the editor. 53/// The <see cref="Diagnostic"/> entry is represented in the Editor as an Edit 59/// A <see cref="Diagnostic"/> entry is represented in the Editor as a Task List item in the TODO list.
Protocol\FullDocumentDiagnosticReport.cs (1)
44public Diagnostic[] Items
Protocol\Internal\Diagnostics\VSInternalDiagnosticReport.cs (2)
35public Diagnostic[]? Diagnostics { get; set; } 41/// <see cref="Diagnostic" /> entries tagged with <see cref="VSDiagnosticTags.PotentialDuplicate" /> will
Protocol\PublishDiagnosticParams.cs (1)
40public Diagnostic[] Diagnostics
Protocol\PublishDiagnosticsSetting.cs (4)
18/// Whether the client supports the <see cref="Diagnostic.RelatedInformation"/> property. 23/// Client supports the <see cref="Diagnostic.Tags"/> property to provide meta data about a diagnostic. 46/// Whether the client supports the <see cref="Diagnostic.CodeDescription"/> property. 54/// Whether the client supports propagating the <see cref="Diagnostic.Data"/> property from