22 writes to MethodInfo
Microsoft.AspNetCore.Mvc.RazorPages (1)
ApplicationModels\CompiledPageActionDescriptorBuilder.cs (1)
88MethodInfo = handlerModel.MethodInfo,
Microsoft.AspNetCore.Mvc.RazorPages.Test (21)
Infrastructure\DefaultPageHandlerMethodSelectorTest.cs (4)
623MethodInfo = GetType().GetMethod(nameof(Post)), 629MethodInfo = GetType().GetMethod(nameof(PostAsync)), 675MethodInfo = GetType().GetMethod(nameof(Post)), 682MethodInfo = GetType().GetMethod(nameof(PostAsync)),
Infrastructure\ExecutorFactoryTest.cs (8)
18MethodInfo = typeof(TestPage).GetMethod(nameof(TestPage.ActionResultReturningHandler)), 38MethodInfo = typeof(TestPage).GetMethod(nameof(TestPage.ConcreteActionResult)), 59MethodInfo = methodInfo, 80MethodInfo = typeof(TestPage).GetMethod(nameof(TestPage.VoidReturningHandler)), 103MethodInfo = typeof(TestPage).GetMethod(nameof(TestPage.VoidTaskReturningHandler)), 127MethodInfo = methodInfo, 148MethodInfo = methodInfo, 173MethodInfo = methodInfo,
Infrastructure\PageActionInvokerTest.cs (6)
1593MethodInfo = typeof(TestPage).GetTypeInfo().GetMethod(nameof(TestPage.OnGetHandler1)), 1599MethodInfo = typeof(TestPage).GetTypeInfo().GetMethod(nameof(TestPage.OnGetHandler2)), 1621MethodInfo = typeof(TestPage).GetTypeInfo().GetMethod(nameof(TestPage.OnGetHandler1)), 1627MethodInfo = typeof(TestPage).GetTypeInfo().GetMethod(nameof(TestPage.OnGetHandler2)), 1649MethodInfo = typeof(TestPageModel).GetTypeInfo().GetMethod(nameof(TestPageModel.OnGetHandler1)), 1655MethodInfo = typeof(TestPageModel).GetTypeInfo().GetMethod(nameof(TestPageModel.OnGetHandler2)),
Infrastructure\PageBinderFactoryTest.cs (1)
767MethodInfo = handlerMethodInfo,
PageLoggerExtensionsTest.cs (2)
143MethodInfo = typeof(ValueTuple<int, string>).GetMethod(nameof(ToString)), 172MethodInfo = typeof(ValueTuple<int, string>).GetMethod(nameof(ToString)),
12 references to MethodInfo
Microsoft.AspNetCore.Mvc.RazorPages (6)
Infrastructure\DefaultPageHandlerMethodSelector.cs (1)
51var ambiguousMethods = string.Join(", ", ambiguousMatches.Select(m => m.MethodInfo));
Infrastructure\ExecutorFactory.cs (1)
24var method = handlerDescriptor.MethodInfo;
Infrastructure\HandlerMethodDescriptor.cs (1)
14/// Gets or sets the <see cref="MethodInfo"/>.
PageLoggerExtensions.cs (3)
89var declaringTypeName = TypeNameHelper.GetTypeDisplayName(handler.MethodInfo.DeclaringType); 90var handlerName = declaringTypeName + "." + handler.MethodInfo.Name; 128var handlerName = handler.MethodInfo.Name;
Microsoft.AspNetCore.Mvc.RazorPages.Test (6)
ApplicationModels\CompiledPageActionDescriptorBuilderTest.cs (2)
92Assert.Equal(pageApplicationModel.HandlerMethods.Select(p => p.MethodInfo), actual.HandlerMethods.Select(p => p.MethodInfo)); 235Assert.Equal(handlerModel.MethodInfo, d.MethodInfo);
Infrastructure\DefaultPageHandlerMethodSelectorTest.cs (4)
662var methods = descriptor1.MethodInfo + ", " + descriptor2.MethodInfo; 722var methods = descriptor1.MethodInfo + ", " + descriptor2.MethodInfo;