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