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