2 writes to Type
System.Text.Json.SourceGeneration (2)
JsonSourceGenerator.Parser.cs (2)
228Type = type, 554Type = _knownSymbols.Compilation.EraseCompileTimeMetadata(typeSymbol),
9 references to Type
System.Text.Json.SourceGeneration (9)
JsonSourceGenerator.Parser.cs (9)
153if (!_generatedTypes.ContainsKey(typeToGenerate.Type)) 156_generatedTypes.Add(typeToGenerate.Type, spec); 564Debug.Assert(IsSymbolAccessibleWithin(typeToGenerate.Type, within: contextType), "should not generate metadata for inaccessible types."); 566ITypeSymbol type = typeToGenerate.Type; 762foreach (AttributeData attributeData in typeToGenerate.Type.GetAttributes()) 783customConverterType = GetConverterTypeFromJsonConverterAttribute(contextType, typeToGenerate.Type, attributeData); 795ReportDiagnostic(DiagnosticDescriptors.PolymorphismNotSupported, typeToGenerate.Location, typeToGenerate.Type.ToDisplayString()); 991foreach (INamedTypeSymbol currentType in typeToGenerate.Type.GetSortedTypeHierarchy()) 1534ITypeSymbol type = typeToGenerate.Type;