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