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