1 type derived from Diagnostic
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Protocol\Extensions\VSDiagnostic.cs (1)
12
internal 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
"/>
29
public static ImmutableArray<LSP.
Diagnostic
> ConvertDiagnostic(DiagnosticData diagnosticData, bool supportsVisualStudioExtensions, Project project, bool isLiveSource, bool potentialDuplicate, IGlobalOptionService globalOptionService)
64
using var _ = ArrayBuilder<LSP.
Diagnostic
>.GetInstance(out var diagnosticsBuilder);
Handler\CodeActions\CodeActionHelpers.cs (5)
137
LSP.
Diagnostic
[]? diagnosticsForFix,
173
LSP.
Diagnostic
[]? diagnosticsForFix,
275
private static LSP.
Diagnostic
[]? GetApplicableDiagnostics(CodeActionContext context, IUnifiedSuggestedAction action)
282
using var _ = ArrayBuilder<LSP.
Diagnostic
>.GetInstance(out var diagnosticsBuilder);
283
foreach (
var
requestDiagnostic in context.Diagnostics)
Handler\Diagnostics\AbstractPullDiagnosticHandler.cs (3)
78
protected abstract TReport CreateReport(TextDocumentIdentifier identifier, LSP.
Diagnostic
[] diagnostics, string resultId);
281
using var _ = ArrayBuilder<LSP.
Diagnostic
>.GetInstance(out var result);
314
private ImmutableArray<LSP.
Diagnostic
> ConvertDiagnostic(IDiagnosticSource diagnosticSource, DiagnosticData diagnosticData, ClientCapabilities capabilities)
Handler\Diagnostics\DocumentPullDiagnosticHandler.cs (1)
32
protected override VSInternalDiagnosticReport[] CreateReport(TextDocumentIdentifier identifier, Roslyn.LanguageServer.Protocol.
Diagnostic
[]? diagnostics, string? resultId)
Handler\Diagnostics\Public\PublicDocumentPullDiagnosticsHandler.cs (1)
42
protected override DocumentDiagnosticPartialReport CreateReport(TextDocumentIdentifier identifier, Roslyn.LanguageServer.Protocol.
Diagnostic
[] diagnostics, string resultId)
Handler\Diagnostics\Public\PublicWorkspacePullDiagnosticsHandler.cs (1)
39
protected override WorkspaceDiagnosticPartialReport CreateReport(TextDocumentIdentifier identifier, Roslyn.LanguageServer.Protocol.
Diagnostic
[] diagnostics, string resultId)
Handler\Diagnostics\WorkspacePullDiagnosticHandler.cs (1)
34
protected override VSInternalWorkspaceDiagnosticReport[] CreateReport(TextDocumentIdentifier identifier, Roslyn.LanguageServer.Protocol.
Diagnostic
[]? diagnostics, string? resultId)
Protocol\CodeAction.cs (1)
46
public
Diagnostic
[]? Diagnostics
Protocol\CodeActionContext.cs (1)
29
public
Diagnostic
[] Diagnostics
Protocol\CodeDescription.cs (1)
11
/// Class representing a description for an error code in a <see cref="
Diagnostic
"/>.
Protocol\Diagnostic.cs (7)
17
internal class Diagnostic : IEquatable<
Diagnostic
>
119
public static bool operator ==(
Diagnostic
? value1,
Diagnostic
? value2)
135
public static bool operator !=(
Diagnostic
? value1,
Diagnostic
? value2)
141
public bool Equals(
Diagnostic
other)
161
if (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
"/>.
34
TryAddConverter<
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)
44
public
Diagnostic
[] Items
Protocol\Internal\Diagnostics\VSInternalDiagnosticReport.cs (2)
35
public
Diagnostic
[]? Diagnostics { get; set; }
41
/// <see cref="
Diagnostic
" /> entries tagged with <see cref="VSDiagnosticTags.PotentialDuplicate" /> will
Protocol\PublishDiagnosticParams.cs (1)
40
public
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