1 write to DeclaringType
Microsoft.Extensions.Validation (1)
ValidatablePropertyInfo.cs (1)
34DeclaringType = 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}'. " + 120var displayName = DisplayNameInfo?.GetDisplayName(context, Name, DeclaringType) ?? Name; 218var displayName = DisplayNameInfo?.GetDisplayName(context, Name, DeclaringType) ?? Name; 294declaringType: DeclaringType,