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 (61)
Contracts\CallingConvention\CallingConvention_1.cs (1)
871
if (byRefLikeType.
Address
== TargetPointer.Null)
Contracts\ComWrappers_1.cs (1)
145
return mt == Data.NativeObjectWrapper.TypeHandle(_target).
Address
;
Contracts\RuntimeMutableTypeSystem_1.cs (1)
57
TargetPointer mtPtr = typeHandle.
Address
;
Contracts\RuntimeTypeSystem_1.cs (53)
542
return _methodTables[typeHandle.
Address
].Module;
566
public bool IsCanonicalMethodTable(ITypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.
Address
].IsCanonMT;
567
public TargetPointer GetParentMethodTable(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? TargetPointer.Null : _methodTables[typeHandle.
Address
].ParentMethodTable;
569
public uint GetBaseSize(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.
Address
].Flags.BaseSize;
571
public uint GetNumInstanceFieldBytes(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.
Address
].Flags.BaseSize - GetClassData(typeHandle).BaseSizePadding;
573
public uint GetComponentSize(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.
Address
].Flags.ComponentSize;
579
MethodTable methodTable = _methodTables[typeHandle.
Address
];
587
MethodTable canonMT = _methodTables[canonMTHandle.
Address
];
633
public bool IsFreeObjectMethodTable(ITypeHandle typeHandle) => FreeObjectMethodTablePointer == typeHandle.
Address
;
635
public bool IsObject(ITypeHandle typeHandle) => ObjectMethodTablePointer != TargetPointer.Null && ObjectMethodTablePointer == typeHandle.
Address
;
637
public bool IsString(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.
Address
].Flags.IsString;
666
public bool ContainsGCPointers(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.
Address
].Flags.ContainsGCPointers;
667
public bool IsByRefLike(ITypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.
Address
].Flags.IsByRefLike;
682
if (!typeHandle.IsMethodTable() || !_methodTables[typeHandle.
Address
].Flags.IsHFA)
690
elementSize = _methodTables[typeHandle.
Address
].Flags.RequiresAlign8 ? 8 : 4;
743
if (!typeHandle.IsMethodTable() || !_methodTables[typeHandle.
Address
].Flags.IsIntrinsicType)
816
public bool RequiresAlign8(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.
Address
].Flags.RequiresAlign8;
819
&& _methodTables[typeHandle.
Address
].ParentMethodTable == ContinuationMethodTablePointer
835
ulong mtAddress = typeHandle.
Address
;
897
public bool IsDynamicStatics(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.
Address
].Flags.IsDynamicStatics;
898
public ushort GetNumInterfaces(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (ushort)0 : _methodTables[typeHandle.
Address
].NumInterfaces;
904
MethodTable methodTable = _methodTables[typeHandle.
Address
];
911
MethodTable methodTable = _methodTables[typeHandle.
Address
];
949
public bool IsTrackedReferenceWithFinalizer(ITypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.
Address
].Flags.IsTrackedReferenceWithFinalizer;
955
MethodTable methodTable = _methodTables[typeHandle.
Address
];
965
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1013
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1017
return _target.ProcessedData.GetOrAdd<TypeInstantiation>(typeHandle.
Address
).TypeHandles;
1024
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1033
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1066
public bool IsGenericTypeDefinition(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.
Address
].Flags.IsGenericTypeDefinition;
1092
return _methodTables[typeHandle.
Address
].Flags.ContainsGenericVariables;
1095
public bool IsCollectible(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.
Address
].Flags.IsCollectible;
1100
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1122
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1166
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1186
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1204
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1229
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1275
if (typeArguments[i] is not ITypeHandle typeArgument || instantiation[i].
Address
!= typeArgument.
Address
)
1285
GetTypeParam(potentialMatch).
Address
== elementType.
Address
&&
1301
if (retAndArgTypes[i] is not ITypeHandle retOrArgType || candidateRetAndArgs[i].
Address
!= retOrArgType.
Address
)
1309
if (typeHandle.
Address
== TargetPointer.Null)
1317
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1391
if (arg.
Address
== TargetPointer.Null)
1534
MethodTable mt = _methodTables[typeHandle.
Address
];
1914
MethodTable mt = _methodTables[typeHandle.
Address
];
1918
return GetVTableIndirections(typeHandle.
Address
).GetAddressOfSlot(slotNum);
2231
Debug.Assert(_methodTables[typeHandle.
Address
].IsCanonMT);
2341
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 (22)
Dbi\DacDbiImpl.cs (15)
3454
*pRetVal = th.
Address
.Value;
3508
*pVmTypeHandle = th.
Address
.Value;
3551
if (th.
Address
== TargetPointer.Null)
5392
corField->id.token1 = rts.GetPrimitiveType(CorElementType.I).
Address
.Value;
5403
corField->id.token1 = mtHandle.
Address
.Value;
5525
pLayout->componentID.token1 = charTypeHandle.
Address
.Value;
5542
pLayout->componentID.token1 = componentTypeHandle.
Address
.Value;
6382
if (a.
Address
== b.
Address
)
6403
if (next == TargetPointer.Null || next == prev || next == current.
Address
)
6405
prev = current.
Address
;
6524
WriteLittleEndian(ref pTypeInfo->ClassTypeData_typeHandle, typeHandle.
Address
.Value);
6543
WriteLittleEndian(ref pTypeInfo->NaryTypeData_typeHandle, typeHandle.
Address
.Value);
6563
WriteLittleEndian(ref typeInfo.vmTypeHandle, typeHandle.
Address
.Value);
6579
WriteLittleEndian(ref typeInfo.vmTypeHandle, typeHandle.
Address
.Value);
SOSDacImpl.cs (7)
1088
data->MTOfType = rtsContract.GetPrimitiveType(CorElementType.U).
Address
.ToClrDataAddress(_target);
1091
data->MTOfType = foundTypeHandle.
Address
.ToClrDataAddress(_target);
1096
data->MTOfType = paramTypeHandle.
Address
.ToClrDataAddress(_target);
1099
data->MTOfType = foundTypeHandle.
Address
.ToClrDataAddress(_target);
1138
data->MTOfEnclosingClass = ctx.
Address
.ToClrDataAddress(_target);
2917
*value = methodTableHandle.
Address
.ToClrDataAddress(_target);
3376
data->ElementTypeHandle = element.
Address
.Value;