14 references to FindBindAsyncMethod
Microsoft.AspNetCore.Http.Extensions (2)
RequestDelegateFactory.cs (1)
1987
var bindAsyncMethod = ParameterBindingMethodCache.Instance.
FindBindAsyncMethod
(parameter);
src\Shared\ParameterBindingMethodCache.cs (1)
76
FindBindAsyncMethod
(parameter).Expression is not null;
Microsoft.AspNetCore.Http.Extensions.Tests (12)
ParameterBindingMethodCacheTests.cs (12)
224
var methodFound = cache.
FindBindAsyncMethod
(parameter);
255
var methodFound = cache.
FindBindAsyncMethod
(parameter);
386
var methodFound = cache.
FindBindAsyncMethod
(parameterInfo);
404
var methodFound = cache.
FindBindAsyncMethod
(parameterInfo);
422
var methodFound = cache.
FindBindAsyncMethod
(parameterInfo);
438
var methodFound = cache.
FindBindAsyncMethod
(parameterInfo);
454
var methodFound = cache.
FindBindAsyncMethod
(parameterInfo);
619
() => cache.
FindBindAsyncMethod
(parameter));
633
var (expression, _) = cache.
FindBindAsyncMethod
(parameter);
642
var ex = Assert.Throws<InvalidOperationException>(() => cache.
FindBindAsyncMethod
(parameter));
651
var (expression, _) = cache.
FindBindAsyncMethod
(parameter);
662
var (expression, _) = cache.
FindBindAsyncMethod
(parameter);