1 override of ReadGlobal
Microsoft.Diagnostics.DataContractReader (1)
ContractDescriptorTarget.cs (1)
774public override T ReadGlobal<T>(string name)
65 references to ReadGlobal
Microsoft.Diagnostics.DataContractReader.Contracts (56)
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\ExecutionManager\ExecutionManagerCore.cs (2)
145byte stubCodeBlockLast = target.ReadGlobal<byte>(Constants.Globals.StubCodeBlockLast); 283if (_target.ReadGlobal<byte>(Constants.Globals.FeaturePortableEntrypoints) != 0)
Contracts\ExecutionManager\ExecutionManagerCore.EEJitManager.cs (2)
109bool featureOnStackReplacement = Target.ReadGlobal<byte>(Constants.Globals.FeatureOnStackReplacement) != 0; 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 (17)
51_handlesPerBlock = target.ReadGlobal<uint>(Constants.Globals.HandlesPerBlock); 52_blockInvalid = target.ReadGlobal<byte>(Constants.Globals.BlockInvalid); 54_handleMaxInternalTypes = target.ReadGlobal<uint>(Constants.Globals.HandleMaxInternalTypes); 55_handleSegmentSize = target.ReadGlobal<uint>(Constants.Globals.HandleSegmentSize); 134uint globalMechanismsLength = _target.ReadGlobal<uint>(Constants.Globals.GlobalMechanismsLength); 192_target.ReadGlobal<uint>(Constants.Globals.InterestingDataLength)) 196_target.ReadGlobal<uint>(Constants.Globals.CompactReasonsLength)) 200_target.ReadGlobal<uint>(Constants.Globals.ExpandMechanismsLength)) 204_target.ReadGlobal<uint>(Constants.Globals.InterestingMechanismBitsLength)) 211uint generationTableLength = _target.ReadGlobal<uint>(Constants.Globals.TotalGenerationCount); 232uint fillPointersLength = _target.ReadGlobal<uint>(Constants.Globals.CFinalizeFillPointersLength); 456if (_target.ReadGlobal<byte>(Constants.Globals.FeatureCOMInterop) != 0 || _target.ReadGlobal<byte>(Constants.Globals.FeatureComWrappers) != 0 || _target.ReadGlobal<byte>(Constants.Globals.FeatureObjCMarshal) != 0) 460if (_target.ReadGlobal<byte>(Constants.Globals.FeatureJavaMarshal) != 0) 569if (_target.ReadGlobal<byte>(Constants.Globals.FeatureCOMInterop) != 0 && IsRefCounted(type)) 653uint 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\RuntimeTypeSystem_1.cs (6)
234int tokenRemainderBitCount = target.ReadGlobal<byte>(Constants.Globals.MethodDescTokenRemainderBitCount); 331ulong chunkSize = (ulong)(_chunk.Size + 1) * _target.ReadGlobal<ulong>(Constants.Globals.MethodDescAlignment); 438_methodDescAlignment = target.ReadGlobal<ulong>(Constants.Globals.MethodDescAlignment); 930uint arrayBaseSize = _target.ReadGlobal<uint>(Constants.Globals.ArrayBaseSize); 2025if (fieldDesc.DWord2 == _target.ReadGlobal<uint>(Constants.Globals.FieldOffsetBigRVA)) 2077if (offset == _target.ReadGlobal<uint>(Constants.Globals.FieldOffsetDynamicRVA))
Contracts\StressLog.cs (7)
22uint validSig = target.ReadGlobal<uint>(Constants.Globals.StressLogValidChunkSig); 26public bool HasStressLog() => target.ReadGlobal<byte>(Constants.Globals.StressLogEnabled) != 0; 96if (target.ReadGlobal<byte>(Constants.Globals.StressLogHasModuleTable) == 0) 113uint maxModules = target.ReadGlobal<uint>(Constants.Globals.StressLogMaxModules); 138uint chunkSize = target.ReadGlobal<uint>(Constants.Globals.StressLogChunkSize); 145currentPointer = new TargetPointer((ulong)currentPointer - target.ReadGlobal<ulong>(Constants.Globals.StressLogMaxMessageSize)); 177&& p - currentChunkData.Buf < target.ReadGlobal<ulong>(Constants.Globals.StressLogMaxMessageSize))
Contracts\SyncBlock_1.cs (3)
81owningThreadId = sb.ThinLock & _target.ReadGlobal<uint>(Constants.Globals.SyncBlockMaskLockThreadId); 85recursion = (sb.ThinLock & _target.ReadGlobal<uint>(Constants.Globals.SyncBlockMaskLockRecursionLevel)) >> (int)_target.ReadGlobal<uint>(Constants.Globals.SyncBlockRecursionLevelShift);
Contracts\Thread_1.cs (2)
206int arrayIndex = indexOffset - _target.ReadGlobal<byte>(Constants.Globals.NumberOfTlsOffsetsNotUsedInNoncollectibleArray); 304byte[] rval = new byte[_target.ReadGlobal<uint>(Constants.Globals.SizeOfGenericModeBlock)];
Data\Bucket.cs (1)
17uint numSlots = target.ReadGlobal<uint>(Constants.Globals.HashMapSlotsPerBucket);
Data\ComCallWrapper.cs (1)
19int numInterfaces = (int)target.ReadGlobal<uint>(Constants.Globals.CCWNumInterfaces);
Data\HandleTableMap.cs (1)
18uint arrayLength = target.ReadGlobal<uint>(Constants.Globals.InitialHandleTableArraySize);
Data\RCW.cs (1)
28uint cacheSize = target.ReadGlobal<uint>(Constants.Globals.RCWInterfaceCacheSize);
Data\StressLogChunk.cs (1)
18BufSize = target.ReadGlobal<uint>(Constants.Globals.StressLogChunkSize);
Data\TableSegment.cs (2)
14uint handleBlocksPerSegment = target.ReadGlobal<uint>(Constants.Globals.HandleBlocksPerSegment); 15uint handleMaxInternalTypes = target.ReadGlobal<uint>(Constants.Globals.HandleMaxInternalTypes);
Microsoft.Diagnostics.DataContractReader.Legacy (9)
ClrDataAppDomain.cs (1)
106*id = _target.ReadGlobal<uint>(Constants.Globals.DefaultADID);
Dbi\DacDbiImpl.cs (1)
104*pRetVal = vmAppDomain == 0 ? 0u : _target.ReadGlobal<uint>(Constants.Globals.DefaultADID);
SOSDacImpl.cs (7)
140data->dwId = _target.ReadGlobal<uint>(Constants.Globals.DefaultADID); 770int sizeOfGenericModeBlock = (int)_target.ReadGlobal<uint>(Constants.Globals.SizeOfGenericModeBlock); 2650char directorySeparator = (char)_target.ReadGlobal<byte>(Constants.Globals.DirectorySeparator); 3399if (_target.ReadGlobal<byte>(Constants.Globals.FeatureCOMInterop) != 0 5017if (_target.ReadGlobal<byte>(Constants.Globals.FeatureCOMInterop) == 0) 5250uint MaxClrNotificationArgs = _target.ReadGlobal<uint>(Constants.Globals.MaxClrNotificationArgs); 6037int version = _target.ReadGlobal<byte>(Constants.Globals.SOSBreakingChangeVersion);