1 implementation of GetTypeHandle
Microsoft.Diagnostics.DataContractReader.Contracts (1)
Contracts\RuntimeTypeSystem_1.cs (1)
465public TypeHandle GetTypeHandle(TargetPointer typeHandlePointer)
97 references to GetTypeHandle
Microsoft.Diagnostics.DataContractReader.Contracts (21)
Contracts\CallingConvention\CallingConvention_1.cs (4)
151TypeHandle owningType = rts.GetTypeHandle(methodTablePtr); 276TypeHandle typeHandle = rts.GetTypeHandle(methodTablePtr); 328TypeHandle typeHandle = rts.GetTypeHandle(methodTablePtr); 412return new CdacTypeHandle(rts.GetTypeHandle(objectMt), _target);
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 (2)
75TypeHandle typeHandle = typeSystemContract.GetTypeHandle(mt); 208TypeHandle 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\GcScanContext.cs (1)
174TypeHandle handle = _rts.GetTypeHandle(mt);
Contracts\StackWalk\GC\GcSignatureTypeProvider.cs (2)
143return ClassifyTypeHandle(_target.Contracts.RuntimeTypeSystem.GetTypeHandle(typeHandlePointer)); 164return ClassifyTypeHandle(_target.Contracts.RuntimeTypeSystem.GetTypeHandle(typeHandlePtr));
Microsoft.Diagnostics.DataContractReader.Legacy (76)
ClrDataFrame.cs (2)
413TypeHandle typeHandle = rts.GetTypeHandle(mtAddr); 760TypeHandle declaringType = rts.GetTypeHandle(mtAddr);
ClrDataMethodDefinition.cs (1)
48TypeHandle mt = rts.GetTypeHandle(mtAddr);
ClrDataMethodInstance.cs (1)
66TypeHandle mainMT = rts.GetTypeHandle(mtAddr);
Dbi\DacDbiImpl.cs (38)
1825TypeHandle typeHandle = rts.GetTypeHandle(mtPtr); 2063Contracts.TypeHandle th = rts.GetTypeHandle(new TargetPointer(thExact)); 2221Contracts.TypeHandle th = rts.GetTypeHandle(new TargetPointer(vmTypeHandle)); 2248TypeHandle typeHandle = rts.GetTypeHandle(new TargetPointer(vmTypeHandle)); 2286TypeHandle thExactHandle = rts.GetTypeHandle(thExact); 2342TypeHandle thExactHandle = rts.GetTypeHandle(vmThExact); 2343TypeHandle thApproxHandle = rts.GetTypeHandle(vmThApprox); 2450TypeHandle enclosingTh = rts.GetTypeHandle(enclosingMT); 2550TypeHandle th = rts.GetTypeHandle(new TargetPointer(vmTypeHandle)); 2579TypeHandle th = rts.GetTypeHandle(mtAddr); 2703TypeHandle canonTh = rts.GetTypeHandle(canonMtPtr); 2796th = rts.GetTypeHandle(new TargetPointer(vmTh)); 2815return rts.GetTypeHandle(new TargetPointer(vmTh)); 2890TypeHandle thRepMt = rts.GetTypeHandle(rts.GetMethodTable(pRepMethod)); 2912thSpecificClass = rts.GetTypeHandle(rts.GetMethodTable(pSpecificMethod)); 2918thSpecificClass = rts.GetTypeHandle(new TargetPointer(genericsToken)); 2925TypeHandle thFromThis = rts.GetTypeHandle(new TargetPointer(genericsToken)); 2949TypeHandle thSpecMethodMt = rts.GetTypeHandle(specMethodMtPtr); 2961TypeHandle thCanon = rts.GetTypeHandle(canonMtPtr); 3205return rts.GetTypeHandle(mt); 3221TypeHandle typeHandle = rts.GetTypeHandle(new TargetPointer(vmTypeHandle)); 3354TypeHandle typeHandle = rts.GetTypeHandle(parentMT); 3540TypeHandle th = rts.GetTypeHandle(info.TypeHandle); 3578TypeHandle th = rts.GetTypeHandle(mtAddr); 3617TypeHandle th = rts.GetTypeHandle(mt); 3684th = rts.GetTypeHandle(mt); 4285TypeHandle th = rts.GetTypeHandle(mt); 4295TypeHandle canonTh = rts.GetTypeHandle(canonMT); 4549TypeHandle typeHandle = rts.GetTypeHandle(new TargetPointer(id)); 4561TypeHandle parentHandle = rts.GetTypeHandle(parentMT); 4602TypeHandle enclosingTypeHandle = rts.GetTypeHandle(enclosingMT); 4700TypeHandle typeHandle = rts.GetTypeHandle(new TargetPointer((ulong)id)); 4709TypeHandle parentHandle = rts.GetTypeHandle(parentMT); 4756TypeHandle arrayOrStringTypeHandle = rts.GetTypeHandle(new TargetPointer(id)); 5238TypeHandle typeHandle = rts.GetTypeHandle(mtPtr); 5303TypeHandle typeHandle = rts.GetTypeHandle(mt); 5628current = rts.GetTypeHandle(next); 5703return rts.GetTypeHandle(parentMT);
Dbi\Helpers\HeapWalk.cs (1)
116TypeHandle handle = _rts.GetTypeHandle(mt);
Dbi\TypeDataWalk.cs (1)
233return rts.GetTypeHandle(mt);
SigFormat.cs (1)
160TypeHandle th = runtimeTypeSystem.GetTypeHandle(typeHandlePointer);
SOSDacImpl.cs (23)
1072TypeHandle ctx = rtsContract.GetTypeHandle(enclosingMT); 2321TypeHandle typeHandle = rtsContract.GetTypeHandle(methodTableAddr); 2630TargetPointer modulePtr = rtsContract.GetModule(rtsContract.GetTypeHandle(rtsContract.GetMethodTable(methodDescHandle))); 2797Contracts.TypeHandle methodTable = contract.GetTypeHandle(mt.ToTargetPointer(_target)); 2870TypeHandle typeHandle = rtsContract.GetTypeHandle(mtAddress); 2910Contracts.TypeHandle methodTableHandle = contract.GetTypeHandle(eeClassReallyCanonMT.ToTargetPointer(_target)); 2940Contracts.TypeHandle methodTableHandle = typeSystemContract.GetTypeHandle(mt.ToTargetPointer(_target, overrideCheck: true)); 3012TypeHandle methodTableHandle = rts.GetTypeHandle(methodTable); // validate MT 3079_target.Contracts.RuntimeTypeSystem.GetTypeHandle(mt.ToTargetPointer(_target)); 3255Contracts.TypeHandle typeHandle = rts.GetTypeHandle(mt); 3327TypeHandle handle = runtimeTypeSystemContract.GetTypeHandle(mt); 5306TargetPointer modulePtr = runtimeTypeSystemContract.GetModule(runtimeTypeSystemContract.GetTypeHandle(runtimeTypeSystemContract.GetMethodTable(methodDescHandle))); 5423Contracts.TypeHandle typeHandle = rtsContract.GetTypeHandle(mt.ToTargetPointer(_target)); 5577TypeHandle typeHandle = rts.GetTypeHandle(mt); 5638TypeHandle typeHandle = rts.GetTypeHandle(ptr); 5997Contracts.TypeHandle methodTableHandle = rtsContract.GetTypeHandle(methodTable.ToTargetPointer(_target)); 6283TypeHandle mtHandle = rtsContract.GetTypeHandle(mt); 6725Contracts.TypeHandle typeHandle = rtsContract.GetTypeHandle(methodTable.ToTargetPointer(_target)); 6766Contracts.TypeHandle typeHandle = rtsContract.GetTypeHandle(methodTablePtr); 6819Contracts.TypeHandle methodTableHandle = rtsContract.GetTypeHandle(methodTable.ToTargetPointer(_target)); 6896TypeHandle typeHandle = _rts.GetTypeHandle(mtAddr); 6920TypeHandle typeHandle = _rts.GetTypeHandle(mtAddr); 7039TypeHandle methodTableHandle = rts.GetTypeHandle(mt.ToTargetPointer(_target));
SOSDacImpl.IXCLRDataProcess.cs (5)
307yield return _rts.GetTypeHandle(type); 348TypeHandle mainMT = _rts.GetTypeHandle(mtAddr); 362TypeHandle methodTypeHandle = _rts.GetTypeHandle(_rts.GetMethodTable(methodDesc)); 399TypeHandle cmtHandle = _rts.GetTypeHandle(cmt); 428TypeHandle mt = rts.GetTypeHandle(mtAddr);
TypeNameBuilder.cs (3)
87th = runtimeTypeSystem.GetTypeHandle(runtimeTypeSystem.GetMethodTable(method)); 167TypeHandle approxOwner = runtimeTypeSystem.GetTypeHandle(runtimeTypeSystem.GetMethodTable(method)); 187possiblyDerivedType = runtimeTypeSystem.GetTypeHandle(parentTypePointer);