1 implementation of Address
Microsoft.Diagnostics.DataContractReader.Contracts (1)
Contracts\RuntimeTypeSystem\TypeHandleImplementations.cs (1)
17
public TargetPointer
Address
{ get; }
88 references to Address
Microsoft.Diagnostics.DataContractReader.Contracts (63)
Contracts\ComWrappers_1.cs (1)
154
return mt == Data.NativeObjectWrapper.TypeHandle(_target).
Address
;
Contracts\RuntimeMutableTypeSystem_1.cs (1)
57
TargetPointer mtPtr = typeHandle.
Address
;
Contracts\RuntimeTypeSystem_1.cs (56)
523
return _methodTables[typeHandle.
Address
].Module;
547
public bool IsCanonicalMethodTable(ITypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.
Address
].IsCanonMT;
548
public TargetPointer GetParentMethodTable(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? TargetPointer.Null : _methodTables[typeHandle.
Address
].ParentMethodTable;
550
public uint GetBaseSize(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.
Address
].Flags.BaseSize;
552
public uint GetNumInstanceFieldBytes(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.
Address
].Flags.BaseSize - GetClassData(typeHandle).BaseSizePadding;
554
public uint GetComponentSize(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.
Address
].Flags.ComponentSize;
560
MethodTable methodTable = _methodTables[typeHandle.
Address
];
568
MethodTable canonMT = _methodTables[canonMTHandle.
Address
];
614
public bool IsFreeObjectMethodTable(ITypeHandle typeHandle) => FreeObjectMethodTablePointer == typeHandle.
Address
;
616
public bool IsObject(ITypeHandle typeHandle) => ObjectMethodTablePointer != TargetPointer.Null && ObjectMethodTablePointer == typeHandle.
Address
;
618
public bool IsString(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.
Address
].Flags.IsString;
647
public bool ContainsGCPointers(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.
Address
].Flags.ContainsGCPointers;
648
public bool IsByRefLike(ITypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.
Address
].Flags.IsByRefLike;
664
if (!typeHandle.IsMethodTable() || !_methodTables[typeHandle.
Address
].Flags.IsHFA)
672
elementSize = _methodTables[typeHandle.
Address
].Flags.RequiresAlign8 ? 8 : 4;
725
if (!typeHandle.IsMethodTable() || !_methodTables[typeHandle.
Address
].Flags.IsIntrinsicType)
798
public bool RequiresAlign8(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.
Address
].Flags.RequiresAlign8;
836
&& _methodTables[typeHandle.
Address
].ParentMethodTable == ContinuationMethodTablePointer
852
ulong mtAddress = typeHandle.
Address
;
914
public bool IsDynamicStatics(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.
Address
].Flags.IsDynamicStatics;
915
public ushort GetNumInterfaces(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (ushort)0 : _methodTables[typeHandle.
Address
].NumInterfaces;
921
MethodTable methodTable = _methodTables[typeHandle.
Address
];
928
MethodTable methodTable = _methodTables[typeHandle.
Address
];
966
public bool IsTrackedReferenceWithFinalizer(ITypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.
Address
].Flags.IsTrackedReferenceWithFinalizer;
972
MethodTable methodTable = _methodTables[typeHandle.
Address
];
982
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1030
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1034
return _target.ProcessedData.GetOrAdd<TypeInstantiation>(typeHandle.
Address
).TypeHandles;
1041
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1050
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1083
public bool IsGenericTypeDefinition(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.
Address
].Flags.IsGenericTypeDefinition;
1109
return _methodTables[typeHandle.
Address
].Flags.ContainsGenericVariables;
1112
public bool IsCollectible(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.
Address
].Flags.IsCollectible;
1117
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1139
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1183
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1203
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1221
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1246
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1292
if (typeArguments[i] is not ITypeHandle typeArgument || instantiation[i].
Address
!= typeArgument.
Address
)
1302
GetTypeParam(potentialMatch).
Address
== elementType.
Address
&&
1318
if (retAndArgTypes[i] is not ITypeHandle retOrArgType || candidateRetAndArgs[i].
Address
!= retOrArgType.
Address
)
1326
if (typeHandle.
Address
== TargetPointer.Null)
1334
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1350
hash = Mix(hash, argument.
Address
.Value);
1361
hash = Mix(hash, argument.
Address
.Value);
1368
hash = Mix(hash, typeHandle.
Address
.Value);
1445
if (arg.
Address
== TargetPointer.Null)
1588
MethodTable mt = _methodTables[typeHandle.
Address
];
2002
MethodTable mt = _methodTables[typeHandle.
Address
];
2006
return GetVTableIndirections(typeHandle.
Address
).GetAddressOfSlot(slotNum);
2310
Debug.Assert(_methodTables[typeHandle.
Address
].IsCanonMT);
2422
Debug.Assert(_methodTables[typeHandle.
Address
].IsCanonMT);
RuntimeTypeSystemHelpers\ExtensionMethods.cs (5)
12
return type.
Address
!= TargetPointer.Null && ((ulong)type.
Address
& (ulong)RuntimeTypeSystem_1.TypeHandleBits.ValidMask) == (ulong)RuntimeTypeSystem_1.TypeHandleBits.TypeDesc;
17
return type.
Address
!= TargetPointer.Null && ((ulong)type.
Address
& (ulong)RuntimeTypeSystem_1.TypeHandleBits.ValidMask) == (ulong)RuntimeTypeSystem_1.TypeHandleBits.MethodTable;
25
return (ulong)type.
Address
& ~(ulong)RuntimeTypeSystem_1.TypeHandleBits.ValidMask;
Microsoft.Diagnostics.DataContractReader.Legacy (25)
ClrDataValue.cs (1)
1041
&& typeHandle.
Address
== rts.GetWellKnownMethodTable(WellKnownMethodTable.String))
Dbi\DacDbiImpl.cs (15)
3624
*pRetVal = th.
Address
.Value;
3679
*pVmTypeHandle = th.
Address
.Value;
3722
if (th.
Address
== TargetPointer.Null)
5593
corField->id.token1 = rts.GetPrimitiveType(CorElementType.I).
Address
.Value;
5604
corField->id.token1 = mtHandle.
Address
.Value;
5728
pLayout->componentID.token1 = charTypeHandle.
Address
.Value;
5745
pLayout->componentID.token1 = componentTypeHandle.
Address
.Value;
7491
if (a.
Address
== b.
Address
)
7512
if (next == TargetPointer.Null || next == prev || next == current.
Address
)
7514
prev = current.
Address
;
7633
WriteLittleEndian(ref pTypeInfo->ClassTypeData_typeHandle, typeHandle.
Address
.Value);
7652
WriteLittleEndian(ref pTypeInfo->NaryTypeData_typeHandle, typeHandle.
Address
.Value);
7672
WriteLittleEndian(ref typeInfo.vmTypeHandle, typeHandle.
Address
.Value);
7688
WriteLittleEndian(ref typeInfo.vmTypeHandle, typeHandle.
Address
.Value);
EnumMemory\ObjectCollector.cs (2)
95
for (int depth = 0; type.
Address
!= TargetPointer.Null && depth < MaxTypeTraversalDepth; depth++)
98
isException |= type.
Address
== exceptionMethodTable;
SOSDacImpl.cs (7)
1141
data->MTOfType = rtsContract.GetPrimitiveType(CorElementType.U).
Address
.ToClrDataAddress(_target);
1144
data->MTOfType = foundTypeHandle.
Address
.ToClrDataAddress(_target);
1149
data->MTOfType = paramTypeHandle.
Address
.ToClrDataAddress(_target);
1152
data->MTOfType = foundTypeHandle.
Address
.ToClrDataAddress(_target);
1191
data->MTOfEnclosingClass = ctx.
Address
.ToClrDataAddress(_target);
3027
*value = methodTableHandle.
Address
.ToClrDataAddress(_target);
3494
data->ElementTypeHandle = element.
Address
.Value;