1 write to Address
Microsoft.Diagnostics.DataContractReader.Abstractions (1)
Contracts\IRuntimeTypeSystem.cs (1)
17
Address
= address;
94 references to Address
Microsoft.Diagnostics.DataContractReader.Abstractions (1)
Contracts\IRuntimeTypeSystem.cs (1)
22
public bool IsNull =>
Address
== 0;
Microsoft.Diagnostics.DataContractReader.Contracts (70)
Contracts\CallingConvention\CallingConvention_1.cs (8)
242
if (probe.
Address
== TargetPointer.Null)
244
if (probe.
Address
!= TargetPointer.Null)
497
if (constructed.
Address
== TargetPointer.Null && genericType.Underlying.
Address
!= TargetPointer.Null)
682
if (probe.
Address
== TargetPointer.Null)
684
if (probe.
Address
!= TargetPointer.Null)
848
if (byRefLikeType.
Address
== TargetPointer.Null)
891
if (nested.
Address
== TargetPointer.Null)
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 (54)
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;
615
public bool ContainsGCPointers(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.
Address
].Flags.ContainsGCPointers;
616
public bool IsByRefLike(TypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.
Address
].Flags.IsByRefLike;
631
if (!typeHandle.IsMethodTable() || !_methodTables[typeHandle.
Address
].Flags.IsHFA)
639
elementSize = _methodTables[typeHandle.
Address
].Flags.RequiresAlign8 ? 8 : 4;
691
if (!typeHandle.IsMethodTable() || !_methodTables[typeHandle.
Address
].Flags.IsIntrinsicType)
764
public bool RequiresAlign8(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.
Address
].Flags.RequiresAlign8;
767
&& _methodTables[typeHandle.
Address
].ParentMethodTable == ContinuationMethodTablePointer
783
ulong mtAddress = typeHandle.
Address
;
845
public bool IsDynamicStatics(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.
Address
].Flags.IsDynamicStatics;
846
public ushort GetNumInterfaces(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (ushort)0 : _methodTables[typeHandle.
Address
].NumInterfaces;
852
MethodTable methodTable = _methodTables[typeHandle.
Address
];
859
MethodTable methodTable = _methodTables[typeHandle.
Address
];
889
public bool IsTrackedReferenceWithFinalizer(TypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.
Address
].Flags.IsTrackedReferenceWithFinalizer;
895
MethodTable methodTable = _methodTables[typeHandle.
Address
];
905
MethodTable methodTable = _methodTables[typeHandle.
Address
];
953
MethodTable methodTable = _methodTables[typeHandle.
Address
];
957
return _target.ProcessedData.GetOrAdd<TypeInstantiation>(typeHandle.
Address
).TypeHandles;
964
MethodTable methodTable = _methodTables[typeHandle.
Address
];
973
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1006
public bool IsGenericTypeDefinition(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.
Address
].Flags.IsGenericTypeDefinition;
1032
return _methodTables[typeHandle.
Address
].Flags.ContainsGenericVariables;
1035
public bool IsCollectible(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.
Address
].Flags.IsCollectible;
1040
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1062
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1106
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1126
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1144
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1169
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1215
if (!(instantiation[i].
Address
== typeArguments[i].
Address
))
1225
GetTypeParam(potentialMatch).
Address
== elementType.
Address
&&
1241
if (candidateRetAndArgs[i].
Address
!= retAndArgTypes[i].
Address
)
1249
if (typeHandle.
Address
== TargetPointer.Null)
1257
MethodTable methodTable = _methodTables[typeHandle.
Address
];
1264
if (typeHandle.
Address
== TargetPointer.Null && corElementType != CorElementType.FnPtr)
1319
if (arg.
Address
== TargetPointer.Null)
1441
MethodTable mt = _methodTables[typeHandle.
Address
];
1779
MethodTable mt = _methodTables[typeHandle.
Address
];
1783
return GetVTableIndirections(typeHandle.
Address
).GetAddressOfSlot(slotNum);
2076
Debug.Assert(_methodTables[typeHandle.
Address
].IsCanonMT);
2170
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 (23)
Dbi\DacDbiImpl.cs (16)
2709
*pRetVal = th.
Address
.Value;
2761
if (th.
Address
== TargetPointer.Null)
2763
*pVmTypeHandle = th.
Address
.Value;
2806
if (th.
Address
== TargetPointer.Null)
4629
corField->id.token1 = rts.GetPrimitiveType(CorElementType.I).
Address
.Value;
4640
corField->id.token1 = mtHandle.
Address
.Value;
4762
pLayout->componentID.token1 = charTypeHandle.
Address
.Value;
4779
pLayout->componentID.token1 = componentTypeHandle.
Address
.Value;
5604
if (a.
Address
== b.
Address
)
5625
if (next == TargetPointer.Null || next == prev || next == current.
Address
)
5627
prev = current.
Address
;
5746
WriteLittleEndian(ref pTypeInfo->ClassTypeData_typeHandle, typeHandle.
Address
.Value);
5765
WriteLittleEndian(ref pTypeInfo->NaryTypeData_typeHandle, typeHandle.
Address
.Value);
5785
WriteLittleEndian(ref typeInfo.vmTypeHandle, typeHandle.
Address
.Value);
5801
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);
1098
data->MTOfType = paramTypeHandle.
Address
.ToClrDataAddress(_target);
1103
data->MTOfType = foundTypeHandle.
Address
.ToClrDataAddress(_target);
1144
data->MTOfEnclosingClass = ctx.
Address
.ToClrDataAddress(_target);
2911
*value = methodTableHandle.
Address
.ToClrDataAddress(_target);
3370
data->ElementTypeHandle = element.
Address
.Value;