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