4 references to GetLocation
System.Text.Json.SourceGeneration (4)
JsonSourceGenerator.Parser.cs (4)
480
Location? attributeLocation = attributeData.
GetLocation
();
1568
ReportDiagnostic(DiagnosticDescriptors.DerivedJsonConverterAttributesNotSupported, attributeData.
GetLocation
(), attributeData.AttributeClass!.ToDisplayString());
1583
ReportDiagnostic(DiagnosticDescriptors.JsonConverterAttributeInvalidType, attributeData.
GetLocation
(), converterType?.ToDisplayString() ?? "null", declaringSymbol.ToDisplayString());
1589
ReportDiagnostic(DiagnosticDescriptors.JsonStringEnumConverterNotSupportedInAot, attributeData.
GetLocation
(), declaringSymbol.ToDisplayString());