1 implementation of Address
Microsoft.Diagnostics.DataContractReader.Contracts (1)
Contracts\RuntimeTypeSystem\TypeHandleImplementations.cs (1)
17
public TargetPointer
Address
{ get; }
83 references to Address
Microsoft.Diagnostics.DataContractReader.Contracts (60)
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 (53)
521
return _methodTables[typeHandle.
Address
].Module;
545
public bool IsCanonicalMethodTable(ITypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.
Address
].IsCanonMT;
546
public TargetPointer GetParentMethodTable(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? TargetPointer.Null : _methodTables[typeHandle.
Address
].ParentMethodTable;
548
public uint GetBaseSize(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.
Address
].Flags.BaseSize;
550
public uint GetNumInstanceFieldBytes(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.
Address
].Flags.BaseSize - GetClassData(typeHandle).BaseSizePadding;
552
public uint GetComponentSize(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.
Address
].Flags.ComponentSize;
558
MethodTable methodTable = _methodTables[typeHandle.
Address
];
566
MethodTable canonMT = _methodTables[canonMTHandle.
Address
];
612
public bool IsFreeObjectMethodTable(ITypeHandle typeHandle) => FreeObjectMethodTablePointer == typeHandle.
Address
;
614
public bool IsObject(ITypeHandle typeHandle) => ObjectMethodTablePointer != TargetPointer.Null && ObjectMethodTablePointer == typeHandle.
Address
;
616
public bool IsString(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.
Address
].Flags.IsString;
645
public bool ContainsGCPointers(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.
Address
].Flags.ContainsGCPointers;
646
public bool IsByRefLike(ITypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.
Address
].Flags.IsByRefLike;
662
if (!typeHandle.IsMethodTable() || !_methodTables[typeHandle.
Address
].Flags.IsHFA)
670
elementSize = _methodTables[typeHandle.
Address
].Flags.RequiresAlign8 ? 8 : 4;
723
if (!typeHandle.IsMethodTable() || !_methodTables[typeHandle.
Address
].Flags.IsIntrinsicType)
796
public bool RequiresAlign8(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.
Address
].Flags.RequiresAlign8;
834
&& _methodTables[typeHandle.
Address
].ParentMethodTable == ContinuationMethodTablePointer
850
ulong mtAddress = typeHandle.
Address
;
912
public bool IsDynamicStatics(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.
Address
].Flags.IsDynamicStatics;
913
public ushort GetNumInterfaces(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (ushort)0 : _methodTables[typeHandle.
Address
].NumInterfaces;
919
MethodTable methodTable = _methodTables[typeHandle.
Address
];
926
MethodTable methodTable = _methodTables[typeHandle.
Address
];
964
public bool IsTrackedReferenceWithFinalizer(ITypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.
Address
].Flags.IsTrackedReferenceWithFinalizer;
970
MethodTable methodTable = _methodTables[typeHandle.
Address
];
980
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1028
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1032
return _target.ProcessedData.GetOrAdd<TypeInstantiation>(typeHandle.
Address
).TypeHandles;
1039
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1048
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1081
public bool IsGenericTypeDefinition(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.
Address
].Flags.IsGenericTypeDefinition;
1107
return _methodTables[typeHandle.
Address
].Flags.ContainsGenericVariables;
1110
public bool IsCollectible(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.
Address
].Flags.IsCollectible;
1115
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1137
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1181
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1201
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1219
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1244
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1290
if (typeArguments[i] is not ITypeHandle typeArgument || instantiation[i].
Address
!= typeArgument.
Address
)
1300
GetTypeParam(potentialMatch).
Address
== elementType.
Address
&&
1316
if (retAndArgTypes[i] is not ITypeHandle retOrArgType || candidateRetAndArgs[i].
Address
!= retOrArgType.
Address
)
1324
if (typeHandle.
Address
== TargetPointer.Null)
1332
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1406
if (arg.
Address
== TargetPointer.Null)
1549
MethodTable mt = _methodTables[typeHandle.
Address
];
1929
MethodTable mt = _methodTables[typeHandle.
Address
];
1933
return GetVTableIndirections(typeHandle.
Address
).GetAddressOfSlot(slotNum);
2246
Debug.Assert(_methodTables[typeHandle.
Address
].IsCanonMT);
2356
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 (23)
ClrDataValue.cs (1)
1041
&& typeHandle.
Address
== rts.GetWellKnownMethodTable(WellKnownMethodTable.String))
Dbi\DacDbiImpl.cs (15)
3581
*pRetVal = th.
Address
.Value;
3636
*pVmTypeHandle = th.
Address
.Value;
3679
if (th.
Address
== TargetPointer.Null)
5561
corField->id.token1 = rts.GetPrimitiveType(CorElementType.I).
Address
.Value;
5572
corField->id.token1 = mtHandle.
Address
.Value;
5696
pLayout->componentID.token1 = charTypeHandle.
Address
.Value;
5713
pLayout->componentID.token1 = componentTypeHandle.
Address
.Value;
6603
if (a.
Address
== b.
Address
)
6624
if (next == TargetPointer.Null || next == prev || next == current.
Address
)
6626
prev = current.
Address
;
6745
WriteLittleEndian(ref pTypeInfo->ClassTypeData_typeHandle, typeHandle.
Address
.Value);
6764
WriteLittleEndian(ref pTypeInfo->NaryTypeData_typeHandle, typeHandle.
Address
.Value);
6784
WriteLittleEndian(ref typeInfo.vmTypeHandle, typeHandle.
Address
.Value);
6800
WriteLittleEndian(ref typeInfo.vmTypeHandle, typeHandle.
Address
.Value);
SOSDacImpl.cs (7)
1150
data->MTOfType = rtsContract.GetPrimitiveType(CorElementType.U).
Address
.ToClrDataAddress(_target);
1153
data->MTOfType = foundTypeHandle.
Address
.ToClrDataAddress(_target);
1158
data->MTOfType = paramTypeHandle.
Address
.ToClrDataAddress(_target);
1161
data->MTOfType = foundTypeHandle.
Address
.ToClrDataAddress(_target);
1200
data->MTOfEnclosingClass = ctx.
Address
.ToClrDataAddress(_target);
3023
*value = methodTableHandle.
Address
.ToClrDataAddress(_target);
3490
data->ElementTypeHandle = element.
Address
.Value;