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