1 write to DeclaringType
Microsoft.Extensions.Validation (1)
ValidatablePropertyInfo.cs (1)
33
DeclaringType
= declaringType;
6 references to DeclaringType
Microsoft.Extensions.Validation (6)
ValidatablePropertyInfo.cs (6)
70
var property =
DeclaringType
.GetProperty(Name) ?? throw new InvalidOperationException($"Property '{Name}' not found on type '{
DeclaringType
.Name}'.");
85
var displayName = DisplayNameInfo?.GetDisplayName(context, Name,
DeclaringType
) ?? Name;
100
declaringType:
DeclaringType
,
121
$"Maximum validation depth of {context.ValidationOptions.MaxDepth} exceeded at '{context.CurrentValidationPath}' in '{
DeclaringType
.Name}.{Name}'. " +
186
declaringType:
DeclaringType
,