1 instantiation of TooManyModelErrorsException
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\ModelStateDictionary.cs (1)
671var exception = new TooManyModelErrorsException(Resources.ModelStateDictionary_MaxModelStateErrors);
22 references to TooManyModelErrorsException
Microsoft.AspNetCore.Mvc.Abstractions (9)
ModelBinding\ModelStateDictionary.cs (8)
100/// the error message will be ignored and a <see cref="TooManyModelErrorsException"/> will be added. 125/// Returns <c>true</c> if a <see cref="TooManyModelErrorsException"/> has been recorded; 192/// errors has already been recorded, ensures that a <see cref="TooManyModelErrorsException"/> exception is 232/// errors has already been recorded, ensures that a <see cref="TooManyModelErrorsException"/> exception is 251/// errors has already been recorded, ensures that a <see cref="TooManyModelErrorsException"/> exception is 319/// errors has already been recorded, ensures that a <see cref="TooManyModelErrorsException"/> exception is 335/// errors has already been recorded, ensures that a <see cref="TooManyModelErrorsException"/> exception is 671var exception = new TooManyModelErrorsException(Resources.ModelStateDictionary_MaxModelStateErrors);
ModelBinding\TooManyModelErrorsException.cs (1)
12/// Creates a new instance of <see cref="TooManyModelErrorsException"/> with the specified
Microsoft.AspNetCore.Mvc.Abstractions.Test (6)
ModelBinding\ModelStateDictionaryTest.cs (6)
770Assert.IsType<TooManyModelErrorsException>(error.Exception); 799Assert.IsType<TooManyModelErrorsException>(error.Exception); 840Assert.IsType<TooManyModelErrorsException>(error.Exception); 871Assert.IsType<TooManyModelErrorsException>(error.Exception); 904Assert.IsType<TooManyModelErrorsException>(error.Exception); 930Assert.IsType<TooManyModelErrorsException>(error.Exception);
Microsoft.AspNetCore.Mvc.Core.Test (3)
Formatters\JsonInputFormatterTestBase.cs (1)
436Assert.IsType<TooManyModelErrorsException>(error.Exception);
ModelBinding\Validation\DefaultObjectValidatorTests.cs (2)
745Assert.IsType<TooManyModelErrorsException>(error.Exception); 1250Assert.IsType<TooManyModelErrorsException>(error.Exception);
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (1)
src\Mvc\Mvc.Core\test\Formatters\JsonInputFormatterTestBase.cs (1)
436Assert.IsType<TooManyModelErrorsException>(error.Exception);
Microsoft.AspNetCore.Mvc.ViewFeatures (3)
ModelStateDictionaryExtensions.cs (3)
18/// errors has already been recorded, ensures that a <see cref="TooManyModelErrorsException"/> exception is 40/// errors has already been recorded, ensures that a <see cref="TooManyModelErrorsException"/> exception is 66/// errors has already been recorded, ensures that a <see cref="TooManyModelErrorsException"/> exception is