9 references to SumConverter
Microsoft.CodeAnalysis.LanguageServer.Protocol (9)
Protocol\Converters\SumConverter.cs (6)
184
private static readonly ConcurrentDictionary<Type,
SumConverter
.SumTypeInfoCache> SumTypeCache = new ConcurrentDictionary<Type,
SumConverter
.SumTypeInfoCache>();
197
var sumTypeInfoCache = SumTypeCache.GetOrAdd(objectType, (t) => new
SumConverter
.SumTypeInfoCache(t));
220
var result = ((
SumConverter
.SumTypeInfoCache.UnionTypeInfo.StjReader<T>)unionTypeInfo.StjReaderFunction).Invoke(ref reader, options);
243
var result = ((
SumConverter
.SumTypeInfoCache.UnionTypeInfo.StjReader<T>)unionTypeInfo.StjReaderFunction).Invoke(ref reader, options);
282
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
))]