1 write to Type
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Protocol\Converters\SumConverter.cs (1)
152
this.
Type
= type ?? throw new ArgumentNullException(nameof(type));
14 references to Type
Microsoft.CodeAnalysis.LanguageServer.Protocol (14)
Protocol\Converters\SumConverter.cs (14)
283
isCompatible = unionTypeInfo.
Type
== typeof(bool);
286
isCompatible = unionTypeInfo.
Type
== typeof(int) ||
287
unionTypeInfo.
Type
== typeof(uint) ||
288
unionTypeInfo.
Type
== typeof(long) ||
289
unionTypeInfo.
Type
== typeof(ulong) ||
290
unionTypeInfo.
Type
== typeof(short) ||
291
unionTypeInfo.
Type
== typeof(ushort) ||
292
unionTypeInfo.
Type
== typeof(byte) ||
293
unionTypeInfo.
Type
== typeof(sbyte) ||
294
unionTypeInfo.
Type
== typeof(double) ||
295
unionTypeInfo.
Type
== typeof(float);
298
isCompatible = unionTypeInfo.
Type
== typeof(string) ||
299
unionTypeInfo.
Type
== typeof(Uri) ||
300
typeof(IStringEnum).IsAssignableFrom(unionTypeInfo.
Type
);