1 write to Address
Microsoft.Diagnostics.DataContractReader.Abstractions (1)
Contracts\IRuntimeTypeSystem.cs (1)
17
Address
= address;
81 references to Address
Microsoft.Diagnostics.DataContractReader.Abstractions (1)
Contracts\IRuntimeTypeSystem.cs (1)
22
public bool IsNull =>
Address
== 0;
Microsoft.Diagnostics.DataContractReader.Contracts (58)
Contracts\ComWrappers_1.cs (1)
147
return mt == Data.NativeObjectWrapper.TypeHandle(_target).
Address
;
Contracts\RuntimeMutableTypeSystem_1.cs (1)
57
TargetPointer mtPtr = typeHandle.
Address
;
Contracts\RuntimeTypeSystem_1.cs (50)
522
return _methodTables[typeHandle.
Address
].Module;
546
public bool IsCanonicalMethodTable(TypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.
Address
].IsCanonMT;
547
public TargetPointer GetParentMethodTable(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? TargetPointer.Null : _methodTables[typeHandle.
Address
].ParentMethodTable;
549
public uint GetBaseSize(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.
Address
].Flags.BaseSize;
551
public uint GetNumInstanceFieldBytes(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.
Address
].Flags.BaseSize - GetClassData(typeHandle).BaseSizePadding;
553
public uint GetComponentSize(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.
Address
].Flags.ComponentSize;
559
MethodTable methodTable = _methodTables[typeHandle.
Address
];
567
MethodTable canonMT = _methodTables[canonMTHandle.
Address
];
582
public bool IsFreeObjectMethodTable(TypeHandle typeHandle) => FreeObjectMethodTablePointer == typeHandle.
Address
;
584
public bool IsObject(TypeHandle typeHandle) => ObjectMethodTablePointer != TargetPointer.Null && ObjectMethodTablePointer == typeHandle.
Address
;
586
public bool IsString(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.
Address
].Flags.IsString;
593
public bool ContainsGCPointers(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.
Address
].Flags.ContainsGCPointers;
594
public bool RequiresAlign8(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.
Address
].Flags.RequiresAlign8;
597
&& _methodTables[typeHandle.
Address
].ParentMethodTable == ContinuationMethodTablePointer
613
ulong mtAddress = typeHandle.
Address
;
675
public bool IsDynamicStatics(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.
Address
].Flags.IsDynamicStatics;
676
public ushort GetNumInterfaces(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (ushort)0 : _methodTables[typeHandle.
Address
].NumInterfaces;
682
MethodTable methodTable = _methodTables[typeHandle.
Address
];
689
MethodTable methodTable = _methodTables[typeHandle.
Address
];
719
public bool IsTrackedReferenceWithFinalizer(TypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.
Address
].Flags.IsTrackedReferenceWithFinalizer;
725
MethodTable methodTable = _methodTables[typeHandle.
Address
];
735
MethodTable methodTable = _methodTables[typeHandle.
Address
];
783
MethodTable methodTable = _methodTables[typeHandle.
Address
];
787
return _target.ProcessedData.GetOrAdd<TypeInstantiation>(typeHandle.
Address
).TypeHandles;
794
MethodTable methodTable = _methodTables[typeHandle.
Address
];
803
MethodTable methodTable = _methodTables[typeHandle.
Address
];
836
public bool IsGenericTypeDefinition(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.
Address
].Flags.IsGenericTypeDefinition;
862
return _methodTables[typeHandle.
Address
].Flags.ContainsGenericVariables;
865
public bool IsCollectible(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.
Address
].Flags.IsCollectible;
870
MethodTable methodTable = _methodTables[typeHandle.
Address
];
892
MethodTable methodTable = _methodTables[typeHandle.
Address
];
936
MethodTable methodTable = _methodTables[typeHandle.
Address
];
956
MethodTable methodTable = _methodTables[typeHandle.
Address
];
974
MethodTable methodTable = _methodTables[typeHandle.
Address
];
999
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1045
if (!(instantiation[i].
Address
== typeArguments[i].
Address
))
1055
GetTypeParam(potentialMatch).
Address
== elementType.
Address
&&
1071
if (candidateRetAndArgs[i].
Address
!= retAndArgTypes[i].
Address
)
1079
if (typeHandle.
Address
== TargetPointer.Null)
1087
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1094
if (typeHandle.
Address
== TargetPointer.Null && corElementType != CorElementType.FnPtr)
1149
if (arg.
Address
== TargetPointer.Null)
1265
MethodTable mt = _methodTables[typeHandle.
Address
];
1603
MethodTable mt = _methodTables[typeHandle.
Address
];
1607
return GetVTableIndirections(typeHandle.
Address
).GetAddressOfSlot(slotNum);
1900
Debug.Assert(_methodTables[typeHandle.
Address
].IsCanonMT);
1988
Debug.Assert(_methodTables[typeHandle.
Address
].IsCanonMT);
Contracts\StackWalk\GC\GcSignatureTypeProvider.cs (1)
180
if (typeHandle.
Address
== TargetPointer.Null)
RuntimeTypeSystemHelpers\ExtensionMethods.cs (5)
12
return type.
Address
!= 0 && ((ulong)type.
Address
& (ulong)RuntimeTypeSystem_1.TypeHandleBits.ValidMask) == (ulong)RuntimeTypeSystem_1.TypeHandleBits.TypeDesc;
17
return type.
Address
!= 0 && ((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)
2324
if (th.
Address
== TargetPointer.Null)
2326
*pVmTypeHandle = th.
Address
.Value;
2369
if (th.
Address
== TargetPointer.Null)
3699
corField->id.token1 = rts.GetPrimitiveType(CorElementType.I).
Address
.Value;
3710
corField->id.token1 = mtHandle.
Address
.Value;
3829
pLayout->componentID.token1 = charTypeHandle.
Address
.Value;
3846
pLayout->componentID.token1 = componentTypeHandle.
Address
.Value;
4495
if (a.
Address
== b.
Address
)
4516
if (next == TargetPointer.Null || next == prev || next == current.
Address
)
4518
prev = current.
Address
;
4637
WriteLittleEndian(ref pTypeInfo->ClassTypeData_typeHandle, typeHandle.
Address
.Value);
4656
WriteLittleEndian(ref pTypeInfo->NaryTypeData_typeHandle, typeHandle.
Address
.Value);
4676
WriteLittleEndian(ref typeInfo.vmTypeHandle, typeHandle.
Address
.Value);
4692
WriteLittleEndian(ref typeInfo.vmTypeHandle, typeHandle.
Address
.Value);
SOSDacImpl.cs (7)
1109
data->MTOfType = rtsContract.GetPrimitiveType(CorElementType.U).
Address
.ToClrDataAddress(_target);
1112
data->MTOfType = foundTypeHandle.
Address
.ToClrDataAddress(_target);
1119
data->MTOfType = paramTypeHandle.
Address
.ToClrDataAddress(_target);
1124
data->MTOfType = foundTypeHandle.
Address
.ToClrDataAddress(_target);
1165
data->MTOfEnclosingClass = ctx.
Address
.ToClrDataAddress(_target);
2927
*value = methodTableHandle.
Address
.ToClrDataAddress(_target);
3384
data->ElementTypeHandle = element.
Address
.Value;