2 instantiations of BindAsyncFromImplicitStaticAbstractInterface
Microsoft.AspNetCore.Http.Extensions.Tests (2)
ParameterBindingMethodCacheTests.cs (2)
1469
return ValueTask.FromResult<BindAsyncFromImplicitStaticAbstractInterface?>(
new
());
1507
return ValueTask.FromResult<BindAsyncFromImplicitStaticAbstractInterface?>(
new
());
10 references to BindAsyncFromImplicitStaticAbstractInterface
Microsoft.AspNetCore.Http.Extensions.Tests (10)
ParameterBindingMethodCacheTests.cs (10)
355
var parameterInfo = GetFirstParameter((
BindAsyncFromImplicitStaticAbstractInterface
arg) => BindAsyncFromImplicitStaticAbstractInterfaceMethod(arg));
383
var parameterInfo = GetFirstParameter((
BindAsyncFromImplicitStaticAbstractInterface
arg) => BindAsyncFromImplicitStaticAbstractInterfaceMethod(arg));
395
Assert.IsType<
BindAsyncFromImplicitStaticAbstractInterface
>(result);
747
private static void BindAsyncFromImplicitStaticAbstractInterfaceMethod(
BindAsyncFromImplicitStaticAbstractInterface
arg) { }
1465
private class BindAsyncFromImplicitStaticAbstractInterface : IBindableFromHttpContext<
BindAsyncFromImplicitStaticAbstractInterface
>
1467
public static ValueTask<
BindAsyncFromImplicitStaticAbstractInterface
?> BindAsync(HttpContext context, ParameterInfo parameter)
1469
return ValueTask.FromResult<
BindAsyncFromImplicitStaticAbstractInterface
?>(new());
1503
private class BindAsyncFromStaticAbstractInterfaceWrongType : IBindableFromHttpContext<
BindAsyncFromImplicitStaticAbstractInterface
>
1505
public static ValueTask<
BindAsyncFromImplicitStaticAbstractInterface
?> BindAsync(HttpContext context, ParameterInfo parameter)
1507
return ValueTask.FromResult<
BindAsyncFromImplicitStaticAbstractInterface
?>(new());