27 references to DiagnosticTag
Microsoft.CodeAnalysis.LanguageServer.Protocol (27)
Extensions\ProtocolConversions.Diagnostics.cs (6)
56
diagnostic.Tags = diagnostic.Tags.Append(
DiagnosticTag
.Unnecessary);
71
additionalDiagnostic.Tags = [
DiagnosticTag
.Unnecessary, VSDiagnosticTags.HiddenInEditor, VSDiagnosticTags.HiddenInErrorList, VSDiagnosticTags.SuppressEditorToolTip];
79
diagnostic.Tags = diagnostic.Tags != null ? diagnostic.Tags.Append(
DiagnosticTag
.Unnecessary) : [
DiagnosticTag
.Unnecessary];
227
private static
DiagnosticTag
[] ConvertTags(DiagnosticData diagnosticData, bool isLiveSource, bool potentialDuplicate)
229
using var _ = ArrayBuilder<
DiagnosticTag
>.GetInstance(out var result);
Protocol\Diagnostic.cs (1)
94
public
DiagnosticTag
[]? Tags
Protocol\DiagnosticTagSupport.cs (1)
22
public
DiagnosticTag
[] ValueSet { get; set; }
Protocol\Extensions\VSDiagnosticTags.cs (19)
8
/// Additional <see cref="
DiagnosticTag
"/> values that are specific to Visual Studio.
15
public const
DiagnosticTag
BuildError = (
DiagnosticTag
)(int.MaxValue - 1);
20
public const
DiagnosticTag
IntellisenseError = (
DiagnosticTag
)(int.MaxValue - 2);
30
public const
DiagnosticTag
PotentialDuplicate = (
DiagnosticTag
)(int.MaxValue - 3);
35
public const
DiagnosticTag
HiddenInErrorList = (
DiagnosticTag
)(int.MaxValue - 4);
40
public const
DiagnosticTag
VisibleInErrorList = (
DiagnosticTag
)(int.MaxValue - 5);
45
public const
DiagnosticTag
HiddenInEditor = (
DiagnosticTag
)(int.MaxValue - 6);
50
public const
DiagnosticTag
SuppressEditorToolTip = (
DiagnosticTag
)(int.MaxValue - 7);
56
public const
DiagnosticTag
EditAndContinueError = (
DiagnosticTag
)(int.MaxValue - 8);
61
public const
DiagnosticTag
TaskItem = (
DiagnosticTag
)(int.MaxValue - 9);