18 overrides of MethodHandle
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\ConstructorOnTypeBuilderInstantiation.cs (1)
52public override RuntimeMethodHandle MethodHandle => _ctor.MethodHandle;
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\DynamicMethod.cs (1)
324public override RuntimeMethodHandle MethodHandle => throw new InvalidOperationException(SR.InvalidOperation_NotAllowedInDynamicMethod);
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodBuilderInstantiation.cs (1)
56public override RuntimeMethodHandle MethodHandle => throw new NotSupportedException(SR.NotSupported_DynamicModule);
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodOnTypeBuilderInstantiation.cs (1)
64public override RuntimeMethodHandle MethodHandle => _method.MethodHandle;
src\System\Reflection\Emit\RuntimeConstructorBuilder.cs (1)
94public override RuntimeMethodHandle MethodHandle => m_methodBuilder.MethodHandle;
src\System\Reflection\Emit\RuntimeMethodBuilder.cs (1)
440public override RuntimeMethodHandle MethodHandle => throw new NotSupportedException(SR.NotSupported_DynamicModule);
src\System\Reflection\Emit\SymbolMethod.cs (1)
96public override RuntimeMethodHandle MethodHandle => throw new NotSupportedException(SR.NotSupported_SymbolMethod);
src\System\Reflection\RuntimeConstructorInfo.CoreCLR.cs (1)
194public override RuntimeMethodHandle MethodHandle => new RuntimeMethodHandle(this);
src\System\Reflection\RuntimeMethodInfo.CoreCLR.cs (1)
265public override RuntimeMethodHandle MethodHandle => new RuntimeMethodHandle(this);
System.Reflection.Context (3)
System\Reflection\Context\Delegation\DelegatingConstructorInfo.cs (1)
69public override RuntimeMethodHandle MethodHandle
System\Reflection\Context\Delegation\DelegatingMethodInfo.cs (1)
71public override RuntimeMethodHandle MethodHandle
System\Reflection\Context\Virtual\VirtualMethodBase.cs (1)
41public override RuntimeMethodHandle MethodHandle
System.Reflection.Emit (2)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodBuilderInstantiation.cs (1)
56public override RuntimeMethodHandle MethodHandle => throw new NotSupportedException(SR.NotSupported_DynamicModule);
System\Reflection\Emit\ArrayMethod.cs (1)
68public override RuntimeMethodHandle MethodHandle => throw new NotSupportedException(SR.NotSupported_SymbolMethod);
System.Reflection.MetadataLoadContext (2)
System\Reflection\TypeLoading\Constructors\RoConstructor.cs (1)
83public sealed override RuntimeMethodHandle MethodHandle => throw new InvalidOperationException(SR.Arg_InvalidOperation_Reflection);
System\Reflection\TypeLoading\Methods\RoMethod.cs (1)
127public sealed override RuntimeMethodHandle MethodHandle => throw new InvalidOperationException(SR.Arg_InvalidOperation_Reflection);
System.Xaml.Tests (2)
Common\CustomConstructorInfo.cs (1)
41public override RuntimeMethodHandle MethodHandle => MethodHandleResult.Or(DelegatingConstructor.MethodHandle);
Common\CustomMethodInfo.cs (1)
35public override RuntimeMethodHandle MethodHandle => MethodHandleResult.Or(DelegatingMethod.MethodHandle);
18 references to MethodHandle
illink (1)
ILLink.RoslynAnalyzer (1)
src\tools\illink\src\ILLink.Shared\TrimAnalysis\IntrinsicId.cs (1)
49 /// <see cref="System.Reflection.MethodBase.MethodHandle"/>
Microsoft.CodeAnalysis.XunitHook (2)
XunitDisposeHook.cs (2)
37RuntimeHelpers.PrepareMethod(method.MethodHandle); 38var functionPointer = method.MethodHandle.GetFunctionPointer();
Microsoft.Maui (3)
HotReload\HotReloadExtensions.cs (3)
60 public bool Equals(MethodInfo? g1, MethodInfo? g2) => g1?.MethodHandle == g2?.MethodHandle; 62 public int GetHashCode(MethodInfo obj) => obj.MethodHandle.GetHashCode();
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\Internal\Runtime\InteropServices\ComponentActivator.cs (1)
347functionPtr = methodInfo.MethodHandle.GetFunctionPointer();
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\ConstructorOnTypeBuilderInstantiation.cs (1)
52public override RuntimeMethodHandle MethodHandle => _ctor.MethodHandle;
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodOnTypeBuilderInstantiation.cs (1)
64public override RuntimeMethodHandle MethodHandle => _method.MethodHandle;
src\System\Reflection\MethodBase.CoreCLR.cs (1)
54private IntPtr GetMethodDesc() { return MethodHandle.Value; }
src\System\Reflection\RuntimeCustomAttributeData.cs (1)
260m_ctor = (RuntimeConstructorInfo)m_scope.ResolveMethod(caCtorToken, attributeType.GenericTypeArguments, null)!.MethodHandle.GetMethodInfo();
System.Reflection.Context (2)
System\Reflection\Context\Delegation\DelegatingConstructorInfo.cs (1)
71get { return UnderlyingConstructor.MethodHandle; }
System\Reflection\Context\Delegation\DelegatingMethodInfo.cs (1)
73get { return UnderlyingMethod.MethodHandle; }
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
744result = Activator.CreateInstance(type, [target, mi.MethodHandle.GetFunctionPointer()]);
System.Xaml (1)
System\Xaml\Schema\XamlTypeInvoker.cs (1)
327IntPtr constPtr = tConstInfo.MethodHandle.GetFunctionPointer();
System.Xaml.Tests (2)
Common\CustomConstructorInfo.cs (1)
41public override RuntimeMethodHandle MethodHandle => MethodHandleResult.Or(DelegatingConstructor.MethodHandle);
Common\CustomMethodInfo.cs (1)
35public override RuntimeMethodHandle MethodHandle => MethodHandleResult.Or(DelegatingMethod.MethodHandle);