Implemented interface member:
property
Value
Roslyn.LanguageServer.Protocol.ISumType.Value
3 writes to Value
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Protocol\SumType.cs (3)
230
this.
Value
= val;
239
this.
Value
= val;
248
this.
Value
= val;
14 references to Value
Microsoft.CodeAnalysis.LanguageServer.Protocol (14)
Protocol\SumType.cs (14)
320
if (sum.
Value
is T1 tOne)
325
if (sum.
Value
is T2 tTwo)
338
public static explicit operator T1(SumType<T1, T2, T3> sum) => sum.
Value
is T1 tVal ? tVal : throw new InvalidCastException();
345
public static explicit operator T2(SumType<T1, T2, T3> sum) => sum.
Value
is T2 tVal ? tVal : throw new InvalidCastException();
352
public static explicit operator T3(SumType<T1, T2, T3> sum) => sum.
Value
is T3 tVal ? tVal : throw new InvalidCastException();
371
if (this.
Value
is T1 typeValue)
388
if (this.
Value
is T2 typeValue)
405
if (this.
Value
is T3 typeValue)
444
if (this.
Value
is T1 tOne)
449
if (this.
Value
is T2 tTwo)
454
if (this.
Value
is T3 tThree)
478
return EqualityComparer<object?>.Default.Equals(this.
Value
, other.
Value
);
484
return -1937169414 + EqualityComparer<object?>.Default.GetHashCode(this.
Value
);