1 write to DefaultValue
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
1484
DefaultValue
= parameterInfo.HasExplicitDefaultValue ? parameterInfo.ExplicitDefaultValue : null,
1 reference to DefaultValue
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Emitter.cs (1)
736
DefaultValue = {{(spec.HasDefaultValue ? CSharpSyntaxUtilities.FormatLiteral(spec.
DefaultValue
, spec.ParameterType) : "null")}},