1 implementation of GetTypeHandle
Microsoft.Diagnostics.DataContractReader.Contracts (1)
Contracts\RuntimeTypeSystem_1.cs (1)
466
public ITypeHandle
GetTypeHandle
(TargetPointer typeHandlePointer)
128 references to GetTypeHandle
Microsoft.Diagnostics.DataContractReader.Contracts (33)
Contracts\CallingConvention\CallingConvention_1.cs (4)
60
ITypeHandle owningTypeHandle = rts.
GetTypeHandle
(rts.GetMethodTable(methodDesc));
87
ITypeHandle enclosingType = rts.
GetTypeHandle
(rts.GetMTOfEnclosingClass(fieldDesc));
197
ITypeHandle owningType = rts.
GetTypeHandle
(methodTablePtr);
345
return 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)
345
ITypeHandle typeHandle = rts.
GetTypeHandle
(mtAddr);
Contracts\ConditionalWeakTable_1.cs (1)
37
ITypeHandle entriesTypeHandle = _target.Contracts.RuntimeTypeSystem.
GetTypeHandle
(entriesMT);
Contracts\Exception_1.cs (1)
67
ITypeHandle stackTraceHandle = rtsContract.
GetTypeHandle
(mt);
Contracts\ExecutionManager\ExecutionManagerCore.cs (1)
826
ITypeHandle th = rts.
GetTypeHandle
(mtPtr);
Contracts\ExternalMemoryHandles_1.cs (1)
38
ITypeHandle typeHandle = _rts.
GetTypeHandle
(handle.TypeHandle);
Contracts\ManagedTypeSource_1.cs (3)
139
ITypeHandle ctx = rts.
GetTypeHandle
(enclosingMT);
174
ITypeHandle ctx = rts.
GetTypeHandle
(enclosingMT);
282
th = _target.Contracts.RuntimeTypeSystem.
GetTypeHandle
(typeHandlePtr);
Contracts\Object_1.cs (3)
83
ITypeHandle typeHandle = typeSystemContract.
GetTypeHandle
(mt);
200
isMulticast = typeSystemContract.IsArray(typeSystemContract.
GetTypeHandle
(mt), out _);
240
ITypeHandle typeHandle = typeSystemContract.
GetTypeHandle
(mt);
Contracts\Signature\SignatureTypeProvider.cs (4)
61
ITypeHandle declaringType = _runtimeTypeSystem.
GetTypeHandle
(_runtimeTypeSystem.GetMethodTable(methodContext));
89
return typeHandlePtr == TargetPointer.Null ? null : _runtimeTypeSystem.
GetTypeHandle
(typeHandlePtr);
100
return typeHandlePtr == TargetPointer.Null ? null : _runtimeTypeSystem.
GetTypeHandle
(typeHandlePtr);
109
: _runtimeTypeSystem.
GetTypeHandle
(typeHandlePointer);
Contracts\StackWalk\FrameHandling\FrameHelpers.cs (5)
234
!CanReadReceiver(md, owner) || (!dispatch && rts.IsValueType(rts.
GetTypeHandle
(owner)) && !rts.IsUnboxingStub(md)))
254
if (!rts.IsString(rts.
GetTypeHandle
(owner)))
260
ModuleHandle module = _target.Contracts.Loader.GetModuleHandleFromModulePtr(rts.GetModule(rts.
GetTypeHandle
(owner)));
279
return rts.IsValueType(rts.
GetTypeHandle
(rts.GetMethodTable(md))) && !rts.IsUnboxingStub(md);
311
ITypeHandle mtHandle = rtsContract.
GetTypeHandle
(stubDispatchFrame.RepresentativeMTPtr);
Contracts\StackWalk\FrameHandling\MethodGCRefMapLookup.cs (6)
138
TargetPointer implementation = _rts.GetMethodDescForSlot(_rts.
GetTypeHandle
(receiver), destination);
192
TargetPointer candidate = _rts.GetMethodDescForSlot(_rts.
GetTypeHandle
(receiver), source);
199
ITypeHandle owner = _rts.
GetTypeHandle
(_rts.GetMethodTable(method));
200
ITypeHandle implementationOwner = _rts.
GetTypeHandle
(_rts.GetMethodTable(implementation));
214
TargetPointer canonical = _rts.GetCanonicalMethodTable(_rts.
GetTypeHandle
(mt.Address));
231
foreach (TargetPointer candidate in _rts.GetIntroducedMethodDescs(_rts.
GetTypeHandle
(mt.Address)))
Contracts\StackWalk\GC\GCInteriorPointerResolver.cs (1)
79
ITypeHandle handle = _rts.
GetTypeHandle
(mt);
Microsoft.Diagnostics.DataContractReader.Legacy (95)
ClrDataExceptionState.cs (1)
155
ITypeHandle typeHandle = _target.Contracts.RuntimeTypeSystem.
GetTypeHandle
(
ClrDataFrame.cs (3)
469
ITypeHandle typeHandle = rts.
GetTypeHandle
(mtAddr);
508
typeHandle = _target.Contracts.RuntimeTypeSystem.
GetTypeHandle
(
849
ITypeHandle declaringType = rts.
GetTypeHandle
(mtAddr);
ClrDataMethodDefinition.cs (1)
97
ITypeHandle mt = rts.
GetTypeHandle
(mtAddr);
ClrDataMethodInstance.cs (2)
76
TargetPointer module = rts.GetModule(rts.
GetTypeHandle
(methodTable));
118
ITypeHandle mainMT = rts.
GetTypeHandle
(mtAddr);
ClrDataTypeInstance.cs (1)
235
definitionType = definitionTypeAddress == TargetPointer.Null ? null : rts.
GetTypeHandle
(definitionTypeAddress);
ClrDataValue.cs (5)
517
typeHandle = rts.GetTypeParam(rts.
GetTypeHandle
(methodTable));
589
ITypeHandle arrayType = rts.
GetTypeHandle
(_target.Contracts.Object.GetMethodTableAddress(_baseAddress));
649
ITypeHandle arrayType = rts.
GetTypeHandle
(_target.Contracts.Object.GetMethodTableAddress(_baseAddress));
920
current = rts.
GetTypeHandle
(parent);
942
ITypeHandle enclosingType = rts.
GetTypeHandle
(rts.GetMTOfEnclosingClass(fieldDesc));
Dbi\DacDbiImpl.cs (40)
315
ITypeHandle typeHandle = rts.
GetTypeHandle
(methodTable);
2363
ITypeHandle mt = rts.
GetTypeHandle
(mtAddr);
2531
ITypeHandle typeHandle = rts.
GetTypeHandle
(mtPtr);
2787
ITypeHandle th = rts.
GetTypeHandle
(new TargetPointer(thExact));
3061
TargetPointer module = rts.GetModule(rts.
GetTypeHandle
(methodTable));
3133
ITypeHandle th = rts.
GetTypeHandle
(new TargetPointer(vmTypeHandle));
3161
ITypeHandle typeHandle = rts.
GetTypeHandle
(new TargetPointer(vmTypeHandle));
3200
ITypeHandle thExactHandle = rts.
GetTypeHandle
(thExact);
3254
ITypeHandle? thExactHandle = vmThExact == 0 ? null : rts.
GetTypeHandle
(vmThExact);
3258
ITypeHandle thApproxHandle = rts.
GetTypeHandle
(vmThApprox);
3362
ITypeHandle enclosingTh = rts.
GetTypeHandle
(enclosingMT);
3463
ITypeHandle th = rts.
GetTypeHandle
(new TargetPointer(vmTypeHandle));
3493
ITypeHandle th = rts.
GetTypeHandle
(mtAddr);
3618
ITypeHandle canonTh = rts.
GetTypeHandle
(canonMtPtr);
3712
th = rts.
GetTypeHandle
(new TargetPointer(vmTh));
3731
return rts.
GetTypeHandle
(new TargetPointer(vmTh));
3811
ITypeHandle thRepMt = rts.
GetTypeHandle
(rts.GetMethodTable(pRepMethod));
3833
thSpecificClass = rts.
GetTypeHandle
(rts.GetMethodTable(pSpecificMethod));
3839
thSpecificClass = rts.
GetTypeHandle
(new TargetPointer(genericsToken));
3846
ITypeHandle thFromThis = rts.
GetTypeHandle
(new TargetPointer(genericsToken));
3870
ITypeHandle thSpecMethodMt = rts.
GetTypeHandle
(specMethodMtPtr);
3882
ITypeHandle thCanon = rts.
GetTypeHandle
(canonMtPtr);
4131
return rts.
GetTypeHandle
(mt);
4148
ITypeHandle typeHandle = rts.
GetTypeHandle
(new TargetPointer(vmTypeHandle));
4278
ITypeHandle typeHandle = rts.
GetTypeHandle
(parentMT);
4468
ITypeHandle th = rts.
GetTypeHandle
(info.TypeHandle);
4507
ITypeHandle th = rts.
GetTypeHandle
(mtAddr);
4547
ITypeHandle th = rts.
GetTypeHandle
(mt);
4614
th = rts.
GetTypeHandle
(mt);
5267
rts.
GetTypeHandle
(mt);
5513
ITypeHandle typeHandle = rts.
GetTypeHandle
(new TargetPointer(id));
5525
ITypeHandle parentHandle = rts.
GetTypeHandle
(parentMT);
5566
ITypeHandle enclosingTypeHandle = rts.
GetTypeHandle
(enclosingMT);
5665
ITypeHandle typeHandle = rts.
GetTypeHandle
(new TargetPointer((ulong)id));
5674
ITypeHandle parentHandle = rts.
GetTypeHandle
(parentMT);
5722
ITypeHandle arrayOrStringTypeHandle = rts.
GetTypeHandle
(new TargetPointer(id));
6261
ITypeHandle typeHandle = rts.
GetTypeHandle
(mtPtr);
6327
ITypeHandle typeHandle = rts.
GetTypeHandle
(mt);
7515
current = rts.
GetTypeHandle
(next);
7590
return rts.
GetTypeHandle
(parentMT);
Dbi\Helpers\HeapWalk.cs (1)
116
ITypeHandle handle = _rts.
GetTypeHandle
(mt);
Dbi\TypeDataWalk.cs (1)
228
return rts.
GetTypeHandle
(mt);
EnumMemory\MethodCollector.cs (1)
78
TargetPointer module = types.GetModule(types.
GetTypeHandle
(methodTable));
EnumMemory\ObjectCollector.cs (6)
62
ITypeHandle type = types.
GetTypeHandle
(methodTable);
104
type = types.
GetTypeHandle
(parentMethodTable);
171
ITypeHandle exceptionType = types.
GetTypeHandle
(exceptionMethodTable);
172
ITypeHandle objectType = types.
GetTypeHandle
(types.GetWellKnownMethodTable(WellKnownMethodTable.Object));
173
ITypeHandle derivedType = types.
GetTypeHandle
(methodTable);
234
ITypeHandle type = types.
GetTypeHandle
(methodTable);
SigFormat.cs (1)
160
ITypeHandle th = runtimeTypeSystem.
GetTypeHandle
(typeHandlePointer);
SOSDacImpl.cs (23)
1123
ITypeHandle ctx = rtsContract.
GetTypeHandle
(enclosingMT);
2421
ITypeHandle typeHandle = rtsContract.
GetTypeHandle
(methodTableAddr);
2740
TargetPointer modulePtr = rtsContract.GetModule(rtsContract.
GetTypeHandle
(rtsContract.GetMethodTable(methodDescHandle)));
2911
ITypeHandle methodTable = contract.
GetTypeHandle
(mt.ToTargetPointer(_target));
2985
ITypeHandle typeHandle = rtsContract.
GetTypeHandle
(mtAddress);
3026
ITypeHandle methodTableHandle = contract.
GetTypeHandle
(eeClassReallyCanonMT.ToTargetPointer(_target));
3057
ITypeHandle methodTableHandle = typeSystemContract.
GetTypeHandle
(mt.ToTargetPointer(_target, overrideCheck: true));
3130
ITypeHandle methodTableHandle = rts.
GetTypeHandle
(methodTable); // validate MT
3198
_target.Contracts.RuntimeTypeSystem.
GetTypeHandle
(mt.ToTargetPointer(_target));
3378
ITypeHandle typeHandle = rts.
GetTypeHandle
(mt);
3451
ITypeHandle handle = runtimeTypeSystemContract.
GetTypeHandle
(mt);
5476
TargetPointer modulePtr = runtimeTypeSystemContract.GetModule(runtimeTypeSystemContract.
GetTypeHandle
(runtimeTypeSystemContract.GetMethodTable(methodDescHandle)));
5594
ITypeHandle typeHandle = rtsContract.
GetTypeHandle
(mt.ToTargetPointer(_target));
5758
ITypeHandle typeHandle = rts.
GetTypeHandle
(mt);
5820
ITypeHandle typeHandle = rts.
GetTypeHandle
(ptr);
6187
ITypeHandle methodTableHandle = rtsContract.
GetTypeHandle
(methodTable.ToTargetPointer(_target));
6480
ITypeHandle mtHandle = rtsContract.
GetTypeHandle
(mt);
6934
ITypeHandle typeHandle = rtsContract.
GetTypeHandle
(methodTable.ToTargetPointer(_target));
6976
ITypeHandle typeHandle = rtsContract.
GetTypeHandle
(methodTablePtr);
7030
ITypeHandle methodTableHandle = rtsContract.
GetTypeHandle
(methodTable.ToTargetPointer(_target));
7109
ITypeHandle typeHandle = _rts.
GetTypeHandle
(mtAddr);
7133
ITypeHandle typeHandle = _rts.
GetTypeHandle
(mtAddr);
7257
ITypeHandle methodTableHandle = rts.
GetTypeHandle
(mt.ToTargetPointer(_target));
SOSDacImpl.IXCLRDataProcess.cs (5)
864
yield return _rts.
GetTypeHandle
(type);
905
ITypeHandle mainMT = _rts.
GetTypeHandle
(mtAddr);
919
ITypeHandle methodTypeHandle = _rts.
GetTypeHandle
(_rts.GetMethodTable(methodDesc));
956
ITypeHandle cmtHandle = _rts.
GetTypeHandle
(cmt);
985
ITypeHandle mt = rts.
GetTypeHandle
(mtAddr);
TypeNameBuilder.cs (4)
86
th = runtimeTypeSystem.
GetTypeHandle
(runtimeTypeSystem.GetMethodTable(method));
143
runtimeTypeSystem.GetModule(runtimeTypeSystem.
GetTypeHandle
(runtimeTypeSystem.GetMethodTable(method))));
164
ITypeHandle approxOwner = runtimeTypeSystem.
GetTypeHandle
(runtimeTypeSystem.GetMethodTable(method));
184
possiblyDerivedType = runtimeTypeSystem.
GetTypeHandle
(parentTypePointer);