7 references to _generatedTypes
System.Text.Json.SourceGeneration (7)
JsonSourceGenerator.Parser.cs (7)
89
Debug.Assert(
_generatedTypes
.Count == 0);
144
if (!
_generatedTypes
.ContainsKey(typeToGenerate.Type))
147
_generatedTypes
.Add(typeToGenerate.Type, spec);
151
Debug.Assert(
_generatedTypes
.Count > 0);
156
GeneratedTypes =
_generatedTypes
.Values.OrderBy(t => t.TypeRef.FullyQualifiedName).ToImmutableEquatableArray(),
163
_generatedTypes
.Clear();
212
if (
_generatedTypes
.TryGetValue(type, out TypeGenerationSpec? spec))