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