30 references to GetMethods
Microsoft.AspNetCore.App.Analyzers.Test (2)
RouteEmbeddedLanguage\Infrastructure\ExportProviderExtensions.cs (2)
39
var methodInfo = (from method in _exportProvider.GetType().GetTypeInfo().
GetMethods
()
49
var methodInfo = (from method in _exportProvider.GetType().GetTypeInfo().
GetMethods
()
Microsoft.AspNetCore.Mvc.Core (1)
ApplicationModels\DefaultApplicationModelProvider.cs (1)
74
foreach (var methodInfo in controllerType.AsType().
GetMethods
())
Microsoft.AspNetCore.Mvc.Core.Test (9)
ApplicationModels\ApiConventionApplicationModelConventionTest.cs (1)
67
var action = new ActionModel(typeof(object).
GetMethods
()[0], Array.Empty<object>())
ApplicationModels\ApiVisibilityConventionTest.cs (1)
56
return new ActionModel(typeof(object).
GetMethods
()[0], new object[0])
ApplicationModels\ClientErrorResultFilterConventionTest.cs (1)
31
var action = new ActionModel(typeof(object).
GetMethods
()[0], new object[0]);
ApplicationModels\DefaultApplicationModelProviderTest.cs (5)
601
var method = typeInfo.AsType().
GetMethods
().SingleOrDefault(m => (m == methodInfo));
619
var methods = typeInfo.AsType().
GetMethods
().Where(m => m.Name.Equals("Dispose") && m != methodInfo);
673
var method = typeInfo.AsType().
GetMethods
().SingleOrDefault(m => (m == methodInfo));
691
var methods = typeInfo.AsType().
GetMethods
().Where(m => m.Name.Equals("Dispose") && m != methodInfo);
711
var methods = typeInfo.AsType().
GetMethods
().Where(m => m.Name.Equals("Dispose"));
ApplicationModels\InvalidModelStateFilterConventionTest.cs (1)
26
var action = new ActionModel(typeof(object).
GetMethods
()[0], new object[0]);
Microsoft.AspNetCore.Mvc.RazorPages (1)
ApplicationModels\DefaultPageApplicationModelProvider.cs (1)
142
var methods = pageModel.HandlerType.
GetMethods
();
Microsoft.AspNetCore.SignalR.Core (2)
Internal\TypedClientBuilder.cs (2)
88
foreach (var method in interfaceType.
GetMethods
())
269
foreach (var method in interfaceType.
GetMethods
())
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Protocol\Converters\SumConverter.cs (2)
132
.
GetMethods
()
143
.
GetMethods
()
Microsoft.CodeAnalysis.UnitTests (1)
Collections\ImmutableSegmentedListTest.cs (1)
802
var createMethod = typeof(ImmutableSegmentedList).
GetMethods
().Where(m => m.Name == "Create" && m.GetParameters().Length == 0).Single().MakeGenericMethod(dummType!.AsType());
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Remote\ServiceDescriptorTests.cs (1)
116
foreach (var method in interfaceType.
GetMethods
())
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (1)
HelperFactory.cs (1)
220
typeof(Enumerable).
GetMethods
()
Microsoft.Maui.Controls.Build.Tasks (3)
NodeILExtensions.cs (1)
163
var converter = typeof(ICompiledTypeConverter).
GetMethods
().FirstOrDefault(md => md.Name == "ConvertFromString");
SetPropertiesVisitor.cs (2)
426
var cProvideValue = typeof(ICompiledValueProvider).
GetMethods
().FirstOrDefault(md => md.Name == "ProvideValue");
466
var cProvideValue = typeof(ICompiledValueProvider).
GetMethods
().FirstOrDefault(md => md.Name == "ProvideValue");
PresentationFramework (1)
MS\Internal\Interop\InternalDispatchObject.cs (1)
59
MethodInfo[] methods = typeof(IDispInterface).
GetMethods
();
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (1)
531
MethodInfo[] mi = c.
GetMethods
();
System.Reflection.TypeExtensions (1)
System\Reflection\TypeExtensions.cs (1)
255
return type.
GetMethods
();
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\Marshalling\ComImportInteropInterfaceDetailsStrategy.cs (1)
84
foreach (MethodInfo method in iface.
GetMethods
())
System.Text.Json (2)
System\Text\Json\Serialization\Converters\Collection\IEnumerableConverterFactoryHelpers.cs (2)
27
MethodInfo[] constructingTypeMethods = constructingType.
GetMethods
();
51
MethodInfo[] constructingTypeMethods = constructingType.
GetMethods
();
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\DesignerHostTests.cs (1)
3119
Assert.Equal(typeof(IDesignerHost).
GetMethods
(), reflect.GetMethods(BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public));