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