1 write to HasDefaultValue
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\JsonParameterInfo.cs (1)
21HasDefaultValue = parameterInfoValues.HasDefaultValue;
2 references to HasDefaultValue
System.Text.Json (2)
System\Text\Json\Schema\JsonSchemaExporter.cs (1)
245if (property.AssociatedParameter is { HasDefaultValue: true } parameterInfo)
System\Text\Json\Serialization\Metadata\JsonParameterInfo.cs (1)
126internal bool IsRequiredParameter => !HasDefaultValue && !IsMemberInitializer;