27 references to TypeWithProperties
Microsoft.AspNetCore.Mvc.Core.Test (27)
ModelBinding\Metadata\DefaultModelMetadataTest.cs (27)
122typeof(TypeWithProperties).GetProperty(nameof(TypeWithProperties.PublicGetPublicSetProperty)), 124typeof(TypeWithProperties)); 159typeof(TypeWithProperties).GetProperty(nameof(TypeWithProperties.PublicGetPublicSetProperty)), 161typeof(TypeWithProperties)); 196typeof(TypeWithProperties).GetProperty(nameof(TypeWithProperties.PublicGetPublicSetProperty)), 198typeof(TypeWithProperties)); 373[InlineData(typeof(TypeWithProperties))] 757var key = ModelMetadataIdentity.ForType(typeof(TypeWithProperties)); 776var key = ModelMetadataIdentity.ForType(typeof(TypeWithProperties)); 795var key = ModelMetadataIdentity.ForType(typeof(TypeWithProperties)); 838[InlineData(typeof(TypeWithProperties))] 839[InlineData(typeof(List<TypeWithProperties>))] 1069var modelType = typeof(TypeWithProperties); 1074var property = typeof(TypeWithProperties).GetProperty(nameof(TypeWithProperties.PublicGetPublicSetProperty)); 1075var propertyIdentity = ModelMetadataIdentity.ForProperty(property, typeof(int), typeof(TypeWithProperties)); 1094var modelType = typeof(TypeWithProperties); 1099var property1Identity = ModelMetadataIdentity.ForProperty(modelType.GetProperty(nameof(TypeWithProperties.PublicGetPublicSetProperty)), typeof(int), modelType); 1102var property2Identity = ModelMetadataIdentity.ForProperty(modelType.GetProperty(nameof(TypeWithProperties.PublicGetProtectedSetProperty)), typeof(int), modelType); 1121var modelType = typeof(TypeWithProperties); 1126var propertyIdentity = ModelMetadataIdentity.ForProperty(modelType.GetProperty(nameof(TypeWithProperties.PublicGetPublicSetProperty)), typeof(int), modelType); 1145var modelType = typeof(TypeWithProperties); 1150var property1Identity = ModelMetadataIdentity.ForProperty(modelType.GetProperty(nameof(TypeWithProperties.PublicGetPublicSetProperty)), typeof(int), modelType); 1153var property2Identity = ModelMetadataIdentity.ForProperty(modelType.GetProperty(nameof(TypeWithProperties.PublicGetProtectedSetProperty)), typeof(int), modelType);