3 implementations of ISumType
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Protocol\SumType.cs (3)
20
internal struct SumType<T1, T2> :
ISumType
, IEquatable<SumType<T1, T2>>
212
internal struct SumType<T1, T2, T3> :
ISumType
, IEquatable<SumType<T1, T2, T3>>
496
internal struct SumType<T1, T2, T3, T4> :
ISumType
, IEquatable<SumType<T1, T2, T3, T4>>
8 references to ISumType
Microsoft.CodeAnalysis.LanguageServer.Protocol (8)
Protocol\Converters\KindAttribute.cs (3)
11
/// used in an <see cref="
ISumType
"/>.
20
/// <param name="kindPropertyName">The name of the property that is used to identify the contained type of the <see cref="
ISumType
"/>.</param>
36
/// Gets the name of the property that is used to identify the contained type of the <see cref="
ISumType
"/>.
Protocol\Converters\SumConverter.cs (2)
20
return typeof(
ISumType
).IsAssignableFrom(typeToConvert);
181
where T : struct,
ISumType
Protocol\SumType.cs (3)
870
/// Utility methods for <see cref="
ISumType
"/> implementations.
882
if (typeof(
ISumType
).IsAssignableFrom(type))
899
where TValue : notnull,
ISumType