2 writes to Location
System.Text.Json.SourceGeneration (2)
JsonSourceGenerator.Parser.cs (2)
222
Location
= type.GetLocation(),
494
Location
= location,
5 references to Location
System.Text.Json.SourceGeneration (5)
JsonSourceGenerator.Parser.cs (5)
617
ReportDiagnostic(DiagnosticDescriptors.MultipleJsonConstructorAttribute, typeToGenerate.
Location
, type.ToDisplayString());
621
ReportDiagnostic(DiagnosticDescriptors.JsonConstructorInaccessible, typeToGenerate.
Location
, type.ToDisplayString());
640
ReportDiagnostic(DiagnosticDescriptors.TypeNotSupported, typeToGenerate.AttributeLocation ?? typeToGenerate.
Location
, type.ToDisplayString());
732
ReportDiagnostic(DiagnosticDescriptors.PolymorphismNotSupported, typeToGenerate.
Location
, typeToGenerate.Type.ToDisplayString());
917
Location? typeLocation = typeToGenerate.
Location
;