1 type derived from MyClassWithoutConverter
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\ModelBindingHelperTest.cs (1)
1567
private class MySubClassWithoutConverter :
MyClassWithoutConverter
1 instantiation of MyClassWithoutConverter
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\ModelBindingHelperTest.cs (1)
1250
() => ModelBindingHelper.ConvertTo(new
MyClassWithoutConverter
(), destinationType, culture: null));
7 references to MyClassWithoutConverter
Microsoft.AspNetCore.Mvc.Core.Test (7)
ModelBinding\ModelBindingHelperTest.cs (7)
1245
var expectedMessage = $"The parameter conversion from type '{typeof(
MyClassWithoutConverter
)}' to type " +
1260
var destinationType = typeof(
MyClassWithoutConverter
);
1262
$"'{typeof(
MyClassWithoutConverter
)}' failed because no type converter can convert between these types.";
1272
[InlineData(typeof(
MyClassWithoutConverter
))]
1287
[InlineData(typeof(
MyClassWithoutConverter
[]))]
1292
var value = new
MyClassWithoutConverter
[]
1305
result as IEnumerable<
MyClassWithoutConverter
>,