1 write to TypeInfoPropertyName
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
660TypeInfoPropertyName = typeInfoPropertyName,
10 references to TypeInfoPropertyName
System.Text.Json.SourceGeneration (10)
JsonSourceGenerator.Emitter.cs (10)
116AddSource($"{contextGenerationSpec.ContextType.Name}.{typeGenerationSpec.TypeInfoPropertyName}.g.cs", sourceText); 234string typeInfoPropertyName = typeMetadata.TypeInfoPropertyName; 337? $"{typeGenerationSpec.TypeInfoPropertyName}{SerializeHandlerPropName}" 498string typeFriendlyName = typeMetadata.TypeInfoPropertyName; 1029writer.WriteLine($"{typeSpec.TypeInfoPropertyName}{SerializeHandlerPropName}({WriterVarName}, {valueExpr});"); 1033writer.WriteLine($"{JsonSerializerTypeRef}.Serialize({WriterVarName}, {valueExpr}, {typeSpec.TypeInfoPropertyName});"); 1057writer.WriteLine($"{typeSpec.TypeInfoPropertyName}{SerializeHandlerPropName}({WriterVarName}, {valueExpr});"); 1061writer.WriteLine($"{JsonSerializerTypeRef}.Serialize({WriterVarName}, {valueExpr}, {typeSpec.TypeInfoPropertyName});"); 1090string typeInfoPropertyName = typeMetadata.TypeInfoPropertyName; 1487=> $"Create_{typeSpec.TypeInfoPropertyName}";