2 writes to _isRequired
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\Metadata\DefaultModelMetadata.cs (2)
322_isRequired = ValidationMetadata.IsRequired; 327_isRequired = !IsReferenceOrNullableType;
2 references to _isRequired
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\Metadata\DefaultModelMetadata.cs (2)
318if (!_isRequired.HasValue) 331return _isRequired.Value;