Implemented interface member:
property
Value
Roslyn.LanguageServer.Protocol.ISumType.Value
2 writes to Value
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Protocol\SumType.cs (2)
36
this.
Value
= val;
45
this.
Value
= val;
12 references to Value
Microsoft.CodeAnalysis.LanguageServer.Protocol (12)
Handler\CodeActions\CodeActionHelpers.cs (1)
285
var diagnosticCode = requestDiagnostic.Code?.
Value
?.ToString();
Protocol\Internal\Efficiency\OptimizedVSCompletionListJsonConverter.cs (2)
119
if (vsCompletionItem.VsCommitCharacters?.
Value
is string[] basicCommitCharacters
131
else if (vsCompletionItem.VsCommitCharacters?.
Value
is VSInternalCommitCharacter[] augmentedCommitCharacters
Protocol\SumType.cs (9)
90
public static explicit operator T1(SumType<T1, T2> sum) => sum.
Value
is T1 tVal ? tVal : throw new InvalidCastException();
97
public static explicit operator T2(SumType<T1, T2> sum) => sum.
Value
is T2 tVal ? tVal : throw new InvalidCastException();
116
if (this.
Value
is T1 typeValue)
133
if (this.
Value
is T2 typeValue)
166
if (this.
Value
is T1 tOne)
171
if (this.
Value
is T2 tTwo)
195
return EqualityComparer<object?>.Default.Equals(this.
Value
, other.
Value
);
201
return -1937169414 + EqualityComparer<object?>.Default.GetHashCode(this.
Value
);