1 override of ReadGlobal
Microsoft.Diagnostics.DataContractReader (1)
ContractDescriptorTarget.cs (1)
839public override T ReadGlobal<T>(string name)
54 references to ReadGlobal
Microsoft.Diagnostics.DataContractReader.Contracts (50)
Contracts\CodeNotifications_1.cs (2)
175public uint Capacity => _target.ReadGlobal<uint>(Constants.Globals.JITNotificationTableSize); 232uint capacity = _target.ReadGlobal<uint>(Constants.Globals.JITNotificationTableSize);
Contracts\Debugger\Debugger_1.cs (2)
138uint maxHijackFunctions = _target.ReadGlobal<uint>(Constants.Globals.MaxHijackFunctions); 176uint maxHijackFunctions = _target.ReadGlobal<uint>(Constants.Globals.MaxHijackFunctions);
Contracts\ExecutionManager\ExecutionManagerCore.cs (1)
152byte stubCodeBlockLast = target.ReadGlobal<byte>(Constants.Globals.StubCodeBlockLast);
Contracts\ExecutionManager\ExecutionManagerCore.EEJitManager.cs (1)
146gcVersion = Target.ReadGlobal<uint>(Constants.Globals.GCInfoVersion);
Contracts\ExecutionManager\ExecutionManagerCore.InterpreterJitManager.cs (1)
105gcVersion = 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); 748uint cardTableInfoSize = _target.ReadGlobal<uint>(Constants.Globals.CardTableInfoSize);
Contracts\Object_1.cs (5)
27_objectToMethodTableUnmask = target.ReadGlobal<byte>(Constants.Globals.ObjectToMethodTableUnmask); 29_syncBlockIsHashOrSyncBlockIndex = target.ReadGlobal<uint>(Constants.Globals.SyncBlockIsHashOrSyncBlockIndex); 30_syncBlockIsHashCode = target.ReadGlobal<uint>(Constants.Globals.SyncBlockIsHashCode); 31_syncBlockHashCodeMask = target.ReadGlobal<uint>(Constants.Globals.SyncBlockHashCodeMask); 32_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)
241int tokenRemainderBitCount = target.ReadGlobal<byte>(Constants.Globals.MethodDescTokenRemainderBitCount); 338ulong chunkSize = (ulong)(_chunk.Size + 1) * _target.ReadGlobal<ulong>(Constants.Globals.MethodDescAlignment); 451_methodDescAlignment = target.ReadGlobal<ulong>(Constants.Globals.MethodDescAlignment); 1210uint arrayBaseSize = _target.ReadGlobal<uint>(Constants.Globals.ArrayBaseSize); 2395if (offset == _target.ReadGlobal<uint>(Constants.Globals.FieldOffsetBigRVA)) 2496if (offset == _target.ReadGlobal<uint>(Constants.Globals.FieldOffsetDynamicRVA))
Contracts\StackWalk\GC\GcScanContext.cs (1)
43_objectToMethodTableUnmask = target.ReadGlobal<byte>(Constants.Globals.ObjectToMethodTableUnmask);
Contracts\StressLog.cs (6)
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) 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 (1)
235int arrayIndex = indexOffset - _target.ReadGlobal<byte>(Constants.Globals.NumberOfTlsOffsetsNotUsedInNoncollectibleArray);
Contracts\WindowsErrorReporting_1.cs (1)
54byte[] rval = new byte[_target.ReadGlobal<uint>(Constants.Globals.SizeOfGenericModeBlock)];
Data\Bucket.cs (1)
24uint numSlots = target.ReadGlobal<uint>(Constants.Globals.HashMapSlotsPerBucket);
Data\ComCallWrapper.cs (1)
23int numInterfaces = (int)target.ReadGlobal<uint>(Constants.Globals.CCWNumInterfaces);
Data\HandleTableMap.cs (1)
21uint arrayLength = target.ReadGlobal<uint>(Constants.Globals.InitialHandleTableArraySize);
Data\RCW.cs (1)
32uint cacheSize = target.ReadGlobal<uint>(Constants.Globals.RCWInterfaceCacheSize);
Data\TableSegment.cs (2)
29uint handleBlocksPerSegment = target.ReadGlobal<uint>(Constants.Globals.HandleBlocksPerSegment); 30uint 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)
748int sizeOfGenericModeBlock = (int)_target.ReadGlobal<uint>(Constants.Globals.SizeOfGenericModeBlock); 2640char directorySeparator = (char)_target.ReadGlobal<byte>(Constants.Globals.DirectorySeparator); 6042int version = _target.ReadGlobal<byte>(Constants.Globals.SOSBreakingChangeVersion);