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