9 references to SumConverter
Microsoft.CodeAnalysis.LanguageServer.Protocol (9)
Protocol\Converters\SumConverter.cs (6)
183
private static readonly ConcurrentDictionary<Type,
SumConverter
.SumTypeInfoCache> SumTypeCache = new ConcurrentDictionary<Type,
SumConverter
.SumTypeInfoCache>();
196
var sumTypeInfoCache = SumTypeCache.GetOrAdd(objectType, (t) => new
SumConverter
.SumTypeInfoCache(t));
219
var result = ((
SumConverter
.SumTypeInfoCache.UnionTypeInfo.StjReader<T>)unionTypeInfo.StjReaderFunction).Invoke(ref reader, options);
242
var result = ((
SumConverter
.SumTypeInfoCache.UnionTypeInfo.StjReader<T>)unionTypeInfo.StjReaderFunction).Invoke(ref reader, options);
276
private static bool IsTokenCompatibleWithType(ref Utf8JsonReader reader,
SumConverter
.SumTypeInfoCache.UnionTypeInfo unionTypeInfo)
Protocol\SumType.cs (3)
19
[JsonConverter(typeof(
SumConverter
))]
211
[JsonConverter(typeof(
SumConverter
))]
495
[JsonConverter(typeof(
SumConverter
))]