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