8 references to ValueProviderException
Microsoft.AspNetCore.Mvc.Abstractions.Test (2)
ModelBinding\ModelStateDictionaryTest.cs (2)
1228
var exception = new
ValueProviderException
(expectedMessage);
1271
dictionary.TryAddModelError("key", new
ValueProviderException
(expectedMessage), metadata);
Microsoft.AspNetCore.Mvc.Core.Test (3)
ControllerBaseTest.cs (1)
2698
.Throws(new
ValueProviderException
("some error"));
Controllers\ControllerBinderDelegateProviderTest.cs (1)
1223
.Throws(new
ValueProviderException
("Some error"));
ModelBinding\CompositeValueProviderTest.cs (1)
51
factory.Setup(f => f.CreateValueProviderAsync(It.IsAny<ValueProviderFactoryContext>())).ThrowsAsync(new
ValueProviderException
("Some error"));
Microsoft.AspNetCore.Mvc.RazorPages.Test (3)
Infrastructure\PageBinderFactoryTest.cs (1)
735
.Throws(new
ValueProviderException
("Some error"));
PageModelTest.cs (1)
1757
.Throws(new
ValueProviderException
("some error"));
PageTest.cs (1)
1835
.Throws(new
ValueProviderException
("some error"));