1 write to DeclaringType
Microsoft.Extensions.Validation (1)
ValidatablePropertyInfo.cs (1)
34
DeclaringType
= declaringType;
6 references to DeclaringType
Microsoft.Extensions.Validation (6)
ValidatablePropertyInfo.cs (6)
63
=>
DeclaringType
.GetProperty(Name, BindingFlags.Instance | BindingFlags.Public | BindingFlags.DeclaredOnly) ?? throw new InvalidOperationException($"Property '{Name}' not found on type '{
DeclaringType
.Name}'.");
77
$"Maximum validation depth of {context.ValidationOptions.MaxDepth} exceeded at '{context.CurrentValidationPath}' in '{
DeclaringType
.Name}.{Name}'. " +
120
var displayName = DisplayNameInfo?.GetDisplayName(context, Name,
DeclaringType
) ?? Name;
218
var displayName = DisplayNameInfo?.GetDisplayName(context, Name,
DeclaringType
) ?? Name;
294
declaringType:
DeclaringType
,