1 write to Type
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Protocol\Converters\SumConverter.cs (1)
154
this.
Type
= type ?? throw new ArgumentNullException(nameof(type));
15 references to Type
Microsoft.CodeAnalysis.LanguageServer.Protocol (15)
Protocol\Converters\SumConverter.cs (15)
290
isCompatible = unionTypeInfo.
Type
== typeof(bool);
293
isCompatible = unionTypeInfo.
Type
== typeof(int) ||
294
unionTypeInfo.
Type
== typeof(uint) ||
295
unionTypeInfo.
Type
== typeof(long) ||
296
unionTypeInfo.
Type
== typeof(ulong) ||
297
unionTypeInfo.
Type
== typeof(short) ||
298
unionTypeInfo.
Type
== typeof(ushort) ||
299
unionTypeInfo.
Type
== typeof(byte) ||
300
unionTypeInfo.
Type
== typeof(sbyte) ||
301
unionTypeInfo.
Type
== typeof(double) ||
302
unionTypeInfo.
Type
== typeof(float);
305
isCompatible = unionTypeInfo.
Type
== typeof(string) ||
306
unionTypeInfo.
Type
== typeof(Uri) ||
307
unionTypeInfo.
Type
== typeof(DocumentUri) ||
308
typeof(IStringEnum).IsAssignableFrom(unionTypeInfo.
Type
);