1 write to TypeInfoPropertyName
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
654TypeInfoPropertyName = 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; 1016writer.WriteLine($"{typeSpec.TypeInfoPropertyName}{SerializeHandlerPropName}({WriterVarName}, {valueExpr});"); 1020writer.WriteLine($"{JsonSerializerTypeRef}.Serialize({WriterVarName}, {valueExpr}, {typeSpec.TypeInfoPropertyName});"); 1044writer.WriteLine($"{typeSpec.TypeInfoPropertyName}{SerializeHandlerPropName}({WriterVarName}, {valueExpr});"); 1048writer.WriteLine($"{JsonSerializerTypeRef}.Serialize({WriterVarName}, {valueExpr}, {typeSpec.TypeInfoPropertyName});"); 1077string typeInfoPropertyName = typeMetadata.TypeInfoPropertyName; 1471=> $"Create_{typeSpec.TypeInfoPropertyName}";