2 references to _taskAwaiterGetResultMethodInfo
Microsoft.AspNetCore.Shared.Tests (2)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (2)
424var taskAwaiterGetResultMethodInfo = (MethodInfo)taskGetAwaiterMethodInfo.ReturnType.GetMemberWithSameMetadataDefinitionAs(_taskAwaiterGetResultMethodInfo); 516(awaiter) => ((MethodInfo)awaiter.GetType().GetMemberWithSameMetadataDefinitionAs(_taskAwaiterGetResultMethodInfo)).Invoke(awaiter, Array.Empty<object>())!,