1 write to TypeInfoPropertyName
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
719TypeInfoPropertyName = typeInfoPropertyName,
10 references to TypeInfoPropertyName
System.Text.Json.SourceGeneration (10)
JsonSourceGenerator.Emitter.cs (10)
117AddSource($"{contextGenerationSpec.ContextType.Name}.{typeGenerationSpec.TypeInfoPropertyName}.g.cs", sourceText); 235string typeInfoPropertyName = typeMetadata.TypeInfoPropertyName; 338? $"{typeGenerationSpec.TypeInfoPropertyName}{SerializeHandlerPropName}" 499string typeFriendlyName = typeMetadata.TypeInfoPropertyName; 1080writer.WriteLine($"{typeSpec.TypeInfoPropertyName}{SerializeHandlerPropName}({WriterVarName}, {valueExpr});"); 1084writer.WriteLine($"{JsonSerializerTypeRef}.Serialize({WriterVarName}, {valueExpr}, {typeSpec.TypeInfoPropertyName});"); 1108writer.WriteLine($"{typeSpec.TypeInfoPropertyName}{SerializeHandlerPropName}({WriterVarName}, {valueExpr});"); 1112writer.WriteLine($"{JsonSerializerTypeRef}.Serialize({WriterVarName}, {valueExpr}, {typeSpec.TypeInfoPropertyName});"); 1141string typeInfoPropertyName = typeMetadata.TypeInfoPropertyName; 1538=> $"Create_{typeSpec.TypeInfoPropertyName}";