10 references to ObjectType
System.ComponentModel.Annotations (10)
System\ComponentModel\DataAnnotations\CompareAttribute.cs (2)
38var otherPropertyInfo = validationContext.ObjectType.GetRuntimeProperty(OtherProperty); 45throw new ArgumentException(SR.Format(SR.Common_PropertyNotFound, validationContext.ObjectType.FullName, OtherProperty));
System\ComponentModel\DataAnnotations\ValidationAttributeStore.cs (7)
39var item = GetTypeStoreItem(validationContext.ObjectType); 52var item = GetTypeStoreItem(validationContext.ObjectType); 65var typeItem = GetTypeStoreItem(validationContext.ObjectType); 79var typeItem = GetTypeStoreItem(validationContext.ObjectType); 93var typeItem = GetTypeStoreItem(validationContext.ObjectType); 101/// the <see cref="ValidationContext.ObjectType" />. 109var typeItem = GetTypeStoreItem(validationContext.ObjectType);
System\ComponentModel\DataAnnotations\ValidationContext.cs (1)
140_displayName = ObjectType.Name;