1 override of ReadGlobal
Microsoft.Diagnostics.DataContractReader (1)
ContractDescriptorTarget.cs (1)
813public override T ReadGlobal<T>(string name)
56 references to ReadGlobal
Microsoft.Diagnostics.DataContractReader.Contracts (52)
Contracts\BuiltInCOM_1.cs (1)
80ulong thisMask = _target.ReadGlobal<ulong>(Constants.Globals.CCWThisMask);
Contracts\CodeNotifications_1.cs (2)
175public uint Capacity => _target.ReadGlobal<uint>(Constants.Globals.JITNotificationTableSize); 234uint capacity = _target.ReadGlobal<uint>(Constants.Globals.JITNotificationTableSize);
Contracts\Debugger\Debugger_1.cs (2)
138uint maxHijackFunctions = _target.ReadGlobal<uint>(Constants.Globals.MaxHijackFunctions); 177uint maxHijackFunctions = _target.ReadGlobal<uint>(Constants.Globals.MaxHijackFunctions);
Contracts\ExecutionManager\ExecutionManagerCore.cs (1)
148byte stubCodeBlockLast = target.ReadGlobal<byte>(Constants.Globals.StubCodeBlockLast);
Contracts\ExecutionManager\ExecutionManagerCore.EEJitManager.cs (1)
144gcVersion = Target.ReadGlobal<uint>(Constants.Globals.GCInfoVersion);
Contracts\ExecutionManager\ExecutionManagerCore.InterpreterJitManager.cs (1)
104gcVersion = Target.ReadGlobal<uint>(Constants.Globals.GCInfoVersion);
Contracts\ExecutionManager\Helpers\HashMapLookup.cs (1)
26_valueMask = target.ReadGlobal<ulong>(Constants.Globals.HashMapValueMask);
Contracts\GC\GC_1.cs (12)
62_handlesPerBlock = target.ReadGlobal<uint>(Constants.Globals.HandlesPerBlock); 63_blockInvalid = target.ReadGlobal<byte>(Constants.Globals.BlockInvalid); 65_handleMaxInternalTypes = target.ReadGlobal<uint>(Constants.Globals.HandleMaxInternalTypes); 66_handleSegmentSize = target.ReadGlobal<uint>(Constants.Globals.HandleSegmentSize); 146uint globalMechanismsLength = _target.ReadGlobal<uint>(Constants.Globals.GlobalMechanismsLength); 204_target.ReadGlobal<uint>(Constants.Globals.InterestingDataLength)) 208_target.ReadGlobal<uint>(Constants.Globals.CompactReasonsLength)) 212_target.ReadGlobal<uint>(Constants.Globals.ExpandMechanismsLength)) 216_target.ReadGlobal<uint>(Constants.Globals.InterestingMechanismBitsLength)) 223uint generationTableLength = _target.ReadGlobal<uint>(Constants.Globals.TotalGenerationCount); 244uint fillPointersLength = _target.ReadGlobal<uint>(Constants.Globals.CFinalizeFillPointersLength); 750uint cardTableInfoSize = _target.ReadGlobal<uint>(Constants.Globals.CardTableInfoSize);
Contracts\Object_1.cs (5)
25_objectToMethodTableUnmask = target.ReadGlobal<byte>(Constants.Globals.ObjectToMethodTableUnmask); 27_syncBlockIsHashOrSyncBlockIndex = target.ReadGlobal<uint>(Constants.Globals.SyncBlockIsHashOrSyncBlockIndex); 28_syncBlockIsHashCode = target.ReadGlobal<uint>(Constants.Globals.SyncBlockIsHashCode); 29_syncBlockHashCodeMask = target.ReadGlobal<uint>(Constants.Globals.SyncBlockHashCodeMask); 30_syncBlockIndexMask = target.ReadGlobal<uint>(Constants.Globals.SyncBlockIndexMask);
Contracts\RuntimeMutableTypeSystem_1.cs (1)
26return offset == _target.ReadGlobal<uint>(Constants.Globals.FieldOffsetNewEnc);
Contracts\RuntimeTypeSystem_1.cs (6)
221int tokenRemainderBitCount = target.ReadGlobal<byte>(Constants.Globals.MethodDescTokenRemainderBitCount); 318ulong chunkSize = (ulong)(_chunk.Size + 1) * _target.ReadGlobal<ulong>(Constants.Globals.MethodDescAlignment); 431_methodDescAlignment = target.ReadGlobal<ulong>(Constants.Globals.MethodDescAlignment); 1150uint arrayBaseSize = _target.ReadGlobal<uint>(Constants.Globals.ArrayBaseSize); 2220if (fieldDesc.DWord2 == _target.ReadGlobal<uint>(Constants.Globals.FieldOffsetBigRVA)) 2303if (offset == _target.ReadGlobal<uint>(Constants.Globals.FieldOffsetDynamicRVA))
Contracts\StackWalk\GC\GcScanContext.cs (1)
43_objectToMethodTableUnmask = target.ReadGlobal<byte>(Constants.Globals.ObjectToMethodTableUnmask);
Contracts\StressLog.cs (7)
22uint validSig = target.ReadGlobal<uint>(Constants.Globals.StressLogValidChunkSig); 26public bool HasStressLog() => target.ReadGlobal<byte>(Constants.Globals.StressLogEnabled) != 0; 93if (target.ReadGlobal<byte>(Constants.Globals.StressLogHasModuleTable) == 0) 110uint maxModules = target.ReadGlobal<uint>(Constants.Globals.StressLogMaxModules); 137uint chunkSize = target.ReadGlobal<uint>(Constants.Globals.StressLogChunkSize); 144currentPointer = new TargetPointer((ulong)currentPointer - target.ReadGlobal<ulong>(Constants.Globals.StressLogMaxMessageSize)); 176&& p - currentChunkData.Buf < target.ReadGlobal<ulong>(Constants.Globals.StressLogMaxMessageSize))
Contracts\SyncBlock_1.cs (3)
62owningThreadId = sb.ThinLock & _target.ReadGlobal<uint>(Constants.Globals.SyncBlockMaskLockThreadId); 66recursion = (sb.ThinLock & _target.ReadGlobal<uint>(Constants.Globals.SyncBlockMaskLockRecursionLevel)) >> (int)_target.ReadGlobal<uint>(Constants.Globals.SyncBlockRecursionLevelShift);
Contracts\Thread_1.cs (2)
213int arrayIndex = indexOffset - _target.ReadGlobal<byte>(Constants.Globals.NumberOfTlsOffsetsNotUsedInNoncollectibleArray); 312byte[] rval = new byte[_target.ReadGlobal<uint>(Constants.Globals.SizeOfGenericModeBlock)];
Data\Bucket.cs (1)
21uint numSlots = target.ReadGlobal<uint>(Constants.Globals.HashMapSlotsPerBucket);
Data\ComCallWrapper.cs (1)
23int numInterfaces = (int)target.ReadGlobal<uint>(Constants.Globals.CCWNumInterfaces);
Data\HandleTableMap.cs (1)
20uint arrayLength = target.ReadGlobal<uint>(Constants.Globals.InitialHandleTableArraySize);
Data\RCW.cs (1)
32uint cacheSize = target.ReadGlobal<uint>(Constants.Globals.RCWInterfaceCacheSize);
Data\TableSegment.cs (2)
24uint handleBlocksPerSegment = target.ReadGlobal<uint>(Constants.Globals.HandleBlocksPerSegment); 25uint handleMaxInternalTypes = target.ReadGlobal<uint>(Constants.Globals.HandleMaxInternalTypes);
Microsoft.Diagnostics.DataContractReader.Legacy (4)
Dbi\Helpers\HeapWalk.cs (1)
35_methodTableMask = (ulong)~target.ReadGlobal<byte>(Constants.Globals.ObjectToMethodTableUnmask);
SOSDacImpl.cs (3)
749int sizeOfGenericModeBlock = (int)_target.ReadGlobal<uint>(Constants.Globals.SizeOfGenericModeBlock); 2634char directorySeparator = (char)_target.ReadGlobal<byte>(Constants.Globals.DirectorySeparator); 6025int version = _target.ReadGlobal<byte>(Constants.Globals.SOSBreakingChangeVersion);