1 override of ReadGlobal
Microsoft.Diagnostics.DataContractReader (1)
ContractDescriptorTarget.cs (1)
774
public override T
ReadGlobal
<T>(string name)
65 references to ReadGlobal
Microsoft.Diagnostics.DataContractReader.Contracts (56)
Contracts\BuiltInCOM_1.cs (1)
80
ulong thisMask = _target.
ReadGlobal
<ulong>(Constants.Globals.CCWThisMask);
Contracts\CodeNotifications_1.cs (2)
175
public uint Capacity => _target.
ReadGlobal
<uint>(Constants.Globals.JITNotificationTableSize);
234
uint capacity = _target.
ReadGlobal
<uint>(Constants.Globals.JITNotificationTableSize);
Contracts\ExecutionManager\ExecutionManagerCore.cs (2)
145
byte stubCodeBlockLast = target.
ReadGlobal
<byte>(Constants.Globals.StubCodeBlockLast);
283
if (_target.
ReadGlobal
<byte>(Constants.Globals.FeaturePortableEntrypoints) != 0)
Contracts\ExecutionManager\ExecutionManagerCore.EEJitManager.cs (2)
109
bool featureOnStackReplacement = Target.
ReadGlobal
<byte>(Constants.Globals.FeatureOnStackReplacement) != 0;
144
gcVersion = Target.
ReadGlobal
<uint>(Constants.Globals.GCInfoVersion);
Contracts\ExecutionManager\ExecutionManagerCore.InterpreterJitManager.cs (1)
104
gcVersion = 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);
134
uint 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))
211
uint generationTableLength = _target.
ReadGlobal
<uint>(Constants.Globals.TotalGenerationCount);
232
uint fillPointersLength = _target.
ReadGlobal
<uint>(Constants.Globals.CFinalizeFillPointersLength);
456
if (_target.
ReadGlobal
<byte>(Constants.Globals.FeatureCOMInterop) != 0 || _target.
ReadGlobal
<byte>(Constants.Globals.FeatureComWrappers) != 0 || _target.
ReadGlobal
<byte>(Constants.Globals.FeatureObjCMarshal) != 0)
460
if (_target.
ReadGlobal
<byte>(Constants.Globals.FeatureJavaMarshal) != 0)
569
if (_target.
ReadGlobal
<byte>(Constants.Globals.FeatureCOMInterop) != 0 && IsRefCounted(type))
653
uint 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)
234
int tokenRemainderBitCount = target.
ReadGlobal
<byte>(Constants.Globals.MethodDescTokenRemainderBitCount);
331
ulong chunkSize = (ulong)(_chunk.Size + 1) * _target.
ReadGlobal
<ulong>(Constants.Globals.MethodDescAlignment);
438
_methodDescAlignment = target.
ReadGlobal
<ulong>(Constants.Globals.MethodDescAlignment);
930
uint arrayBaseSize = _target.
ReadGlobal
<uint>(Constants.Globals.ArrayBaseSize);
2025
if (fieldDesc.DWord2 == _target.
ReadGlobal
<uint>(Constants.Globals.FieldOffsetBigRVA))
2077
if (offset == _target.
ReadGlobal
<uint>(Constants.Globals.FieldOffsetDynamicRVA))
Contracts\StressLog.cs (7)
22
uint validSig = target.
ReadGlobal
<uint>(Constants.Globals.StressLogValidChunkSig);
26
public bool HasStressLog() => target.
ReadGlobal
<byte>(Constants.Globals.StressLogEnabled) != 0;
96
if (target.
ReadGlobal
<byte>(Constants.Globals.StressLogHasModuleTable) == 0)
113
uint maxModules = target.
ReadGlobal
<uint>(Constants.Globals.StressLogMaxModules);
138
uint chunkSize = target.
ReadGlobal
<uint>(Constants.Globals.StressLogChunkSize);
145
currentPointer = 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)
81
owningThreadId = sb.ThinLock & _target.
ReadGlobal
<uint>(Constants.Globals.SyncBlockMaskLockThreadId);
85
recursion = (sb.ThinLock & _target.
ReadGlobal
<uint>(Constants.Globals.SyncBlockMaskLockRecursionLevel)) >> (int)_target.
ReadGlobal
<uint>(Constants.Globals.SyncBlockRecursionLevelShift);
Contracts\Thread_1.cs (2)
206
int arrayIndex = indexOffset - _target.
ReadGlobal
<byte>(Constants.Globals.NumberOfTlsOffsetsNotUsedInNoncollectibleArray);
304
byte[] rval = new byte[_target.
ReadGlobal
<uint>(Constants.Globals.SizeOfGenericModeBlock)];
Data\Bucket.cs (1)
17
uint numSlots = target.
ReadGlobal
<uint>(Constants.Globals.HashMapSlotsPerBucket);
Data\ComCallWrapper.cs (1)
19
int numInterfaces = (int)target.
ReadGlobal
<uint>(Constants.Globals.CCWNumInterfaces);
Data\HandleTableMap.cs (1)
18
uint arrayLength = target.
ReadGlobal
<uint>(Constants.Globals.InitialHandleTableArraySize);
Data\RCW.cs (1)
28
uint cacheSize = target.
ReadGlobal
<uint>(Constants.Globals.RCWInterfaceCacheSize);
Data\StressLogChunk.cs (1)
18
BufSize = target.
ReadGlobal
<uint>(Constants.Globals.StressLogChunkSize);
Data\TableSegment.cs (2)
14
uint handleBlocksPerSegment = target.
ReadGlobal
<uint>(Constants.Globals.HandleBlocksPerSegment);
15
uint 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)
140
data->dwId = _target.
ReadGlobal
<uint>(Constants.Globals.DefaultADID);
770
int sizeOfGenericModeBlock = (int)_target.
ReadGlobal
<uint>(Constants.Globals.SizeOfGenericModeBlock);
2650
char directorySeparator = (char)_target.
ReadGlobal
<byte>(Constants.Globals.DirectorySeparator);
3399
if (_target.
ReadGlobal
<byte>(Constants.Globals.FeatureCOMInterop) != 0
5017
if (_target.
ReadGlobal
<byte>(Constants.Globals.FeatureCOMInterop) == 0)
5250
uint MaxClrNotificationArgs = _target.
ReadGlobal
<uint>(Constants.Globals.MaxClrNotificationArgs);
6037
int version = _target.
ReadGlobal
<byte>(Constants.Globals.SOSBreakingChangeVersion);