1 write to MaxDepth
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
Validation\ValidatableTypeInfoTests.cs (1)
301validationOptions.MaxDepth = 3; // Set a small max depth to trigger the limit
4 references to MaxDepth
Microsoft.AspNetCore.Http.Abstractions (4)
Validation\ValidatablePropertyInfo.cs (2)
98if (context.CurrentDepth >= context.ValidationOptions.MaxDepth) 101$"Maximum validation depth of {context.ValidationOptions.MaxDepth} exceeded at '{context.CurrentValidationPath}' in '{DeclaringType.Name}.{Name}'. " +
Validation\ValidatableTypeInfo.cs (2)
53if (context.CurrentDepth >= context.ValidationOptions.MaxDepth) 56$"Maximum validation depth of {context.ValidationOptions.MaxDepth} exceeded at '{context.CurrentValidationPath}' in '{Type.Name}'. " +