2 overrides of IsReadOnly
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
EndpointModelMetadata.cs (1)
38public override bool IsReadOnly { get; }
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\DefaultModelMetadata.cs (1)
289public override bool IsReadOnly
7 references to IsReadOnly
Microsoft.AspNetCore.Mvc.Core (7)
ModelBinding\Binders\ComplexObjectModelBinder.cs (2)
424if (propertyMetadata.MetadataKind == ModelMetadataKind.Property && propertyMetadata.IsReadOnly) 696if (propertyMetadata.IsReadOnly)
ModelBinding\Binders\ComplexTypeModelBinder.cs (2)
425return !propertyMetadata.IsReadOnly || CanUpdateReadOnlyProperty(propertyMetadata.ModelType); 534if (propertyMetadata.IsReadOnly)
ModelBinding\Metadata\BindingMetadata.cs (2)
75/// <see cref="ModelMetadata.IsReadOnly"/> will be computed based on the accessibility 76/// of the property accessor and model <see cref="Type"/>. See <see cref="ModelMetadata.IsReadOnly"/>.
ModelBinding\PropertyValueSetter.cs (1)
20if (!metadata.IsReadOnly)