1 implementation of GetTypeHandle
Microsoft.Diagnostics.DataContractReader.Contracts (1)
Contracts\RuntimeTypeSystem_1.cs (1)
465public TypeHandle GetTypeHandle(TargetPointer typeHandlePointer)
86 references to GetTypeHandle
Microsoft.Diagnostics.DataContractReader.Contracts (16)
Contracts\CodeVersions_1.cs (2)
157TypeHandle mt = rts.GetTypeHandle(mtAddr); 345TypeHandle typeHandle = rts.GetTypeHandle(mtAddr);
Contracts\ConditionalWeakTable_1.cs (1)
37TypeHandle entriesTypeHandle = _target.Contracts.RuntimeTypeSystem.GetTypeHandle(entriesMT);
Contracts\Exception_1.cs (1)
66TypeHandle stackTraceHandle = rtsContract.GetTypeHandle(mt);
Contracts\ExecutionManager\ExecutionManagerCore.cs (1)
541TypeHandle th = rts.GetTypeHandle(mtPtr);
Contracts\ManagedTypeSource_1.cs (3)
131TypeHandle ctx = rts.GetTypeHandle(enclosingMT); 166TypeHandle ctx = rts.GetTypeHandle(enclosingMT); 274th = _target.Contracts.RuntimeTypeSystem.GetTypeHandle(typeHandlePtr);
Contracts\Object_1.cs (1)
62TypeHandle typeHandle = typeSystemContract.GetTypeHandle(mt);
Contracts\Signature\SignatureTypeProvider.cs (3)
79return typeHandlePtr == TargetPointer.Null ? new TypeHandle(TargetPointer.Null) : _runtimeTypeSystem.GetTypeHandle(typeHandlePtr); 87return typeHandlePtr == TargetPointer.Null ? new TypeHandle(TargetPointer.Null) : _runtimeTypeSystem.GetTypeHandle(typeHandlePtr); 96: _runtimeTypeSystem.GetTypeHandle(typeHandlePointer);
Contracts\StackWalk\FrameHandling\FrameHelpers.cs (1)
119TypeHandle mtHandle = rtsContract.GetTypeHandle(stubDispatchFrame.RepresentativeMTPtr);
Contracts\StackWalk\GC\GcScanner.cs (1)
336TypeHandle typeHandle = rts.GetTypeHandle(methodTablePtr);
Contracts\StackWalk\GC\GcSignatureTypeProvider.cs (2)
143return ClassifyTypeHandle(_target.Contracts.RuntimeTypeSystem.GetTypeHandle(typeHandlePointer)); 164return ClassifyTypeHandle(_target.Contracts.RuntimeTypeSystem.GetTypeHandle(typeHandlePtr));
Microsoft.Diagnostics.DataContractReader.Legacy (70)
ClrDataFrame.cs (2)
415TypeHandle typeHandle = rts.GetTypeHandle(mtAddr); 763TypeHandle declaringType = rts.GetTypeHandle(mtAddr);
ClrDataMethodDefinition.cs (1)
48TypeHandle mt = rts.GetTypeHandle(mtAddr);
ClrDataMethodInstance.cs (1)
66TypeHandle mainMT = rts.GetTypeHandle(mtAddr);
Dbi\DacDbiImpl.cs (33)
1442TypeHandle typeHandle = rts.GetTypeHandle(mtPtr); 1662Contracts.TypeHandle th = rts.GetTypeHandle(new TargetPointer(thExact)); 1820Contracts.TypeHandle th = rts.GetTypeHandle(new TargetPointer(vmTypeHandle)); 1847TypeHandle typeHandle = rts.GetTypeHandle(new TargetPointer(vmTypeHandle)); 1885TypeHandle thExactHandle = rts.GetTypeHandle(thExact); 1941TypeHandle thExactHandle = rts.GetTypeHandle(vmThExact); 1942TypeHandle thApproxHandle = rts.GetTypeHandle(vmThApprox); 2049TypeHandle enclosingTh = rts.GetTypeHandle(enclosingMT); 2149TypeHandle th = rts.GetTypeHandle(new TargetPointer(vmTypeHandle)); 2178TypeHandle th = rts.GetTypeHandle(mtAddr); 2359th = rts.GetTypeHandle(new TargetPointer(vmTh)); 2378return rts.GetTypeHandle(new TargetPointer(vmTh)); 2404return rts.GetTypeHandle(mt); 2475TypeHandle thRepMt = rts.GetTypeHandle(rts.GetMethodTable(pRepMethod)); 2497thSpecificClass = rts.GetTypeHandle(rts.GetMethodTable(pSpecificMethod)); 2503thSpecificClass = rts.GetTypeHandle(new TargetPointer(genericsToken)); 2510TypeHandle thFromThis = rts.GetTypeHandle(new TargetPointer(genericsToken)); 2534TypeHandle thSpecMethodMt = rts.GetTypeHandle(specMethodMtPtr); 2546TypeHandle thCanon = rts.GetTypeHandle(canonMtPtr); 2682TypeHandle typeHandle = rts.GetTypeHandle(new TargetPointer(vmTypeHandle)); 2815TypeHandle typeHandle = rts.GetTypeHandle(parentMT); 3495TypeHandle th = rts.GetTypeHandle(mt); 3505TypeHandle canonTh = rts.GetTypeHandle(canonMT); 3619TypeHandle typeHandle = rts.GetTypeHandle(new TargetPointer(id)); 3631TypeHandle parentHandle = rts.GetTypeHandle(parentMT); 3672TypeHandle enclosingTypeHandle = rts.GetTypeHandle(enclosingMT); 3770TypeHandle typeHandle = rts.GetTypeHandle(new TargetPointer((ulong)id)); 3779TypeHandle parentHandle = rts.GetTypeHandle(parentMT); 3823TypeHandle arrayOrStringTypeHandle = rts.GetTypeHandle(new TargetPointer(id)); 4259TypeHandle typeHandle = rts.GetTypeHandle(mtPtr); 4324TypeHandle typeHandle = rts.GetTypeHandle(mt); 4519current = rts.GetTypeHandle(next); 4594return rts.GetTypeHandle(parentMT);
Dbi\Helpers\HeapWalk.cs (1)
127TypeHandle handle = _rts.GetTypeHandle(mt);
SigFormat.cs (1)
160TypeHandle th = runtimeTypeSystem.GetTypeHandle(typeHandlePointer);
SOSDacImpl.cs (23)
1093TypeHandle ctx = rtsContract.GetTypeHandle(enclosingMT); 2337TypeHandle typeHandle = rtsContract.GetTypeHandle(methodTableAddr); 2646TargetPointer modulePtr = rtsContract.GetModule(rtsContract.GetTypeHandle(rtsContract.GetMethodTable(methodDescHandle))); 2813Contracts.TypeHandle methodTable = contract.GetTypeHandle(mt.ToTargetPointer(_target)); 2886TypeHandle typeHandle = rtsContract.GetTypeHandle(mtAddress); 2926Contracts.TypeHandle methodTableHandle = contract.GetTypeHandle(eeClassReallyCanonMT.ToTargetPointer(_target)); 2956Contracts.TypeHandle methodTableHandle = typeSystemContract.GetTypeHandle(mt.ToTargetPointer(_target, overrideCheck: true)); 3028TypeHandle methodTableHandle = rts.GetTypeHandle(methodTable); // validate MT 3095_target.Contracts.RuntimeTypeSystem.GetTypeHandle(mt.ToTargetPointer(_target)); 3269Contracts.TypeHandle typeHandle = rts.GetTypeHandle(mt); 3341TypeHandle handle = runtimeTypeSystemContract.GetTypeHandle(mt); 5318TargetPointer modulePtr = runtimeTypeSystemContract.GetModule(runtimeTypeSystemContract.GetTypeHandle(runtimeTypeSystemContract.GetMethodTable(methodDescHandle))); 5435Contracts.TypeHandle typeHandle = rtsContract.GetTypeHandle(mt.ToTargetPointer(_target)); 5589TypeHandle typeHandle = rts.GetTypeHandle(mt); 5650TypeHandle typeHandle = rts.GetTypeHandle(ptr); 6009Contracts.TypeHandle methodTableHandle = rtsContract.GetTypeHandle(methodTable.ToTargetPointer(_target)); 6295TypeHandle mtHandle = rtsContract.GetTypeHandle(mt); 6737Contracts.TypeHandle typeHandle = rtsContract.GetTypeHandle(methodTable.ToTargetPointer(_target)); 6778Contracts.TypeHandle typeHandle = rtsContract.GetTypeHandle(methodTablePtr); 6831Contracts.TypeHandle methodTableHandle = rtsContract.GetTypeHandle(methodTable.ToTargetPointer(_target)); 6908TypeHandle typeHandle = _rts.GetTypeHandle(mtAddr); 6932TypeHandle typeHandle = _rts.GetTypeHandle(mtAddr); 7051TypeHandle methodTableHandle = rts.GetTypeHandle(mt.ToTargetPointer(_target));
SOSDacImpl.IXCLRDataProcess.cs (5)
308yield return _rts.GetTypeHandle(type); 349TypeHandle mainMT = _rts.GetTypeHandle(mtAddr); 363TypeHandle methodTypeHandle = _rts.GetTypeHandle(_rts.GetMethodTable(methodDesc)); 400TypeHandle cmtHandle = _rts.GetTypeHandle(cmt); 429TypeHandle mt = rts.GetTypeHandle(mtAddr);
TypeNameBuilder.cs (3)
87th = runtimeTypeSystem.GetTypeHandle(runtimeTypeSystem.GetMethodTable(method)); 167TypeHandle approxOwner = runtimeTypeSystem.GetTypeHandle(runtimeTypeSystem.GetMethodTable(method)); 187possiblyDerivedType = runtimeTypeSystem.GetTypeHandle(parentTypePointer);