1 write to Exception
Microsoft.AspNetCore.Mvc.Abstractions (1)
106 references to Exception
Microsoft.AspNetCore.Mvc.Abstractions (4)
Microsoft.AspNetCore.Mvc.Abstractions.Test (17)
ModelBinding\ModelStateDictionaryTest.cs (17)
299Assert.Same(exception, error.Exception);
339Assert.Same(exception, kvp.Value.Errors[1].Exception);
770Assert.IsType<TooManyModelErrorsException>(error.Exception);
771Assert.Equal(expected, error.Exception.Message);
799Assert.IsType<TooManyModelErrorsException>(error.Exception);
800Assert.Equal(expected, error.Exception.Message);
840Assert.IsType<TooManyModelErrorsException>(error.Exception);
841Assert.Equal(expected, error.Exception.Message);
871Assert.IsType<TooManyModelErrorsException>(error.Exception);
872Assert.Equal(expected, error.Exception.Message);
876Assert.Null(error.Exception);
904Assert.IsType<TooManyModelErrorsException>(error.Exception);
905Assert.Equal(expected, error.Exception.Message);
930Assert.IsType<TooManyModelErrorsException>(error.Exception);
931Assert.Equal(expected, error.Exception.Message);
970Assert.Same(exception, error.Exception);
1083Assert.Same(exception, error.Exception);
Microsoft.AspNetCore.Mvc.Core (1)
Microsoft.AspNetCore.Mvc.Core.Test (38)
Microsoft.AspNetCore.Mvc.IntegrationTests (29)
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (6)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (8)
XmlFormattersWebSite (3)