1 implementation of GetTypeHandle
Microsoft.Diagnostics.DataContractReader.Contracts (1)
Contracts\RuntimeTypeSystem_1.cs (1)
485public ITypeHandle GetTypeHandle(TargetPointer typeHandlePointer)
99 references to GetTypeHandle
Microsoft.Diagnostics.DataContractReader.Contracts (19)
Contracts\CallingConvention\CallingConvention_1.cs (4)
151ITypeHandle owningType = rts.GetTypeHandle(methodTablePtr); 295ITypeHandle typeHandle = rts.GetTypeHandle(methodTablePtr); 337ITypeHandle typeHandle = rts.GetTypeHandle(methodTablePtr); 409return new CdacTypeHandle(rts.GetTypeHandle(objectMt), _target);
Contracts\CodeVersions_1.cs (1)
339ITypeHandle typeHandle = rts.GetTypeHandle(mtAddr);
Contracts\ConditionalWeakTable_1.cs (1)
37ITypeHandle entriesTypeHandle = _target.Contracts.RuntimeTypeSystem.GetTypeHandle(entriesMT);
Contracts\Exception_1.cs (1)
65ITypeHandle stackTraceHandle = rtsContract.GetTypeHandle(mt);
Contracts\ExecutionManager\ExecutionManagerCore.cs (1)
599ITypeHandle th = rts.GetTypeHandle(mtPtr);
Contracts\ManagedTypeSource_1.cs (3)
139ITypeHandle ctx = rts.GetTypeHandle(enclosingMT); 174ITypeHandle ctx = rts.GetTypeHandle(enclosingMT); 279th = _target.Contracts.RuntimeTypeSystem.GetTypeHandle(typeHandlePtr);
Contracts\Object_1.cs (3)
77ITypeHandle typeHandle = typeSystemContract.GetTypeHandle(mt); 176isMulticast = typeSystemContract.IsArray(typeSystemContract.GetTypeHandle(mt), out _); 216ITypeHandle typeHandle = typeSystemContract.GetTypeHandle(mt);
Contracts\Signature\SignatureTypeProvider.cs (3)
80return typeHandlePtr == TargetPointer.Null ? null : _runtimeTypeSystem.GetTypeHandle(typeHandlePtr); 88return typeHandlePtr == TargetPointer.Null ? null : _runtimeTypeSystem.GetTypeHandle(typeHandlePtr); 97: _runtimeTypeSystem.GetTypeHandle(typeHandlePointer);
Contracts\StackWalk\FrameHandling\FrameHelpers.cs (1)
119ITypeHandle mtHandle = rtsContract.GetTypeHandle(stubDispatchFrame.RepresentativeMTPtr);
Contracts\StackWalk\GC\GcScanContext.cs (1)
174ITypeHandle handle = _rts.GetTypeHandle(mt);
Microsoft.Diagnostics.DataContractReader.Legacy (80)
ClrDataFrame.cs (2)
432ITypeHandle typeHandle = rts.GetTypeHandle(mtAddr); 765ITypeHandle declaringType = rts.GetTypeHandle(mtAddr);
ClrDataMethodDefinition.cs (1)
77ITypeHandle mt = rts.GetTypeHandle(mtAddr);
ClrDataMethodInstance.cs (1)
76ITypeHandle mainMT = rts.GetTypeHandle(mtAddr);
ClrDataTypeInstance.cs (1)
159definitionType = definitionTypeAddress == TargetPointer.Null ? null : rts.GetTypeHandle(definitionTypeAddress);
Dbi\DacDbiImpl.cs (40)
255ITypeHandle typeHandle = rts.GetTypeHandle(methodTable); 2235ITypeHandle mt = rts.GetTypeHandle(mtAddr); 2401ITypeHandle typeHandle = rts.GetTypeHandle(mtPtr); 2633ITypeHandle th = rts.GetTypeHandle(new TargetPointer(thExact)); 2900TargetPointer module = rts.GetModule(rts.GetTypeHandle(methodTable)); 2972ITypeHandle th = rts.GetTypeHandle(new TargetPointer(vmTypeHandle)); 2999ITypeHandle typeHandle = rts.GetTypeHandle(new TargetPointer(vmTypeHandle)); 3037ITypeHandle thExactHandle = rts.GetTypeHandle(thExact); 3090ITypeHandle thExactHandle = rts.GetTypeHandle(vmThExact); 3091ITypeHandle thApproxHandle = rts.GetTypeHandle(vmThApprox); 3195ITypeHandle enclosingTh = rts.GetTypeHandle(enclosingMT); 3295ITypeHandle th = rts.GetTypeHandle(new TargetPointer(vmTypeHandle)); 3324ITypeHandle th = rts.GetTypeHandle(mtAddr); 3448ITypeHandle canonTh = rts.GetTypeHandle(canonMtPtr); 3541th = rts.GetTypeHandle(new TargetPointer(vmTh)); 3560return rts.GetTypeHandle(new TargetPointer(vmTh)); 3639ITypeHandle thRepMt = rts.GetTypeHandle(rts.GetMethodTable(pRepMethod)); 3661thSpecificClass = rts.GetTypeHandle(rts.GetMethodTable(pSpecificMethod)); 3667thSpecificClass = rts.GetTypeHandle(new TargetPointer(genericsToken)); 3674ITypeHandle thFromThis = rts.GetTypeHandle(new TargetPointer(genericsToken)); 3698ITypeHandle thSpecMethodMt = rts.GetTypeHandle(specMethodMtPtr); 3710ITypeHandle thCanon = rts.GetTypeHandle(canonMtPtr); 3954return rts.GetTypeHandle(mt); 3970ITypeHandle typeHandle = rts.GetTypeHandle(new TargetPointer(vmTypeHandle)); 4098ITypeHandle typeHandle = rts.GetTypeHandle(parentMT); 4284ITypeHandle th = rts.GetTypeHandle(info.TypeHandle); 4322ITypeHandle th = rts.GetTypeHandle(mtAddr); 4361ITypeHandle th = rts.GetTypeHandle(mt); 4428th = rts.GetTypeHandle(mt); 5061rts.GetTypeHandle(mt); 5312ITypeHandle typeHandle = rts.GetTypeHandle(new TargetPointer(id)); 5324ITypeHandle parentHandle = rts.GetTypeHandle(parentMT); 5365ITypeHandle enclosingTypeHandle = rts.GetTypeHandle(enclosingMT); 5463ITypeHandle typeHandle = rts.GetTypeHandle(new TargetPointer((ulong)id)); 5472ITypeHandle parentHandle = rts.GetTypeHandle(parentMT); 5519ITypeHandle arrayOrStringTypeHandle = rts.GetTypeHandle(new TargetPointer(id)); 6016ITypeHandle typeHandle = rts.GetTypeHandle(mtPtr); 6081ITypeHandle typeHandle = rts.GetTypeHandle(mt); 6406current = rts.GetTypeHandle(next); 6481return rts.GetTypeHandle(parentMT);
Dbi\Helpers\HeapWalk.cs (1)
116ITypeHandle handle = _rts.GetTypeHandle(mt);
Dbi\TypeDataWalk.cs (1)
229return rts.GetTypeHandle(mt);
SigFormat.cs (1)
160ITypeHandle th = runtimeTypeSystem.GetTypeHandle(typeHandlePointer);
SOSDacImpl.cs (23)
1070ITypeHandle ctx = rtsContract.GetTypeHandle(enclosingMT); 2320ITypeHandle typeHandle = rtsContract.GetTypeHandle(methodTableAddr); 2636TargetPointer modulePtr = rtsContract.GetModule(rtsContract.GetTypeHandle(rtsContract.GetMethodTable(methodDescHandle))); 2803ITypeHandle methodTable = contract.GetTypeHandle(mt.ToTargetPointer(_target)); 2876ITypeHandle typeHandle = rtsContract.GetTypeHandle(mtAddress); 2916ITypeHandle methodTableHandle = contract.GetTypeHandle(eeClassReallyCanonMT.ToTargetPointer(_target)); 2946ITypeHandle methodTableHandle = typeSystemContract.GetTypeHandle(mt.ToTargetPointer(_target, overrideCheck: true)); 3018ITypeHandle methodTableHandle = rts.GetTypeHandle(methodTable); // validate MT 3085_target.Contracts.RuntimeTypeSystem.GetTypeHandle(mt.ToTargetPointer(_target)); 3261ITypeHandle typeHandle = rts.GetTypeHandle(mt); 3333ITypeHandle handle = runtimeTypeSystemContract.GetTypeHandle(mt); 5317TargetPointer modulePtr = runtimeTypeSystemContract.GetModule(runtimeTypeSystemContract.GetTypeHandle(runtimeTypeSystemContract.GetMethodTable(methodDescHandle))); 5434ITypeHandle typeHandle = rtsContract.GetTypeHandle(mt.ToTargetPointer(_target)); 5592ITypeHandle typeHandle = rts.GetTypeHandle(mt); 5653ITypeHandle typeHandle = rts.GetTypeHandle(ptr); 6014ITypeHandle methodTableHandle = rtsContract.GetTypeHandle(methodTable.ToTargetPointer(_target)); 6300ITypeHandle mtHandle = rtsContract.GetTypeHandle(mt); 6742ITypeHandle typeHandle = rtsContract.GetTypeHandle(methodTable.ToTargetPointer(_target)); 6783ITypeHandle typeHandle = rtsContract.GetTypeHandle(methodTablePtr); 6836ITypeHandle methodTableHandle = rtsContract.GetTypeHandle(methodTable.ToTargetPointer(_target)); 6913ITypeHandle typeHandle = _rts.GetTypeHandle(mtAddr); 6937ITypeHandle typeHandle = _rts.GetTypeHandle(mtAddr); 7056ITypeHandle methodTableHandle = rts.GetTypeHandle(mt.ToTargetPointer(_target));
SOSDacImpl.IXCLRDataProcess.cs (5)
773yield return _rts.GetTypeHandle(type); 814ITypeHandle mainMT = _rts.GetTypeHandle(mtAddr); 828ITypeHandle methodTypeHandle = _rts.GetTypeHandle(_rts.GetMethodTable(methodDesc)); 865ITypeHandle cmtHandle = _rts.GetTypeHandle(cmt); 894ITypeHandle 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);