1 write to HasDefaultValue
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
2265HasDefaultValue = parameterInfo.HasExplicitDefaultValue,
2 references to HasDefaultValue
System.Text.Json.SourceGeneration (2)
JsonSourceGenerator.Emitter.cs (2)
1386HasDefaultValue = {{FormatBoolLiteral(spec.HasDefaultValue)}}, 1387DefaultValue = {{(spec.HasDefaultValue ? CSharpSyntaxUtilities.FormatLiteral(spec.DefaultValue, spec.ParameterType) : "null")}},