1 write to Name
System.Text.Json.SourceGeneration (1)
src\runtime\src\libraries\Common\src\SourceGenerators\TypeRef.cs (1)
18
Name
= type.Name;
7 references to Name
System.Text.Json.SourceGeneration (7)
JsonSourceGenerator.Emitter.cs (4)
116
AddSource($"{contextGenerationSpec.ContextType.
Name
}.{typeGenerationSpec.TypeInfoPropertyName}.g.cs", sourceText);
120
string contextName = contextGenerationSpec.ContextType.
Name
;
1747
throw new {{JsonExceptionTypeRef}}(string.Format("{{ExceptionMessages.PropertyGetterDisallowNull}}", propertyName, {{FormatStringLiteral(typeGenSpec.TypeRef.
Name
)}}));
2041
string contextTypeName = contextSpec.ContextType.
Name
;
JsonSourceGenerator.Parser.cs (3)
2462
ReportDiagnostic(DiagnosticDescriptors.MultipleJsonExtensionDataAttribute, typeLocation, declaringType.
Name
);
2467
ReportDiagnostic(DiagnosticDescriptors.DataExtensionPropertyInvalid, memberInfo.GetLocation(), declaringType.
Name
, memberInfo.Name);
2489
ReportDiagnostic(DiagnosticDescriptors.TypeContainsRefLikeMember, memberInfo.GetLocation(), declaringType.
Name
, memberInfo.Name);