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