1 implementation of Address
Microsoft.Diagnostics.DataContractReader.Contracts (1)
Contracts\RuntimeTypeSystem\TypeHandleImplementations.cs (1)
17public TargetPointer Address { get; }
88 references to Address
Microsoft.Diagnostics.DataContractReader.Contracts (63)
Contracts\ComWrappers_1.cs (1)
154return mt == Data.NativeObjectWrapper.TypeHandle(_target).Address;
Contracts\RuntimeMutableTypeSystem_1.cs (1)
57TargetPointer mtPtr = typeHandle.Address;
Contracts\RuntimeTypeSystem_1.cs (56)
523return _methodTables[typeHandle.Address].Module; 547public bool IsCanonicalMethodTable(ITypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.Address].IsCanonMT; 548public TargetPointer GetParentMethodTable(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? TargetPointer.Null : _methodTables[typeHandle.Address].ParentMethodTable; 550public uint GetBaseSize(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.Address].Flags.BaseSize; 552public uint GetNumInstanceFieldBytes(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.Address].Flags.BaseSize - GetClassData(typeHandle).BaseSizePadding; 554public uint GetComponentSize(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.Address].Flags.ComponentSize; 560MethodTable methodTable = _methodTables[typeHandle.Address]; 568MethodTable canonMT = _methodTables[canonMTHandle.Address]; 614public bool IsFreeObjectMethodTable(ITypeHandle typeHandle) => FreeObjectMethodTablePointer == typeHandle.Address; 616public bool IsObject(ITypeHandle typeHandle) => ObjectMethodTablePointer != TargetPointer.Null && ObjectMethodTablePointer == typeHandle.Address; 618public bool IsString(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsString; 647public bool ContainsGCPointers(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.ContainsGCPointers; 648public bool IsByRefLike(ITypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.Address].Flags.IsByRefLike; 664if (!typeHandle.IsMethodTable() || !_methodTables[typeHandle.Address].Flags.IsHFA) 672elementSize = _methodTables[typeHandle.Address].Flags.RequiresAlign8 ? 8 : 4; 725if (!typeHandle.IsMethodTable() || !_methodTables[typeHandle.Address].Flags.IsIntrinsicType) 798public bool RequiresAlign8(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.RequiresAlign8; 836&& _methodTables[typeHandle.Address].ParentMethodTable == ContinuationMethodTablePointer 852ulong mtAddress = typeHandle.Address; 914public bool IsDynamicStatics(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsDynamicStatics; 915public ushort GetNumInterfaces(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (ushort)0 : _methodTables[typeHandle.Address].NumInterfaces; 921MethodTable methodTable = _methodTables[typeHandle.Address]; 928MethodTable methodTable = _methodTables[typeHandle.Address]; 966public bool IsTrackedReferenceWithFinalizer(ITypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.Address].Flags.IsTrackedReferenceWithFinalizer; 972MethodTable methodTable = _methodTables[typeHandle.Address]; 982MethodTable methodTable = _methodTables[typeHandle.Address]; 1030MethodTable methodTable = _methodTables[typeHandle.Address]; 1034return _target.ProcessedData.GetOrAdd<TypeInstantiation>(typeHandle.Address).TypeHandles; 1041MethodTable methodTable = _methodTables[typeHandle.Address]; 1050MethodTable methodTable = _methodTables[typeHandle.Address]; 1083public bool IsGenericTypeDefinition(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsGenericTypeDefinition; 1109return _methodTables[typeHandle.Address].Flags.ContainsGenericVariables; 1112public bool IsCollectible(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsCollectible; 1117MethodTable methodTable = _methodTables[typeHandle.Address]; 1139MethodTable methodTable = _methodTables[typeHandle.Address]; 1183MethodTable methodTable = _methodTables[typeHandle.Address]; 1203MethodTable methodTable = _methodTables[typeHandle.Address]; 1221MethodTable methodTable = _methodTables[typeHandle.Address]; 1246MethodTable methodTable = _methodTables[typeHandle.Address]; 1292if (typeArguments[i] is not ITypeHandle typeArgument || instantiation[i].Address != typeArgument.Address) 1302GetTypeParam(potentialMatch).Address == elementType.Address && 1318if (retAndArgTypes[i] is not ITypeHandle retOrArgType || candidateRetAndArgs[i].Address != retOrArgType.Address) 1326if (typeHandle.Address == TargetPointer.Null) 1334MethodTable methodTable = _methodTables[typeHandle.Address]; 1350hash = Mix(hash, argument.Address.Value); 1361hash = Mix(hash, argument.Address.Value); 1368hash = Mix(hash, typeHandle.Address.Value); 1445if (arg.Address == TargetPointer.Null) 1588MethodTable mt = _methodTables[typeHandle.Address]; 2002MethodTable mt = _methodTables[typeHandle.Address]; 2006return GetVTableIndirections(typeHandle.Address).GetAddressOfSlot(slotNum); 2310Debug.Assert(_methodTables[typeHandle.Address].IsCanonMT); 2422Debug.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 (25)
ClrDataValue.cs (1)
1041&& typeHandle.Address == rts.GetWellKnownMethodTable(WellKnownMethodTable.String))
Dbi\DacDbiImpl.cs (15)
3624*pRetVal = th.Address.Value; 3679*pVmTypeHandle = th.Address.Value; 3722if (th.Address == TargetPointer.Null) 5593corField->id.token1 = rts.GetPrimitiveType(CorElementType.I).Address.Value; 5604corField->id.token1 = mtHandle.Address.Value; 5728pLayout->componentID.token1 = charTypeHandle.Address.Value; 5745pLayout->componentID.token1 = componentTypeHandle.Address.Value; 7491if (a.Address == b.Address) 7512if (next == TargetPointer.Null || next == prev || next == current.Address) 7514prev = current.Address; 7633WriteLittleEndian(ref pTypeInfo->ClassTypeData_typeHandle, typeHandle.Address.Value); 7652WriteLittleEndian(ref pTypeInfo->NaryTypeData_typeHandle, typeHandle.Address.Value); 7672WriteLittleEndian(ref typeInfo.vmTypeHandle, typeHandle.Address.Value); 7688WriteLittleEndian(ref typeInfo.vmTypeHandle, typeHandle.Address.Value);
EnumMemory\ObjectCollector.cs (2)
95for (int depth = 0; type.Address != TargetPointer.Null && depth < MaxTypeTraversalDepth; depth++) 98isException |= type.Address == exceptionMethodTable;
SOSDacImpl.cs (7)
1141data->MTOfType = rtsContract.GetPrimitiveType(CorElementType.U).Address.ToClrDataAddress(_target); 1144data->MTOfType = foundTypeHandle.Address.ToClrDataAddress(_target); 1149data->MTOfType = paramTypeHandle.Address.ToClrDataAddress(_target); 1152data->MTOfType = foundTypeHandle.Address.ToClrDataAddress(_target); 1191data->MTOfEnclosingClass = ctx.Address.ToClrDataAddress(_target); 3027*value = methodTableHandle.Address.ToClrDataAddress(_target); 3494data->ElementTypeHandle = element.Address.Value;