2 writes to Type
System.Text.Json.SourceGeneration (2)
JsonSourceGenerator.Parser.cs (2)
219Type = type, 491Type = _knownSymbols.Compilation.EraseCompileTimeMetadata(typeSymbol),
9 references to Type
System.Text.Json.SourceGeneration (9)
JsonSourceGenerator.Parser.cs (9)
144if (!_generatedTypes.ContainsKey(typeToGenerate.Type)) 147_generatedTypes.Add(typeToGenerate.Type, spec); 501Debug.Assert(IsSymbolAccessibleWithin(typeToGenerate.Type, within: contextType), "should not generate metadata for inaccessible types."); 503ITypeSymbol type = typeToGenerate.Type; 699foreach (AttributeData attributeData in typeToGenerate.Type.GetAttributes()) 720customConverterType = GetConverterTypeFromJsonConverterAttribute(contextType, typeToGenerate.Type, attributeData); 732ReportDiagnostic(DiagnosticDescriptors.PolymorphismNotSupported, typeToGenerate.Location, typeToGenerate.Type.ToDisplayString()); 923foreach (INamedTypeSymbol currentType in typeToGenerate.Type.GetSortedTypeHierarchy()) 1441ITypeSymbol type = typeToGenerate.Type;