1 implementation of GetTypeHandle
Microsoft.Diagnostics.DataContractReader.Contracts (1)
Contracts\RuntimeTypeSystem_1.cs (1)
466public ITypeHandle GetTypeHandle(TargetPointer typeHandlePointer)
128 references to GetTypeHandle
Microsoft.Diagnostics.DataContractReader.Contracts (33)
Contracts\CallingConvention\CallingConvention_1.cs (4)
60ITypeHandle owningTypeHandle = rts.GetTypeHandle(rts.GetMethodTable(methodDesc)); 87ITypeHandle enclosingType = rts.GetTypeHandle(rts.GetMTOfEnclosingClass(fieldDesc)); 197ITypeHandle owningType = rts.GetTypeHandle(methodTablePtr); 345return new CdacTypeHandle(rts.GetTypeHandle(objectMt), _target, this);
Contracts\CallingConvention\SignatureTypeInfoProvider.cs (2)
148: FromExactType(_rts.GetTypeHandle(typeHandlePointer)); 193: _rts.GetTypeHandle(typeHandlePointer);
Contracts\CodeVersions_1.cs (1)
345ITypeHandle typeHandle = rts.GetTypeHandle(mtAddr);
Contracts\ConditionalWeakTable_1.cs (1)
37ITypeHandle entriesTypeHandle = _target.Contracts.RuntimeTypeSystem.GetTypeHandle(entriesMT);
Contracts\Exception_1.cs (1)
67ITypeHandle stackTraceHandle = rtsContract.GetTypeHandle(mt);
Contracts\ExecutionManager\ExecutionManagerCore.cs (1)
826ITypeHandle th = rts.GetTypeHandle(mtPtr);
Contracts\ExternalMemoryHandles_1.cs (1)
38ITypeHandle typeHandle = _rts.GetTypeHandle(handle.TypeHandle);
Contracts\ManagedTypeSource_1.cs (3)
139ITypeHandle ctx = rts.GetTypeHandle(enclosingMT); 174ITypeHandle ctx = rts.GetTypeHandle(enclosingMT); 282th = _target.Contracts.RuntimeTypeSystem.GetTypeHandle(typeHandlePtr);
Contracts\Object_1.cs (3)
83ITypeHandle typeHandle = typeSystemContract.GetTypeHandle(mt); 200isMulticast = typeSystemContract.IsArray(typeSystemContract.GetTypeHandle(mt), out _); 240ITypeHandle typeHandle = typeSystemContract.GetTypeHandle(mt);
Contracts\Signature\SignatureTypeProvider.cs (4)
61ITypeHandle declaringType = _runtimeTypeSystem.GetTypeHandle(_runtimeTypeSystem.GetMethodTable(methodContext)); 89return typeHandlePtr == TargetPointer.Null ? null : _runtimeTypeSystem.GetTypeHandle(typeHandlePtr); 100return typeHandlePtr == TargetPointer.Null ? null : _runtimeTypeSystem.GetTypeHandle(typeHandlePtr); 109: _runtimeTypeSystem.GetTypeHandle(typeHandlePointer);
Contracts\StackWalk\FrameHandling\FrameHelpers.cs (5)
234!CanReadReceiver(md, owner) || (!dispatch && rts.IsValueType(rts.GetTypeHandle(owner)) && !rts.IsUnboxingStub(md))) 254if (!rts.IsString(rts.GetTypeHandle(owner))) 260ModuleHandle module = _target.Contracts.Loader.GetModuleHandleFromModulePtr(rts.GetModule(rts.GetTypeHandle(owner))); 279return rts.IsValueType(rts.GetTypeHandle(rts.GetMethodTable(md))) && !rts.IsUnboxingStub(md); 311ITypeHandle mtHandle = rtsContract.GetTypeHandle(stubDispatchFrame.RepresentativeMTPtr);
Contracts\StackWalk\FrameHandling\MethodGCRefMapLookup.cs (6)
138TargetPointer implementation = _rts.GetMethodDescForSlot(_rts.GetTypeHandle(receiver), destination); 192TargetPointer candidate = _rts.GetMethodDescForSlot(_rts.GetTypeHandle(receiver), source); 199ITypeHandle owner = _rts.GetTypeHandle(_rts.GetMethodTable(method)); 200ITypeHandle implementationOwner = _rts.GetTypeHandle(_rts.GetMethodTable(implementation)); 214TargetPointer canonical = _rts.GetCanonicalMethodTable(_rts.GetTypeHandle(mt.Address)); 231foreach (TargetPointer candidate in _rts.GetIntroducedMethodDescs(_rts.GetTypeHandle(mt.Address)))
Contracts\StackWalk\GC\GCInteriorPointerResolver.cs (1)
79ITypeHandle handle = _rts.GetTypeHandle(mt);
Microsoft.Diagnostics.DataContractReader.Legacy (95)
ClrDataExceptionState.cs (1)
155ITypeHandle typeHandle = _target.Contracts.RuntimeTypeSystem.GetTypeHandle(
ClrDataFrame.cs (3)
469ITypeHandle typeHandle = rts.GetTypeHandle(mtAddr); 508typeHandle = _target.Contracts.RuntimeTypeSystem.GetTypeHandle( 849ITypeHandle declaringType = rts.GetTypeHandle(mtAddr);
ClrDataMethodDefinition.cs (1)
97ITypeHandle mt = rts.GetTypeHandle(mtAddr);
ClrDataMethodInstance.cs (2)
76TargetPointer module = rts.GetModule(rts.GetTypeHandle(methodTable)); 118ITypeHandle mainMT = rts.GetTypeHandle(mtAddr);
ClrDataTypeInstance.cs (1)
235definitionType = definitionTypeAddress == TargetPointer.Null ? null : rts.GetTypeHandle(definitionTypeAddress);
ClrDataValue.cs (5)
517typeHandle = rts.GetTypeParam(rts.GetTypeHandle(methodTable)); 589ITypeHandle arrayType = rts.GetTypeHandle(_target.Contracts.Object.GetMethodTableAddress(_baseAddress)); 649ITypeHandle arrayType = rts.GetTypeHandle(_target.Contracts.Object.GetMethodTableAddress(_baseAddress)); 920current = rts.GetTypeHandle(parent); 942ITypeHandle enclosingType = rts.GetTypeHandle(rts.GetMTOfEnclosingClass(fieldDesc));
Dbi\DacDbiImpl.cs (40)
315ITypeHandle typeHandle = rts.GetTypeHandle(methodTable); 2363ITypeHandle mt = rts.GetTypeHandle(mtAddr); 2531ITypeHandle typeHandle = rts.GetTypeHandle(mtPtr); 2787ITypeHandle th = rts.GetTypeHandle(new TargetPointer(thExact)); 3061TargetPointer module = rts.GetModule(rts.GetTypeHandle(methodTable)); 3133ITypeHandle th = rts.GetTypeHandle(new TargetPointer(vmTypeHandle)); 3161ITypeHandle typeHandle = rts.GetTypeHandle(new TargetPointer(vmTypeHandle)); 3200ITypeHandle thExactHandle = rts.GetTypeHandle(thExact); 3254ITypeHandle? thExactHandle = vmThExact == 0 ? null : rts.GetTypeHandle(vmThExact); 3258ITypeHandle thApproxHandle = rts.GetTypeHandle(vmThApprox); 3362ITypeHandle enclosingTh = rts.GetTypeHandle(enclosingMT); 3463ITypeHandle th = rts.GetTypeHandle(new TargetPointer(vmTypeHandle)); 3493ITypeHandle th = rts.GetTypeHandle(mtAddr); 3618ITypeHandle canonTh = rts.GetTypeHandle(canonMtPtr); 3712th = rts.GetTypeHandle(new TargetPointer(vmTh)); 3731return rts.GetTypeHandle(new TargetPointer(vmTh)); 3811ITypeHandle thRepMt = rts.GetTypeHandle(rts.GetMethodTable(pRepMethod)); 3833thSpecificClass = rts.GetTypeHandle(rts.GetMethodTable(pSpecificMethod)); 3839thSpecificClass = rts.GetTypeHandle(new TargetPointer(genericsToken)); 3846ITypeHandle thFromThis = rts.GetTypeHandle(new TargetPointer(genericsToken)); 3870ITypeHandle thSpecMethodMt = rts.GetTypeHandle(specMethodMtPtr); 3882ITypeHandle thCanon = rts.GetTypeHandle(canonMtPtr); 4131return rts.GetTypeHandle(mt); 4148ITypeHandle typeHandle = rts.GetTypeHandle(new TargetPointer(vmTypeHandle)); 4278ITypeHandle typeHandle = rts.GetTypeHandle(parentMT); 4468ITypeHandle th = rts.GetTypeHandle(info.TypeHandle); 4507ITypeHandle th = rts.GetTypeHandle(mtAddr); 4547ITypeHandle th = rts.GetTypeHandle(mt); 4614th = rts.GetTypeHandle(mt); 5267rts.GetTypeHandle(mt); 5513ITypeHandle typeHandle = rts.GetTypeHandle(new TargetPointer(id)); 5525ITypeHandle parentHandle = rts.GetTypeHandle(parentMT); 5566ITypeHandle enclosingTypeHandle = rts.GetTypeHandle(enclosingMT); 5665ITypeHandle typeHandle = rts.GetTypeHandle(new TargetPointer((ulong)id)); 5674ITypeHandle parentHandle = rts.GetTypeHandle(parentMT); 5722ITypeHandle arrayOrStringTypeHandle = rts.GetTypeHandle(new TargetPointer(id)); 6261ITypeHandle typeHandle = rts.GetTypeHandle(mtPtr); 6327ITypeHandle typeHandle = rts.GetTypeHandle(mt); 7515current = rts.GetTypeHandle(next); 7590return rts.GetTypeHandle(parentMT);
Dbi\Helpers\HeapWalk.cs (1)
116ITypeHandle handle = _rts.GetTypeHandle(mt);
Dbi\TypeDataWalk.cs (1)
228return rts.GetTypeHandle(mt);
EnumMemory\MethodCollector.cs (1)
78TargetPointer module = types.GetModule(types.GetTypeHandle(methodTable));
EnumMemory\ObjectCollector.cs (6)
62ITypeHandle type = types.GetTypeHandle(methodTable); 104type = types.GetTypeHandle(parentMethodTable); 171ITypeHandle exceptionType = types.GetTypeHandle(exceptionMethodTable); 172ITypeHandle objectType = types.GetTypeHandle(types.GetWellKnownMethodTable(WellKnownMethodTable.Object)); 173ITypeHandle derivedType = types.GetTypeHandle(methodTable); 234ITypeHandle type = types.GetTypeHandle(methodTable);
SigFormat.cs (1)
160ITypeHandle th = runtimeTypeSystem.GetTypeHandle(typeHandlePointer);
SOSDacImpl.cs (23)
1123ITypeHandle ctx = rtsContract.GetTypeHandle(enclosingMT); 2421ITypeHandle typeHandle = rtsContract.GetTypeHandle(methodTableAddr); 2740TargetPointer modulePtr = rtsContract.GetModule(rtsContract.GetTypeHandle(rtsContract.GetMethodTable(methodDescHandle))); 2911ITypeHandle methodTable = contract.GetTypeHandle(mt.ToTargetPointer(_target)); 2985ITypeHandle typeHandle = rtsContract.GetTypeHandle(mtAddress); 3026ITypeHandle methodTableHandle = contract.GetTypeHandle(eeClassReallyCanonMT.ToTargetPointer(_target)); 3057ITypeHandle methodTableHandle = typeSystemContract.GetTypeHandle(mt.ToTargetPointer(_target, overrideCheck: true)); 3130ITypeHandle methodTableHandle = rts.GetTypeHandle(methodTable); // validate MT 3198_target.Contracts.RuntimeTypeSystem.GetTypeHandle(mt.ToTargetPointer(_target)); 3378ITypeHandle typeHandle = rts.GetTypeHandle(mt); 3451ITypeHandle handle = runtimeTypeSystemContract.GetTypeHandle(mt); 5476TargetPointer modulePtr = runtimeTypeSystemContract.GetModule(runtimeTypeSystemContract.GetTypeHandle(runtimeTypeSystemContract.GetMethodTable(methodDescHandle))); 5594ITypeHandle typeHandle = rtsContract.GetTypeHandle(mt.ToTargetPointer(_target)); 5758ITypeHandle typeHandle = rts.GetTypeHandle(mt); 5820ITypeHandle typeHandle = rts.GetTypeHandle(ptr); 6187ITypeHandle methodTableHandle = rtsContract.GetTypeHandle(methodTable.ToTargetPointer(_target)); 6480ITypeHandle mtHandle = rtsContract.GetTypeHandle(mt); 6934ITypeHandle typeHandle = rtsContract.GetTypeHandle(methodTable.ToTargetPointer(_target)); 6976ITypeHandle typeHandle = rtsContract.GetTypeHandle(methodTablePtr); 7030ITypeHandle methodTableHandle = rtsContract.GetTypeHandle(methodTable.ToTargetPointer(_target)); 7109ITypeHandle typeHandle = _rts.GetTypeHandle(mtAddr); 7133ITypeHandle typeHandle = _rts.GetTypeHandle(mtAddr); 7257ITypeHandle methodTableHandle = rts.GetTypeHandle(mt.ToTargetPointer(_target));
SOSDacImpl.IXCLRDataProcess.cs (5)
864yield return _rts.GetTypeHandle(type); 905ITypeHandle mainMT = _rts.GetTypeHandle(mtAddr); 919ITypeHandle methodTypeHandle = _rts.GetTypeHandle(_rts.GetMethodTable(methodDesc)); 956ITypeHandle cmtHandle = _rts.GetTypeHandle(cmt); 985ITypeHandle mt = rts.GetTypeHandle(mtAddr);
TypeNameBuilder.cs (4)
86th = runtimeTypeSystem.GetTypeHandle(runtimeTypeSystem.GetMethodTable(method)); 143runtimeTypeSystem.GetModule(runtimeTypeSystem.GetTypeHandle(runtimeTypeSystem.GetMethodTable(method)))); 164ITypeHandle approxOwner = runtimeTypeSystem.GetTypeHandle(runtimeTypeSystem.GetMethodTable(method)); 184possiblyDerivedType = runtimeTypeSystem.GetTypeHandle(parentTypePointer);