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