1 implementation of GetTypeHandle
Microsoft.Diagnostics.DataContractReader.Contracts (1)
Contracts\RuntimeTypeSystem_1.cs (1)
485public ITypeHandle GetTypeHandle(TargetPointer typeHandlePointer)
110 references to GetTypeHandle
Microsoft.Diagnostics.DataContractReader.Contracts (22)
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)
339ITypeHandle 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)
600ITypeHandle th = rts.GetTypeHandle(mtPtr);
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)
78ITypeHandle typeHandle = typeSystemContract.GetTypeHandle(mt); 195isMulticast = typeSystemContract.IsArray(typeSystemContract.GetTypeHandle(mt), out _); 235ITypeHandle 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 (1)
120ITypeHandle mtHandle = rtsContract.GetTypeHandle(stubDispatchFrame.RepresentativeMTPtr);
Contracts\StackWalk\GC\GcScanContext.cs (1)
174ITypeHandle handle = _rts.GetTypeHandle(mt);
Microsoft.Diagnostics.DataContractReader.Legacy (88)
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)); 119ITypeHandle mainMT = rts.GetTypeHandle(mtAddr);
ClrDataTypeInstance.cs (1)
226definitionType = 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)
297ITypeHandle typeHandle = rts.GetTypeHandle(methodTable); 2319ITypeHandle mt = rts.GetTypeHandle(mtAddr); 2487ITypeHandle typeHandle = rts.GetTypeHandle(mtPtr); 2725ITypeHandle th = rts.GetTypeHandle(new TargetPointer(thExact)); 2999TargetPointer module = rts.GetModule(rts.GetTypeHandle(methodTable)); 3071ITypeHandle th = rts.GetTypeHandle(new TargetPointer(vmTypeHandle)); 3099ITypeHandle typeHandle = rts.GetTypeHandle(new TargetPointer(vmTypeHandle)); 3138ITypeHandle thExactHandle = rts.GetTypeHandle(thExact); 3192ITypeHandle? thExactHandle = vmThExact == 0 ? null : rts.GetTypeHandle(vmThExact); 3196ITypeHandle thApproxHandle = rts.GetTypeHandle(vmThApprox); 3300ITypeHandle enclosingTh = rts.GetTypeHandle(enclosingMT); 3401ITypeHandle th = rts.GetTypeHandle(new TargetPointer(vmTypeHandle)); 3431ITypeHandle th = rts.GetTypeHandle(mtAddr); 3556ITypeHandle canonTh = rts.GetTypeHandle(canonMtPtr); 3650th = rts.GetTypeHandle(new TargetPointer(vmTh)); 3669return rts.GetTypeHandle(new TargetPointer(vmTh)); 3749ITypeHandle thRepMt = rts.GetTypeHandle(rts.GetMethodTable(pRepMethod)); 3771thSpecificClass = rts.GetTypeHandle(rts.GetMethodTable(pSpecificMethod)); 3777thSpecificClass = rts.GetTypeHandle(new TargetPointer(genericsToken)); 3784ITypeHandle thFromThis = rts.GetTypeHandle(new TargetPointer(genericsToken)); 3808ITypeHandle thSpecMethodMt = rts.GetTypeHandle(specMethodMtPtr); 3820ITypeHandle thCanon = rts.GetTypeHandle(canonMtPtr); 4069return rts.GetTypeHandle(mt); 4086ITypeHandle typeHandle = rts.GetTypeHandle(new TargetPointer(vmTypeHandle)); 4216ITypeHandle typeHandle = rts.GetTypeHandle(parentMT); 4406ITypeHandle th = rts.GetTypeHandle(info.TypeHandle); 4445ITypeHandle th = rts.GetTypeHandle(mtAddr); 4485ITypeHandle th = rts.GetTypeHandle(mt); 4552th = rts.GetTypeHandle(mt); 5205rts.GetTypeHandle(mt); 5462ITypeHandle typeHandle = rts.GetTypeHandle(new TargetPointer(id)); 5474ITypeHandle parentHandle = rts.GetTypeHandle(parentMT); 5515ITypeHandle enclosingTypeHandle = rts.GetTypeHandle(enclosingMT); 5614ITypeHandle typeHandle = rts.GetTypeHandle(new TargetPointer((ulong)id)); 5623ITypeHandle parentHandle = rts.GetTypeHandle(parentMT); 5671ITypeHandle arrayOrStringTypeHandle = rts.GetTypeHandle(new TargetPointer(id)); 6210ITypeHandle typeHandle = rts.GetTypeHandle(mtPtr); 6276ITypeHandle typeHandle = rts.GetTypeHandle(mt); 6607current = rts.GetTypeHandle(next); 6682return rts.GetTypeHandle(parentMT);
Dbi\Helpers\HeapWalk.cs (1)
116ITypeHandle handle = _rts.GetTypeHandle(mt);
Dbi\TypeDataWalk.cs (1)
228return rts.GetTypeHandle(mt);
SigFormat.cs (1)
160ITypeHandle th = runtimeTypeSystem.GetTypeHandle(typeHandlePointer);
SOSDacImpl.cs (23)
1113ITypeHandle ctx = rtsContract.GetTypeHandle(enclosingMT); 2400ITypeHandle typeHandle = rtsContract.GetTypeHandle(methodTableAddr); 2717TargetPointer modulePtr = rtsContract.GetModule(rtsContract.GetTypeHandle(rtsContract.GetMethodTable(methodDescHandle))); 2888ITypeHandle methodTable = contract.GetTypeHandle(mt.ToTargetPointer(_target)); 2962ITypeHandle typeHandle = rtsContract.GetTypeHandle(mtAddress); 3003ITypeHandle methodTableHandle = contract.GetTypeHandle(eeClassReallyCanonMT.ToTargetPointer(_target)); 3034ITypeHandle methodTableHandle = typeSystemContract.GetTypeHandle(mt.ToTargetPointer(_target, overrideCheck: true)); 3107ITypeHandle methodTableHandle = rts.GetTypeHandle(methodTable); // validate MT 3175_target.Contracts.RuntimeTypeSystem.GetTypeHandle(mt.ToTargetPointer(_target)); 3349ITypeHandle typeHandle = rts.GetTypeHandle(mt); 3422ITypeHandle handle = runtimeTypeSystemContract.GetTypeHandle(mt); 5447TargetPointer modulePtr = runtimeTypeSystemContract.GetModule(runtimeTypeSystemContract.GetTypeHandle(runtimeTypeSystemContract.GetMethodTable(methodDescHandle))); 5565ITypeHandle typeHandle = rtsContract.GetTypeHandle(mt.ToTargetPointer(_target)); 5726ITypeHandle typeHandle = rts.GetTypeHandle(mt); 5788ITypeHandle typeHandle = rts.GetTypeHandle(ptr); 6155ITypeHandle methodTableHandle = rtsContract.GetTypeHandle(methodTable.ToTargetPointer(_target)); 6448ITypeHandle mtHandle = rtsContract.GetTypeHandle(mt); 6900ITypeHandle typeHandle = rtsContract.GetTypeHandle(methodTable.ToTargetPointer(_target)); 6942ITypeHandle typeHandle = rtsContract.GetTypeHandle(methodTablePtr); 6996ITypeHandle methodTableHandle = rtsContract.GetTypeHandle(methodTable.ToTargetPointer(_target)); 7075ITypeHandle typeHandle = _rts.GetTypeHandle(mtAddr); 7099ITypeHandle typeHandle = _rts.GetTypeHandle(mtAddr); 7223ITypeHandle methodTableHandle = rts.GetTypeHandle(mt.ToTargetPointer(_target));
SOSDacImpl.IXCLRDataProcess.cs (5)
850yield return _rts.GetTypeHandle(type); 891ITypeHandle mainMT = _rts.GetTypeHandle(mtAddr); 905ITypeHandle methodTypeHandle = _rts.GetTypeHandle(_rts.GetMethodTable(methodDesc)); 942ITypeHandle cmtHandle = _rts.GetTypeHandle(cmt); 971ITypeHandle 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);