5 instantiations of QMethodDefinition
System.Private.CoreLib (2)
System\Reflection\Runtime\General\QHandles.cs (1)
113
return new
QMethodDefinition
(reader, token);
System\Reflection\Runtime\MethodInfos\NativeFormat\NativeFormatMethodCommon.cs (1)
30
return ReflectionCoreExecution.ExecutionEnvironment.GetMethodInvoker(DeclaringType, new
QMethodDefinition
(Reader, MethodHandle), methodArguments, exceptionPertainant, out exception);
System.Private.Reflection.Execution (1)
Internal\Reflection\Execution\ExecutionEnvironmentImplementation.MappingTables.cs (1)
690
methodHandle = new
QMethodDefinition
(qTypeDefinition.NativeFormatReader, nativeFormatMethodHandle);
System.Private.TypeLoader (2)
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.LdTokenResultLookup.cs (1)
218
handle = new
QMethodDefinition
(reader, methodHandle);
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.Metadata.cs (1)
894
methodHandle = new
QMethodDefinition
(nameAndSignature.Reader, nameAndSignature.Handle);
35 references to QMethodDefinition
System.Private.CoreLib (9)
Internal\Reflection\Augments\ReflectionAugments.cs (2)
116
QMethodDefinition
methodHandle;
134
QMethodDefinition
methodHandle;
Internal\Reflection\Core\Execution\ExecutionDomain.cs (1)
32
public static MethodBase GetMethod(RuntimeTypeHandle declaringTypeHandle,
QMethodDefinition
methodHandle, RuntimeTypeHandle[] genericMethodTypeArgumentHandles)
Internal\Reflection\Core\Execution\ExecutionEnvironment.cs (4)
57
public abstract MethodBaseInvoker TryGetMethodInvokerNoConstraintCheck(RuntimeTypeHandle declaringTypeHandle,
QMethodDefinition
methodHandle, RuntimeTypeHandle[] genericMethodTypeArgumentHandles);
63
public abstract bool TryGetMethodFromHandle(RuntimeMethodHandle runtimeMethodHandle, out RuntimeTypeHandle declaringTypeHandle, out
QMethodDefinition
methodHandle, out RuntimeTypeHandle[] genericMethodTypeArgumentHandles);
64
public abstract bool TryGetMethodFromHandleAndType(RuntimeMethodHandle runtimeMethodHandle, RuntimeTypeHandle declaringTypeHandle, out
QMethodDefinition
methodHandle, out RuntimeTypeHandle[] genericMethodTypeArgumentHandles);
93
internal MethodBaseInvoker GetMethodInvoker(RuntimeTypeInfo declaringType,
QMethodDefinition
methodHandle, RuntimeTypeInfo[] genericMethodTypeArguments, MemberInfo exceptionPertainant, out Exception exception)
System\Reflection\Runtime\General\QHandles.cs (2)
111
public static
QMethodDefinition
FromObjectAndInt(object reader, int token)
121
public static
QMethodDefinition
Null => default;
System.Private.Reflection.Execution (22)
Internal\Reflection\Execution\ExecutionEnvironmentImplementation.MappingTables.cs (13)
226
public sealed override MethodBaseInvoker TryGetMethodInvokerNoConstraintCheck(RuntimeTypeHandle declaringTypeHandle,
QMethodDefinition
methodHandle, RuntimeTypeHandle[] genericMethodTypeArgumentHandles)
261
private static IntPtr TryGetVirtualResolveData(RuntimeTypeHandle methodHandleDeclaringType,
QMethodDefinition
methodHandle, RuntimeTypeHandle[] genericArgs)
293
QMethodDefinition
methodHandle,
486
internal bool TryGetMethodForOriginalLdFtnResult(IntPtr originalLdFtnResult, ref RuntimeTypeHandle declaringTypeHandle, out
QMethodDefinition
methodHandle, out RuntimeTypeHandle[] genericMethodTypeArgumentHandles)
514
methodHandle = default(
QMethodDefinition
);
519
internal bool TryGetMethodForStartAddress(IntPtr methodStartAddress, ref RuntimeTypeHandle declaringTypeHandle, out
QMethodDefinition
methodHandle)
542
methodHandle = default(
QMethodDefinition
);
611
private unsafe bool TryGetMethodForOriginalLdFtnResult_InvokeMap_Inner(NativeFormatModuleInfo mappingTableModule, bool forStartAddress, IntPtr canonOriginalLdFtnResult, IntPtr instantiationArgument, uint parserOffset, ref RuntimeTypeHandle declaringTypeHandle, out
QMethodDefinition
methodHandle, out RuntimeTypeHandle[] genericMethodTypeArgumentHandles)
613
methodHandle = default(
QMethodDefinition
);
695
private static unsafe bool TryGetMethodForOriginalLdFtnResult_GenericMethodWithInstantiationArgument(IntPtr instantiationArgument, ref RuntimeTypeHandle declaringTypeHandle, out
QMethodDefinition
methodHandle, out RuntimeTypeHandle[] genericMethodTypeArgumentHandles)
708
methodHandle = default(
QMethodDefinition
);
798
public sealed override unsafe bool TryGetMethodFromHandle(RuntimeMethodHandle runtimeMethodHandle, out RuntimeTypeHandle declaringTypeHandle, out
QMethodDefinition
methodHandle, out RuntimeTypeHandle[] genericMethodTypeArgumentHandles)
806
public sealed override bool TryGetMethodFromHandleAndType(RuntimeMethodHandle runtimeMethodHandle, RuntimeTypeHandle declaringTypeHandle, out
QMethodDefinition
methodHandle, out RuntimeTypeHandle[] genericMethodTypeArgumentHandles)
Internal\Reflection\Execution\MethodInvokers\MethodInvokerWithMethodInvokeInfo.cs (1)
34
internal static MethodBaseInvoker CreateMethodInvoker(RuntimeTypeHandle declaringTypeHandle,
QMethodDefinition
methodHandle, MethodInvokeInfo methodInvokeInfo)
Internal\Reflection\Execution\ReflectionExecution.cs (3)
66
ref declaringTypeHandle, out
QMethodDefinition
qMethodDefinition))
88
ref declaringTypeHandle, out
QMethodDefinition
qMethodDefinition))
100
ref declaringTypeHandle, out
QMethodDefinition
qMethodDefinition, out RuntimeTypeHandle[] genericMethodTypeArgumentHandles))
Internal\Reflection\Extensions\NonPortable\DelegateMethodInfoRetriever.cs (5)
22
QMethodDefinition
methodHandle = default(
QMethodDefinition
);
40
methodHandle =
QMethodDefinition
.FromObjectAndInt(resolver->Reader, resolver->Handle);
48
methodHandle =
QMethodDefinition
.FromObjectAndInt(resolver->Reader, resolver->Handle);
50
if (!TypeLoaderEnvironment.Instance.TryGetRuntimeMethodHandleComponents(resolver->GVMMethodHandle, out _, out
QMethodDefinition
dummy, out genericMethodTypeArgumentHandles))
System.Private.TypeLoader (4)
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.LdTokenResultLookup.cs (1)
212
public unsafe bool TryGetRuntimeMethodHandleComponents(RuntimeMethodHandle runtimeMethodHandle, out RuntimeTypeHandle declaringTypeHandle, out
QMethodDefinition
handle, out RuntimeTypeHandle[] genericMethodArgs)
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.Metadata.cs (3)
499
RuntimeTypeHandle methodHandleDeclaringType,
QMethodDefinition
method, RuntimeTypeHandle[] genericArgs,
606
QMethodDefinition
methodHandle,
892
public bool TryGetMetadataForTypeMethodNameAndSignature(RuntimeTypeHandle declaringTypeHandle, MethodNameAndSignature nameAndSignature, out
QMethodDefinition
methodHandle)