37 references to GetNativeHandle
mscorlib (37)
system\reflection\customattribute.cs (4)
1812
RuntimeFieldHandle.CheckAttributeAccess(field.FieldHandle, decoratedModule.
GetNativeHandle
());
1925
ctor = ModuleHandle.ResolveMethodHandleInternal(decoratedModule.
GetNativeHandle
(), caRecord.tkCtor);
2087
module.
GetNativeHandle
(), &pBlobStart, (byte*)blobEnd, out name, out isProperty, out type, out value);
2118
_GetSecurityAttributes(module.
GetNativeHandle
(), token, assembly, out securityAttributes);
system\reflection\emit\modulebuilder.cs (3)
179
return GetMemberRef(GetNativeHandle(), GetRuntimeModuleFromModule(refedModule).
GetNativeHandle
(), tr, defToken);
510
return GetTypeRef(GetNativeHandle(), typeName, GetRuntimeModuleFromModule(refedModule).
GetNativeHandle
(), strRefedModuleFileName, tkResolution);
644
return InternalModule.
GetNativeHandle
();
system\reflection\module.cs (17)
625
return GetTypes(
GetNativeHandle
());
722
IRuntimeMethodInfo methodHandle = ModuleHandle.ResolveMethodHandleInternal(
GetNativeHandle
(), tk, typeArgs, methodArgs);
806
fieldHandle = ModuleHandle.ResolveFieldHandleInternal(
GetNativeHandle
(), tk, typeArgs, methodArgs);
809
fieldHandle = ModuleHandle.ResolveFieldHandleInternal(
GetNativeHandle
(), metadataToken, typeArgs, methodArgs);
814
int tkDeclaringType = ModuleHandle.GetMetadataImport(
GetNativeHandle
()).GetParentToken(metadataToken);
931
ModuleHandle.GetPEKind(
GetNativeHandle
(), out peKind, out machine);
939
return ModuleHandle.GetMDStreamVersion(
GetNativeHandle
());
986
m_runtimeType = ModuleHandle.GetModuleType(
GetNativeHandle
());
995
return RuntimeModule.nIsTransientInternal(this.
GetNativeHandle
());
1005
return ModuleHandle.GetMetadataImport(
GetNativeHandle
());
1073
GetType(
GetNativeHandle
(), className, throwOnError, ignoreCase, JitHelpers.GetObjectHandleOnStack(ref retType));
1081
GetFullyQualifiedName(
GetNativeHandle
(), JitHelpers.GetStringHandleOnStack(ref fullyQualifiedName));
1118
return GetTypes(
GetNativeHandle
());
1144
return ModuleHandle.GetToken(
GetNativeHandle
());
1150
return IsResource(
GetNativeHandle
());
1186
GetScopeName(
GetNativeHandle
(), JitHelpers.GetStringHandleOnStack(ref scopeName));
1242
GetSignerCertificate(
GetNativeHandle
(), JitHelpers.GetObjectHandleOnStack(ref data));
system\runtime\interopservices\attributes.cs (1)
561
ConstArray nativeType = ModuleHandle.GetMetadataImport(scope.
GetNativeHandle
()).GetFieldMarshal(token);
system\runtime\interopservices\marshal.cs (1)
1050
return GetHINSTANCE(rtModule.
GetNativeHandle
());
system\runtimehandles.cs (11)
652
GetTypeByNameUsingCARules(name, scope.
GetNativeHandle
(), JitHelpers.GetObjectHandleOnStack(ref type));
1984
if (!ModuleHandle.GetMetadataImport(module.
GetNativeHandle
()).IsValidToken(methodToken))
1990
return ResolveMethod(module.
GetNativeHandle
(), methodToken, typeInstArgs, typeInstCount, methodInstArgs, methodInstCount);
2015
if (!ModuleHandle.GetMetadataImport(module.
GetNativeHandle
()).IsValidToken(fieldToken))
2027
ResolveField(module.
GetNativeHandle
(), fieldToken, typeInstArgs, typeInstCount, methodInstArgs, methodInstCount, JitHelpers.GetObjectHandleOnStack(ref field));
2055
return _ContainsPropertyMatchingHash(module.
GetNativeHandle
(), propertyToken, hash);
2068
GetAssembly(module.
GetNativeHandle
(), JitHelpers.GetObjectHandleOnStack(ref retAssembly));
2082
GetModuleType(module.
GetNativeHandle
(), JitHelpers.GetObjectHandleOnStack(ref type));
2097
GetPEKind(module.
GetNativeHandle
(), out lKind, out lMachine);
2110
get { return GetMDStreamVersion(GetRuntimeModule().
GetNativeHandle
()); }
2121
return new MetadataImport(_GetMetadataImport(module.
GetNativeHandle
()), module);