1 write to Name
Microsoft.Extensions.Validation (1)
ValidatablePropertyInfo.cs (1)
29Name = name;
8 references to Name
Microsoft.Extensions.Validation (8)
ValidatablePropertyInfo.cs (8)
63var property = DeclaringType.GetProperty(Name) ?? throw new InvalidOperationException($"Property '{Name}' not found on type '{DeclaringType.Name}'."); 71context.CurrentValidationPath = Name; 75context.CurrentValidationPath = $"{originalPrefix}.{Name}"; 79context.ValidationContext.MemberName = Name; 88context.AddValidationError(Name, context.CurrentValidationPath, [result.ErrorMessage], value); 95ValidateValue(propertyValue, Name, context.CurrentValidationPath, validationAttributes, value); 101$"Maximum validation depth of {context.ValidationOptions.MaxDepth} exceeded at '{context.CurrentValidationPath}' in '{DeclaringType.Name}.{Name}'. " +