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