119 references to GetTypeInfo
Microsoft.Diagnostics.DataContractReader (2)
ContractDescriptorTarget.cs (2)
601TypeInfo codePointerTypeInfo = this.GetTypeInfo(DataType.CodePointer); 615TypeInfo codePointerTypeInfo = this.GetTypeInfo(DataType.CodePointer);
Microsoft.Diagnostics.DataContractReader.Contracts (103)
Contracts\AuxiliarySymbols_1.cs (1)
26Target.TypeInfo typeInfo = _target.GetTypeInfo(DataType.AuxiliarySymbolInfo);
Contracts\BuiltInCOM_1.cs (2)
90Target.TypeInfo sccwTypeInfo = _target.GetTypeInfo(DataType.SimpleComCallWrapper); 108ulong comMethodTableSize = _target.GetTypeInfo(DataType.ComMethodTable).Size!.Value;
Contracts\CodeNotifications_1.cs (1)
210Target.TypeInfo jitNotifType = _target.GetTypeInfo(DataType.JITNotification);
Contracts\CodeVersions_1.cs (1)
232Target.TypeInfo gcCoverageInfoType = _target.GetTypeInfo(DataType.GCCoverageInfo);
Contracts\ComWrappers_1.cs (2)
77Target.TypeInfo dispatchTypeInfo = _target.GetTypeInfo(DataType.InternalComInterfaceDispatch); 96Target.TypeInfo entryTypeInfo = _target.GetTypeInfo(DataType.ComInterfaceEntry);
Contracts\DebugInfo\DebugInfo_1.cs (1)
62if (_target.GetTypeInfo(DataType.PatchpointInfo).Size is not uint patchpointSize)
Contracts\Exception_1.cs (3)
30Target.TypeInfo type = _target.GetTypeInfo(DataType.ExceptionInfo); 91Target.TypeInfo elementTypeInfo = _target.GetTypeInfo(DataType.StackTraceElement); 94uint headerSize = _target.GetTypeInfo(DataType.StackTraceArrayHeader).Size!.Value;
Contracts\ExecutionManager\ExecutionManagerCore.cs (1)
536uint clauseSize = _target.GetTypeInfo(clauseType).Size!.Value;
Contracts\ExecutionManager\ExecutionManagerCore.EEJitManager.cs (1)
218endAddr = startAddr + numEHInfos.Value * Target.GetTypeInfo(DataType.EEExceptionClause).Size!.Value;
Contracts\ExecutionManager\ExecutionManagerCore.InterpreterJitManager.cs (1)
125endAddr = startAddr + numEHInfos.Value * Target.GetTypeInfo(DataType.EEExceptionClause).Size!.Value;
Contracts\ExecutionManager\ExecutionManagerCore.ReadyToRunJitManager.cs (2)
292uint entrySize = Target.GetTypeInfo(DataType.ExceptionLookupTableEntry).Size!.Value; 322uint count = section.Size / Target.GetTypeInfo(DataType.ExceptionLookupTableEntry).Size!.Value;
Contracts\ExecutionManager\Helpers\HashMapLookup.cs (1)
38uint bucketSize = _target.GetTypeInfo(DataType.Bucket).Size!.Value;
Contracts\ExecutionManager\Helpers\RuntimeFunctionLookup.cs (1)
19_runtimeFunctionSize = target.GetTypeInfo(DataType.RuntimeFunction).Size!.Value;
Contracts\GC\GC_1.cs (3)
224uint generationSize = _target.GetTypeInfo(DataType.Generation).Size ?? throw new InvalidOperationException("Type Generation has no size"); 803regionFreeListSize = _target.GetTypeInfo(DataType.RegionFreeList).Size 891Target.TypeInfo typeInfo = _target.GetTypeInfo(DataType.TableSegment);
Contracts\Loader_1.cs (3)
666Target.TypeInfo type = target.GetTypeInfo(DataType.DynamicILBlobTable); 703Target.TypeInfo laType = _target.GetTypeInfo(DataType.LoaderAllocator); 726Target.TypeInfo vcsType = _target.GetTypeInfo(DataType.VirtualCallStubManager);
Contracts\ManagedTypeSource_1.cs (1)
213Target.TypeInfo objType = _target.GetTypeInfo(DataType.Object);
Contracts\Object_1.cs (5)
24_methodTableOffset = (ulong)target.GetTypeInfo(DataType.Object).Fields["m_pMethTab"].Offset; 70Target.TypeInfo arrayTypeInfo = _target.GetTypeInfo(DataType.Array); 91ulong dataOffset = typeSystemContract.GetBaseSize(typeHandle) - _target.GetTypeInfo(DataType.ObjectHeader).Size!.Value; 110ulong objectHeaderSize = _target.GetTypeInfo(DataType.ObjectHeader).Size!.Value; 136ulong objectHeaderSize = _target.GetTypeInfo(DataType.ObjectHeader).Size!.Value;
Contracts\RuntimeTypeSystem_1.cs (18)
239baseSize = target.GetTypeInfo(DataType.MethodDesc).Size ?? throw new InvalidOperationException("MethodDesc type size must be known"); 242baseSize = target.GetTypeInfo(DataType.FCallMethodDesc).Size ?? throw new InvalidOperationException("FCallMethodDesc type size must be known"); 245baseSize = target.GetTypeInfo(DataType.PInvokeMethodDesc).Size ?? throw new InvalidOperationException("PInvokeMethodDesc type size must be known"); 248baseSize = target.GetTypeInfo(DataType.EEImplMethodDesc).Size ?? throw new InvalidOperationException("EEImplMethodDesc type size must be known"); 251baseSize = target.GetTypeInfo(DataType.ArrayMethodDesc).Size ?? throw new InvalidOperationException("ArrayMethodDesc type size must be known"); 254baseSize = target.GetTypeInfo(DataType.InstantiatedMethodDesc).Size ?? throw new InvalidOperationException("InstantiatedMethodDesc type size must be known"); 257baseSize = target.GetTypeInfo(DataType.CLRToCOMCallMethodDesc).Size ?? throw new InvalidOperationException("CLRToCOMCallMethodDesc type size must be known"); 260baseSize = target.GetTypeInfo(DataType.DynamicMethodDesc).Size ?? throw new InvalidOperationException("DynamicMethodDesc type size must be known"); 268baseSize += target.GetTypeInfo(DataType.NonVtableSlot).Size ?? throw new InvalidOperationException("NonVtableSlot type size must be known"); 271baseSize += target.GetTypeInfo(DataType.MethodImpl).Size ?? throw new InvalidOperationException("MethodImpl type size must be known"); 274baseSize += target.GetTypeInfo(DataType.NativeCodeSlot).Size ?? throw new InvalidOperationException("NativeCodeSlot type size must be known"); 277baseSize += target.GetTypeInfo(DataType.AsyncMethodData).Size ?? throw new InvalidOperationException("AsyncMethodData type size must be known"); 317ulong typeSize = _target.GetTypeInfo(DataType.MethodDescChunk).Size!.Value; 682uint fieldDescSize = _target.GetTypeInfo(DataType.FieldDesc).Size!.Value; 706TargetPointer dynamicStaticsInfoSize = _target.GetTypeInfo(DataType.DynamicStaticsInfo).Size!.Value; 714TargetPointer threadStaticsInfoSize = _target.GetTypeInfo(DataType.ThreadStaticsInfo).Size!.Value; 1569var typeInfo = _target.GetTypeInfo(DataType.MethodTable); 1888Target.TypeInfo gcCoverageInfoType = _target.GetTypeInfo(DataType.GCCoverageInfo);
Contracts\StackWalk\FrameHandling\AMD64FrameHandler.cs (1)
45uint hijackArgsSize = _target.GetTypeInfo(DataType.HijackArgs).Size ?? throw new InvalidOperationException("HijackArgs size is not set");
Contracts\StackWalk\FrameHandling\ARM64FrameHandler.cs (1)
34uint hijackArgsSize = _target.GetTypeInfo(DataType.HijackArgs).Size ?? throw new InvalidOperationException("HijackArgs size is not set");
Contracts\StackWalk\FrameHandling\ARMFrameHandler.cs (1)
23uint hijackArgsSize = _target.GetTypeInfo(DataType.HijackArgs).Size ?? throw new InvalidOperationException("HijackArgs size is not set");
Contracts\StackWalk\FrameHandling\BaseFrameHandler.cs (2)
47if (_target.GetTypeInfo(DataType.TransitionBlock).Size is not uint transitionBlockSize) 99foreach (string name in _target.GetTypeInfo(DataType.CalleeSavedRegisters).Fields.Keys)
Contracts\StackWalk\FrameHandling\LoongArch64FrameHandler.cs (1)
22uint hijackArgsSize = _target.GetTypeInfo(DataType.HijackArgs).Size ?? throw new InvalidOperationException("HijackArgs size is not set");
Contracts\StackWalk\FrameHandling\RISCV64FrameHandler.cs (1)
22uint hijackArgsSize = _target.GetTypeInfo(DataType.HijackArgs).Size ?? throw new InvalidOperationException("HijackArgs size is not set");
Contracts\StackWalk\FrameHandling\X86FrameHandler.cs (2)
19uint hijackArgsSize = _target.GetTypeInfo(DataType.HijackArgs).Size ?? throw new InvalidOperationException("HijackArgs size is not set"); 30if (_target.GetTypeInfo(DataType.TailCallFrame).Size is not uint tailCallFrameSize)
Contracts\StackWalk\StackWalk_1.cs (1)
880TargetPointer methodDescPtr = framePtr + _target.GetTypeInfo(DataType.InlinedCallFrame).Size
Contracts\StressLog.cs (3)
112uint moduleEntrySize = target.GetTypeInfo(DataType.StressLogModuleDesc).Size!.Value; 131uint stressMsgHeaderSize = target.GetTypeInfo(DataType.StressMsgHeader).Size!.Value; 219ulong chunkSize = target.GetTypeInfo(DataType.StressLogChunk).Size!.Value;
Contracts\SyncBlock_1.cs (3)
19Data.SyncTableEntry ste = _target.ProcessedData.GetOrAdd<Data.SyncTableEntry>(_syncTableEntries + index * _target.GetTypeInfo(DataType.SyncTableEntry).Size!.Value); 25Data.SyncTableEntry ste = _target.ProcessedData.GetOrAdd<Data.SyncTableEntry>(_syncTableEntries + index * _target.GetTypeInfo(DataType.SyncTableEntry).Size!.Value); 31Data.SyncTableEntry ste = _target.ProcessedData.GetOrAdd<Data.SyncTableEntry>(_syncTableEntries + index * _target.GetTypeInfo(DataType.SyncTableEntry).Size!.Value);
Contracts\Thread_1.cs (2)
46_threadTypeInfo = target.GetTypeInfo(DataType.Thread); 262Target.TypeInfo type = _target.GetTypeInfo(DataType.ExceptionInfo);
Data\Bucket.cs (1)
17Target.TypeInfo type = target.GetTypeInfo(DataType.Bucket);
Data\ComInterfaceEntry.cs (1)
15Target.TypeInfo type = target.GetTypeInfo(DataType.ComInterfaceEntry);
Data\ComWrappersVtablePtrs.cs (1)
17Target.TypeInfo type = target.GetTypeInfo(DataType.ComWrappersVtablePtrs);
Data\DynamicStaticsInfo.cs (1)
14Target.TypeInfo type = target.GetTypeInfo(DataType.DynamicStaticsInfo);
Data\EETypeHashTable.cs (1)
19Target.TypeInfo type = target.GetTypeInfo(DataType.EETypeHashTable);
Data\Frames\ArgumentRegisters.cs (1)
17Target.TypeInfo type = target.GetTypeInfo(DataType.ArgumentRegisters);
Data\Frames\CalleeSavedRegisters.cs (1)
17Target.TypeInfo type = target.GetTypeInfo(DataType.CalleeSavedRegisters);
Data\Frames\HijackArgs.cs (1)
17Target.TypeInfo type = target.GetTypeInfo(DataType.HijackArgs);
Data\HandleTableMap.cs (1)
18Target.TypeInfo type = target.GetTypeInfo(DataType.HandleTableMap);
Data\InstMethodHashTable.cs (1)
19Target.TypeInfo type = target.GetTypeInfo(DataType.InstMethodHashTable);
Data\InterpreterRealCodeHeader.cs (1)
17Target.TypeInfo type = target.GetTypeInfo(DataType.InterpreterRealCodeHeader);
Data\PrecodeMachineDescriptor.cs (1)
34Target.TypeInfo type = target.GetTypeInfo(DataType.PrecodeMachineDescriptor);
Data\RangeSectionFragment.cs (1)
22Target.TypeInfo type = target.GetTypeInfo(DataType.RangeSectionFragment);
Data\RCW.cs (2)
29Target.TypeInfo type = target.GetTypeInfo(DataType.RCW); 33Target.TypeInfo entryTypeInfo = target.GetTypeInfo(DataType.InterfaceEntry);
Data\ReadyToRunCoreHeader.cs (2)
19Target.TypeInfo type = target.GetTypeInfo(DataType.ReadyToRunCoreHeader); 20Target.TypeInfo sectionType = target.GetTypeInfo(DataType.ReadyToRunSection);
Data\ReadyToRunInfo.cs (1)
29Target.TypeInfo type = target.GetTypeInfo(DataType.ReadyToRunInfo);
Data\StackTraceArrayHeader.cs (1)
13Target.TypeInfo type = target.GetTypeInfo(DataType.StackTraceArrayHeader);
Data\StackTraceElement.cs (1)
13Target.TypeInfo type = target.GetTypeInfo(DataType.StackTraceElement);
Data\SyncBlock.cs (1)
18Target.TypeInfo type = target.GetTypeInfo(DataType.SyncBlock);
Data\SyncTableEntry.cs (1)
14Target.TypeInfo type = target.GetTypeInfo(DataType.SyncTableEntry);
Data\TableSegment.cs (1)
23Target.TypeInfo type = target.GetTypeInfo(DataType.TableSegment);
Data\Thread.cs (1)
38Target.TypeInfo type = target.GetTypeInfo(DataType.Thread);
Data\TypeDesc.cs (3)
20Target.TypeInfo type = target.GetTypeInfo(DataType.TypeDesc); 34Target.TypeInfo type = target.GetTypeInfo(DataType.TypeDesc); 53Target.TypeInfo type = target.GetTypeInfo(DataType.TypeDesc);
Data\UnwindInfo.cs (1)
14Target.TypeInfo type = target.GetTypeInfo(DataType.UnwindInfo);
RuntimeTypeSystemHelpers\MethodDescOptionalSlots.cs (6)
68return target.GetTypeInfo(type).Size ?? throw new InvalidOperationException($"size of MethodDesc not known"); 95offset += target.GetTypeInfo(DataType.NonVtableSlot).Size!.Value; 98offset += target.GetTypeInfo(DataType.MethodImpl).Size!.Value; 110offset += target.GetTypeInfo(DataType.NonVtableSlot).Size!.Value; 113offset += target.GetTypeInfo(DataType.MethodImpl).Size!.Value; 116offset += target.GetTypeInfo(DataType.NativeCodeSlot).Size!.Value;
RuntimeTypeSystemHelpers\MethodValidation.cs (1)
93ulong? methodDescChunkSize = _target.GetTypeInfo(DataType.MethodDescChunk).Size;
RuntimeTypeSystemHelpers\TypeValidation.cs (2)
35_type = target.GetTypeInfo(DataType.MethodTable); 90_type = target.GetTypeInfo(DataType.EEClass);
Microsoft.Diagnostics.DataContractReader.Legacy (14)
Dbi\DacDbiImpl.cs (3)
54Target.TypeInfo type = _target.GetTypeInfo(DataType.ProfControlBlock); 3654uint firstFieldOffset = isReferenceType ? _target.GetTypeInfo(DataType.Object).Size!.Value : 0; 3849Target.TypeInfo objectHeaderTypeInfo = _target.GetTypeInfo(DataType.ObjectHeader);
Dbi\Helpers\HeapWalk.cs (3)
33_numComponentsOffsetArray = (uint)target.GetTypeInfo(DataType.Array).Fields[Constants.FieldNames.Array.NumComponents].Offset; 34_numComponentsOffsetString = (uint)target.GetTypeInfo(DataType.String).Fields["m_StringLength"].Offset; 35_methodTableOffset = (uint)target.GetTypeInfo(DataType.Object).Fields["m_pMethTab"].Offset;
SOSDacImpl.cs (6)
1170data->NextField = fieldDescTargetPtr + _target.GetTypeInfo(DataType.FieldDesc).Size!.Value; 3163Target.TypeInfo lookupMapTypeInfo = _target.GetTypeInfo(DataType.ModuleLookupMap); 3353Target.TypeInfo arrayTypeInfo = _target.GetTypeInfo(DataType.Array); 3354ulong numComponentsOffset = (ulong)_target.GetTypeInfo(DataType.Array).Fields[Constants.FieldNames.Array.NumComponents].Offset; 6512Target.TypeInfo laType = _target.GetTypeInfo(DataType.LoaderAllocator); 6513Target.TypeInfo vcsType = _target.GetTypeInfo(DataType.VirtualCallStubManager);
TypeNameBuilder.cs (2)
516uint continuationDataOffset = tnb.Target.GetTypeInfo(DataType.ContinuationObject).Size!.Value; 517uint objHeaderSize = tnb.Target.GetTypeInfo(DataType.ObjectHeader).Size!.Value;