Implemented interface member:
property
Value
Roslyn.LanguageServer.Protocol.ISumType.Value
4 writes to Value
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Protocol\SumType.cs (4)
516
this.
Value
= val;
525
this.
Value
= val;
534
this.
Value
= val;
543
this.
Value
= val;
20 references to Value
Microsoft.CodeAnalysis.LanguageServer.Protocol (20)
Protocol\SumType.cs (20)
642
if (sum.
Value
is T1 tOne)
647
if (sum.
Value
is T2 tTwo)
661
if (sum.
Value
is T1 tOne)
666
if (sum.
Value
is T2 tTwo)
671
if (sum.
Value
is T3 tThree)
684
public static explicit operator T1(SumType<T1, T2, T3, T4> sum) => sum.
Value
is T1 tVal ? tVal : throw new InvalidCastException();
691
public static explicit operator T2(SumType<T1, T2, T3, T4> sum) => sum.
Value
is T2 tVal ? tVal : throw new InvalidCastException();
698
public static explicit operator T3(SumType<T1, T2, T3, T4> sum) => sum.
Value
is T3 tVal ? tVal : throw new InvalidCastException();
705
public static explicit operator T4(SumType<T1, T2, T3, T4> sum) => sum.
Value
is T4 tVal ? tVal : throw new InvalidCastException();
724
if (this.
Value
is T1 typeValue)
741
if (this.
Value
is T2 typeValue)
758
if (this.
Value
is T3 typeValue)
775
if (this.
Value
is T4 typeValue)
820
if (this.
Value
is T1 tOne)
825
if (this.
Value
is T2 tTwo)
830
if (this.
Value
is T3 tThree)
835
if (this.
Value
is T4 tFour)
859
return EqualityComparer<object?>.Default.Equals(this.
Value
, other.
Value
);
865
return -1937169414 + EqualityComparer<object?>.Default.GetHashCode(this.
Value
);