2 writes to AsyncResultType
Microsoft.AspNetCore.Shared.Tests (2)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (2)
48AsyncResultType = isAwaitable ? coercedAwaitableInfo.AwaitableInfo.ResultType : null; 71AsyncResultType = isAwaitable ? resultType : null;
16 references to AsyncResultType
Microsoft.AspNetCore.Shared.Tests (16)
ObjectMethodExecutorTest.cs (15)
173Assert.Same(typeof(TestObject), executor.AsyncResultType); 189Assert.Same(typeof(int), executor.AsyncResultType); 204Assert.Same(typeof(TestObject), executor.AsyncResultType); 221Assert.Same(typeof(int), executor.AsyncResultType); 243Assert.Same(typeof(void), executor.AsyncResultType); 258Assert.Same(typeof(string), executor.AsyncResultType); 273Assert.Same(typeof(string), executor.AsyncResultType); 288Assert.Same(typeof(int), executor.AsyncResultType); 303Assert.Same(typeof(string), executor.AsyncResultType); 318Assert.Same(typeof(int), executor.AsyncResultType); 334Assert.Same(typeof(string), executor.AsyncResultType); 352Assert.Same(typeof(string), executor.AsyncResultType); 370Assert.Same(typeof(string), executor.AsyncResultType); 388Assert.Same(typeof(string), executor.AsyncResultType); 403Assert.Same(typeof(string), executor.AsyncResultType);
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (1)
80_executorAsync = GetExecutorAsyncTrimAotCompatible(methodInfo, AsyncResultType!);