2 writes to Type
System.Text.Json.SourceGeneration (2)
JsonSourceGenerator.Parser.cs (2)
219Type = type, 497Type = _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); 507Debug.Assert(IsSymbolAccessibleWithin(typeToGenerate.Type, within: contextType), "should not generate metadata for inaccessible types."); 509ITypeSymbol type = typeToGenerate.Type; 705foreach (AttributeData attributeData in typeToGenerate.Type.GetAttributes()) 726customConverterType = GetConverterTypeFromJsonConverterAttribute(contextType, typeToGenerate.Type, attributeData); 738ReportDiagnostic(DiagnosticDescriptors.PolymorphismNotSupported, typeToGenerate.Location, typeToGenerate.Type.ToDisplayString()); 929foreach (INamedTypeSymbol currentType in typeToGenerate.Type.GetSortedTypeHierarchy()) 1447ITypeSymbol type = typeToGenerate.Type;