1 implementation of GetTypeHandle
Microsoft.Diagnostics.DataContractReader.Contracts (1)
Contracts\RuntimeTypeSystem_1.cs (1)
464public ITypeHandle GetTypeHandle(TargetPointer typeHandlePointer)
111 references to GetTypeHandle
Microsoft.Diagnostics.DataContractReader.Contracts (23)
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)
810ITypeHandle th = rts.GetTypeHandle(mtPtr);
Contracts\ExternalMemoryHandles_1.cs (1)
38ITypeHandle typeHandle = _rts.GetTypeHandle(handle.MethodTable);
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 (1)
120ITypeHandle mtHandle = rtsContract.GetTypeHandle(stubDispatchFrame.RepresentativeMTPtr);
Contracts\StackWalk\GC\GCInteriorPointerResolver.cs (1)
79ITypeHandle 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)); 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)
316ITypeHandle typeHandle = rts.GetTypeHandle(methodTable); 2338ITypeHandle mt = rts.GetTypeHandle(mtAddr); 2506ITypeHandle typeHandle = rts.GetTypeHandle(mtPtr); 2744ITypeHandle th = rts.GetTypeHandle(new TargetPointer(thExact)); 3018TargetPointer module = rts.GetModule(rts.GetTypeHandle(methodTable)); 3090ITypeHandle th = rts.GetTypeHandle(new TargetPointer(vmTypeHandle)); 3118ITypeHandle typeHandle = rts.GetTypeHandle(new TargetPointer(vmTypeHandle)); 3157ITypeHandle thExactHandle = rts.GetTypeHandle(thExact); 3211ITypeHandle? thExactHandle = vmThExact == 0 ? null : rts.GetTypeHandle(vmThExact); 3215ITypeHandle thApproxHandle = rts.GetTypeHandle(vmThApprox); 3319ITypeHandle enclosingTh = rts.GetTypeHandle(enclosingMT); 3420ITypeHandle th = rts.GetTypeHandle(new TargetPointer(vmTypeHandle)); 3450ITypeHandle th = rts.GetTypeHandle(mtAddr); 3575ITypeHandle canonTh = rts.GetTypeHandle(canonMtPtr); 3669th = rts.GetTypeHandle(new TargetPointer(vmTh)); 3688return rts.GetTypeHandle(new TargetPointer(vmTh)); 3768ITypeHandle thRepMt = rts.GetTypeHandle(rts.GetMethodTable(pRepMethod)); 3790thSpecificClass = rts.GetTypeHandle(rts.GetMethodTable(pSpecificMethod)); 3796thSpecificClass = rts.GetTypeHandle(new TargetPointer(genericsToken)); 3803ITypeHandle thFromThis = rts.GetTypeHandle(new TargetPointer(genericsToken)); 3827ITypeHandle thSpecMethodMt = rts.GetTypeHandle(specMethodMtPtr); 3839ITypeHandle thCanon = rts.GetTypeHandle(canonMtPtr); 4088return rts.GetTypeHandle(mt); 4105ITypeHandle typeHandle = rts.GetTypeHandle(new TargetPointer(vmTypeHandle)); 4235ITypeHandle typeHandle = rts.GetTypeHandle(parentMT); 4425ITypeHandle th = rts.GetTypeHandle(info.TypeHandle); 4464ITypeHandle th = rts.GetTypeHandle(mtAddr); 4504ITypeHandle th = rts.GetTypeHandle(mt); 4571th = rts.GetTypeHandle(mt); 5224rts.GetTypeHandle(mt); 5481ITypeHandle typeHandle = rts.GetTypeHandle(new TargetPointer(id)); 5493ITypeHandle parentHandle = rts.GetTypeHandle(parentMT); 5534ITypeHandle enclosingTypeHandle = rts.GetTypeHandle(enclosingMT); 5633ITypeHandle typeHandle = rts.GetTypeHandle(new TargetPointer((ulong)id)); 5642ITypeHandle parentHandle = rts.GetTypeHandle(parentMT); 5690ITypeHandle arrayOrStringTypeHandle = rts.GetTypeHandle(new TargetPointer(id)); 6229ITypeHandle typeHandle = rts.GetTypeHandle(mtPtr); 6295ITypeHandle typeHandle = rts.GetTypeHandle(mt); 6627current = rts.GetTypeHandle(next); 6702return 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)
1132ITypeHandle ctx = rtsContract.GetTypeHandle(enclosingMT); 2419ITypeHandle typeHandle = rtsContract.GetTypeHandle(methodTableAddr); 2736TargetPointer modulePtr = rtsContract.GetModule(rtsContract.GetTypeHandle(rtsContract.GetMethodTable(methodDescHandle))); 2907ITypeHandle methodTable = contract.GetTypeHandle(mt.ToTargetPointer(_target)); 2981ITypeHandle typeHandle = rtsContract.GetTypeHandle(mtAddress); 3022ITypeHandle methodTableHandle = contract.GetTypeHandle(eeClassReallyCanonMT.ToTargetPointer(_target)); 3053ITypeHandle methodTableHandle = typeSystemContract.GetTypeHandle(mt.ToTargetPointer(_target, overrideCheck: true)); 3126ITypeHandle methodTableHandle = rts.GetTypeHandle(methodTable); // validate MT 3194_target.Contracts.RuntimeTypeSystem.GetTypeHandle(mt.ToTargetPointer(_target)); 3374ITypeHandle typeHandle = rts.GetTypeHandle(mt); 3447ITypeHandle handle = runtimeTypeSystemContract.GetTypeHandle(mt); 5472TargetPointer modulePtr = runtimeTypeSystemContract.GetModule(runtimeTypeSystemContract.GetTypeHandle(runtimeTypeSystemContract.GetMethodTable(methodDescHandle))); 5590ITypeHandle typeHandle = rtsContract.GetTypeHandle(mt.ToTargetPointer(_target)); 5751ITypeHandle typeHandle = rts.GetTypeHandle(mt); 5813ITypeHandle typeHandle = rts.GetTypeHandle(ptr); 6180ITypeHandle methodTableHandle = rtsContract.GetTypeHandle(methodTable.ToTargetPointer(_target)); 6473ITypeHandle mtHandle = rtsContract.GetTypeHandle(mt); 6927ITypeHandle typeHandle = rtsContract.GetTypeHandle(methodTable.ToTargetPointer(_target)); 6969ITypeHandle typeHandle = rtsContract.GetTypeHandle(methodTablePtr); 7023ITypeHandle methodTableHandle = rtsContract.GetTypeHandle(methodTable.ToTargetPointer(_target)); 7102ITypeHandle typeHandle = _rts.GetTypeHandle(mtAddr); 7126ITypeHandle typeHandle = _rts.GetTypeHandle(mtAddr); 7250ITypeHandle 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);