3 references to DefaultOptionsStaticVarName
System.Text.Json.SourceGeneration (3)
JsonSourceGenerator.Emitter.cs (3)
1139
public static {{contextTypeRef}} Default { get; } = new {{contextTypeRef}}(new {{JsonSerializerOptionsTypeRef}}({{
DefaultOptionsStaticVarName
}}));
1144
protected override {{JsonSerializerOptionsTypeRef}}? GeneratedSerializerOptions { get; } = {{
DefaultOptionsStaticVarName
}};
1166
const string DefaultOptionsFieldDecl = $"private readonly static {JsonSerializerOptionsTypeRef} {
DefaultOptionsStaticVarName
}";