6 overrides of CanReadType
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
DefaultApiDescriptionProviderTest.cs (1)
2818protected override bool CanReadType(Type type)
Microsoft.AspNetCore.Mvc.Core.Test (3)
Formatters\InputFormatterTest.cs (1)
444protected override bool CanReadType(Type type)
Formatters\TextInputFormatterTest.cs (1)
216protected override bool CanReadType(Type type)
ModelBinding\Binders\BodyModelBinderTests.cs (1)
734protected override bool CanReadType(Type type)
Microsoft.AspNetCore.Mvc.Formatters.Xml (2)
XmlDataContractSerializerInputFormatter.cs (1)
173protected override bool CanReadType(Type type)
XmlSerializerInputFormatter.cs (1)
169protected override bool CanReadType(Type type)
2 references to CanReadType
Microsoft.AspNetCore.Mvc.Core (2)
Formatters\InputFormatter.cs (2)
50if (!CanReadType(context.ModelType)) 132if (!CanReadType(objectType))