1 override of ReadGlobal
Microsoft.Diagnostics.DataContractReader (1)
ContractDescriptorTarget.cs (1)
801public override T ReadGlobal<T>(string name)
66 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)
148byte stubCodeBlockLast = target.ReadGlobal<byte>(Constants.Globals.StubCodeBlockLast); 287if (_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)
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); 552if (_target.ReadGlobal<byte>(Constants.Globals.FeatureCOMInterop) != 0 || _target.ReadGlobal<byte>(Constants.Globals.FeatureComWrappers) != 0 || _target.ReadGlobal<byte>(Constants.Globals.FeatureObjCMarshal) != 0) 556if (_target.ReadGlobal<byte>(Constants.Globals.FeatureJavaMarshal) != 0) 665if (_target.ReadGlobal<byte>(Constants.Globals.FeatureCOMInterop) != 0 && IsRefCounted(type)) 749uint 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); 980uint arrayBaseSize = _target.ReadGlobal<uint>(Constants.Globals.ArrayBaseSize); 2038if (fieldDesc.DWord2 == _target.ReadGlobal<uint>(Constants.Globals.FieldOffsetBigRVA)) 2092if (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)
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)
209int arrayIndex = indexOffset - _target.ReadGlobal<byte>(Constants.Globals.NumberOfTlsOffsetsNotUsedInNoncollectibleArray); 307byte[] 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 (10)
ClrDataAppDomain.cs (1)
106*id = _target.ReadGlobal<uint>(Constants.Globals.DefaultADID);
Dbi\DacDbiImpl.cs (1)
111*pRetVal = vmAppDomain == 0 ? 0u : _target.ReadGlobal<uint>(Constants.Globals.DefaultADID);
Dbi\Helpers\HeapWalk.cs (1)
36_methodTableMask = (ulong)~target.ReadGlobal<byte>(Constants.Globals.ObjectToMethodTableUnmask);
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);