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 (60)
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 (53)
521return _methodTables[typeHandle.Address].Module; 545public bool IsCanonicalMethodTable(ITypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.Address].IsCanonMT; 546public TargetPointer GetParentMethodTable(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? TargetPointer.Null : _methodTables[typeHandle.Address].ParentMethodTable; 548public uint GetBaseSize(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.Address].Flags.BaseSize; 550public uint GetNumInstanceFieldBytes(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.Address].Flags.BaseSize - GetClassData(typeHandle).BaseSizePadding; 552public uint GetComponentSize(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.Address].Flags.ComponentSize; 558MethodTable methodTable = _methodTables[typeHandle.Address]; 566MethodTable canonMT = _methodTables[canonMTHandle.Address]; 612public bool IsFreeObjectMethodTable(ITypeHandle typeHandle) => FreeObjectMethodTablePointer == typeHandle.Address; 614public bool IsObject(ITypeHandle typeHandle) => ObjectMethodTablePointer != TargetPointer.Null && ObjectMethodTablePointer == typeHandle.Address; 616public bool IsString(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsString; 645public bool ContainsGCPointers(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.ContainsGCPointers; 646public bool IsByRefLike(ITypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.Address].Flags.IsByRefLike; 662if (!typeHandle.IsMethodTable() || !_methodTables[typeHandle.Address].Flags.IsHFA) 670elementSize = _methodTables[typeHandle.Address].Flags.RequiresAlign8 ? 8 : 4; 723if (!typeHandle.IsMethodTable() || !_methodTables[typeHandle.Address].Flags.IsIntrinsicType) 796public bool RequiresAlign8(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.RequiresAlign8; 834&& _methodTables[typeHandle.Address].ParentMethodTable == ContinuationMethodTablePointer 850ulong mtAddress = typeHandle.Address; 912public bool IsDynamicStatics(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsDynamicStatics; 913public ushort GetNumInterfaces(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (ushort)0 : _methodTables[typeHandle.Address].NumInterfaces; 919MethodTable methodTable = _methodTables[typeHandle.Address]; 926MethodTable methodTable = _methodTables[typeHandle.Address]; 964public bool IsTrackedReferenceWithFinalizer(ITypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.Address].Flags.IsTrackedReferenceWithFinalizer; 970MethodTable methodTable = _methodTables[typeHandle.Address]; 980MethodTable methodTable = _methodTables[typeHandle.Address]; 1028MethodTable methodTable = _methodTables[typeHandle.Address]; 1032return _target.ProcessedData.GetOrAdd<TypeInstantiation>(typeHandle.Address).TypeHandles; 1039MethodTable methodTable = _methodTables[typeHandle.Address]; 1048MethodTable methodTable = _methodTables[typeHandle.Address]; 1081public bool IsGenericTypeDefinition(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsGenericTypeDefinition; 1107return _methodTables[typeHandle.Address].Flags.ContainsGenericVariables; 1110public bool IsCollectible(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsCollectible; 1115MethodTable methodTable = _methodTables[typeHandle.Address]; 1137MethodTable methodTable = _methodTables[typeHandle.Address]; 1181MethodTable methodTable = _methodTables[typeHandle.Address]; 1201MethodTable methodTable = _methodTables[typeHandle.Address]; 1219MethodTable methodTable = _methodTables[typeHandle.Address]; 1244MethodTable methodTable = _methodTables[typeHandle.Address]; 1290if (typeArguments[i] is not ITypeHandle typeArgument || instantiation[i].Address != typeArgument.Address) 1300GetTypeParam(potentialMatch).Address == elementType.Address && 1316if (retAndArgTypes[i] is not ITypeHandle retOrArgType || candidateRetAndArgs[i].Address != retOrArgType.Address) 1324if (typeHandle.Address == TargetPointer.Null) 1332MethodTable methodTable = _methodTables[typeHandle.Address]; 1406if (arg.Address == TargetPointer.Null) 1549MethodTable mt = _methodTables[typeHandle.Address]; 1929MethodTable mt = _methodTables[typeHandle.Address]; 1933return GetVTableIndirections(typeHandle.Address).GetAddressOfSlot(slotNum); 2246Debug.Assert(_methodTables[typeHandle.Address].IsCanonMT); 2356Debug.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 (23)
ClrDataValue.cs (1)
1041&& typeHandle.Address == rts.GetWellKnownMethodTable(WellKnownMethodTable.String))
Dbi\DacDbiImpl.cs (15)
3581*pRetVal = th.Address.Value; 3636*pVmTypeHandle = th.Address.Value; 3679if (th.Address == TargetPointer.Null) 5561corField->id.token1 = rts.GetPrimitiveType(CorElementType.I).Address.Value; 5572corField->id.token1 = mtHandle.Address.Value; 5696pLayout->componentID.token1 = charTypeHandle.Address.Value; 5713pLayout->componentID.token1 = componentTypeHandle.Address.Value; 6603if (a.Address == b.Address) 6624if (next == TargetPointer.Null || next == prev || next == current.Address) 6626prev = current.Address; 6745WriteLittleEndian(ref pTypeInfo->ClassTypeData_typeHandle, typeHandle.Address.Value); 6764WriteLittleEndian(ref pTypeInfo->NaryTypeData_typeHandle, typeHandle.Address.Value); 6784WriteLittleEndian(ref typeInfo.vmTypeHandle, typeHandle.Address.Value); 6800WriteLittleEndian(ref typeInfo.vmTypeHandle, typeHandle.Address.Value);
SOSDacImpl.cs (7)
1150data->MTOfType = rtsContract.GetPrimitiveType(CorElementType.U).Address.ToClrDataAddress(_target); 1153data->MTOfType = foundTypeHandle.Address.ToClrDataAddress(_target); 1158data->MTOfType = paramTypeHandle.Address.ToClrDataAddress(_target); 1161data->MTOfType = foundTypeHandle.Address.ToClrDataAddress(_target); 1200data->MTOfEnclosingClass = ctx.Address.ToClrDataAddress(_target); 3023*value = methodTableHandle.Address.ToClrDataAddress(_target); 3490data->ElementTypeHandle = element.Address.Value;