1 write to ObjectInstance
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\ValidationContext.cs (1)
98ObjectInstance = instance;
11 references to ObjectInstance
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (1)
ValidatableObjectAdapterTest.cs (1)
204ObjectInstance = validationContext.ObjectInstance;
System.ComponentModel.Annotations (10)
System\ComponentModel\DataAnnotations\CompareAttribute.cs (1)
48object? otherPropertyValue = otherPropertyInfo.GetValue(validationContext.ObjectInstance, null);
System\ComponentModel\DataAnnotations\ValidationContext.cs (2)
120public Type ObjectType => ObjectInstance.GetType(); 128/// <see cref="ObjectInstance" />
System\ComponentModel\DataAnnotations\Validator.cs (7)
92/// <see cref="ValidationContext.ObjectInstance" />on <paramref name="validationContext" />. 130/// <see cref="ValidationContext.ObjectInstance" />on <paramref name="validationContext" />. 138if (validationContext != null && instance != validationContext.ObjectInstance) 246/// <see cref="ValidationContext.ObjectInstance" /> on <paramref name="validationContext" />. 272/// <see cref="ValidationContext.ObjectInstance" /> on <paramref name="validationContext" />. 282if (instance != validationContext.ObjectInstance) 400/// <see cref="ValidationContext.ObjectInstance" /> on <paramref name="validationContext" />.