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