1 instantiation of TestResult
Microsoft.AspNetCore.Mvc.Core.Test (1)
ActionResultOfTTest.cs (1)
37
var result = new
TestResult
();
3 references to TestResult
Microsoft.AspNetCore.Mvc.Core.Test (3)
ActionResultOfTTest.cs (3)
37
var
result = new TestResult();
40
var ex = Assert.Throws<ArgumentException>(() => new ActionResult<
TestResult
>(value: result));
41
Assert.Equal($"Invalid type parameter '{typeof(
TestResult
)}' specified for 'ActionResult<T>'.", ex.Message);