46 references to Target
Microsoft.Diagnostics.DataContractReader.Legacy (46)
EnumMemory\CollectorTarget.cs (1)
13public static implicit operator Target(CollectorTarget target) => target.Target;
EnumMemory\MemoryEnumerator.cs (18)
81if (_collectorTarget.Target.TryGetRuntimeImageBase(out TargetPointer imageBase)) 99IRuntimeTypeSystem rts = _collectorTarget.Target.Contracts.RuntimeTypeSystem; 110IDebugger debugger = _collectorTarget.Target.Contracts.Debugger; 113_collectorTarget.Target.Contracts.ReJIT.IsEnabled(); 118ILoader loader = _collectorTarget.Target.Contracts.Loader; 119IEcmaMetadata ecmaMetadata = _collectorTarget.Target.Contracts.EcmaMetadata; 194IThread thread = _collectorTarget.Target.Contracts.Thread; 219_collectorTarget.Target.ReadPointer(threadData.LastThrownObjectHandle.Value); 227IThread thread = _collectorTarget.Target.Contracts.Thread; 238IStackWalk stackWalk = _collectorTarget.Target.Contracts.StackWalk; 249IGC gc = _collectorTarget.Target.Contracts.GC; 295IExecutionManager executionManager = _collectorTarget.Target.Contracts.ExecutionManager; 312ILoader loaderContract = _collectorTarget.Target.Contracts.Loader; 327ILoader loader = _collectorTarget.Target.Contracts.Loader; 334ISyncBlock syncBlock = _collectorTarget.Target.Contracts.SyncBlock; 335IThread thread = _collectorTarget.Target.Contracts.Thread; 356foreach ((TargetCodePointer _, string _) in _collectorTarget.Target.Contracts.AuxiliarySymbols.EnumerateAuxiliarySymbols()) 376IStressLog stressLog = _collectorTarget.Target.Contracts.StressLog;
EnumMemory\MethodCollector.cs (10)
39uint size = (uint)_collectorTarget.Target.PointerSize; 40ulong maxAddress = _collectorTarget.Target.PointerSize == sizeof(uint) ? uint.MaxValue : ulong.MaxValue; 49IExecutionManager executionManager = _collectorTarget.Target.Contracts.ExecutionManager; 56IDebugInfo debugInfo = _collectorTarget.Target.Contracts.DebugInfo; 71IRuntimeTypeSystem types = _collectorTarget.Target.Contracts.RuntimeTypeSystem; 79ILoader loader = _collectorTarget.Target.Contracts.Loader; 92IRuntimeTypeSystem types = _collectorTarget.Target.Contracts.RuntimeTypeSystem; 94ICodeVersions codeVersions = _collectorTarget.Target.Contracts.CodeVersions; 103_collectorTarget.Target.Contracts.PrecodeStubs.GetInterpreterCodeFromInterpreterPrecodeIfPresent(nativeCode); 116IRuntimeTypeSystem types = _collectorTarget.Target.Contracts.RuntimeTypeSystem;
EnumMemory\ObjectCollector.cs (16)
52IObject objects = _collectorTarget.Target.Contracts.Object; 53IRuntimeTypeSystem types = _collectorTarget.Target.Contracts.RuntimeTypeSystem; 74if (_collectorTarget.Target.Contracts.FeatureFlags.IsEnabled(RuntimeFeature.COMInterop)) 90IRuntimeTypeSystem types = _collectorTarget.Target.Contracts.RuntimeTypeSystem; 112IRuntimeTypeSystem types = _collectorTarget.Target.Contracts.RuntimeTypeSystem; 131IRuntimeTypeSystem types = _collectorTarget.Target.Contracts.RuntimeTypeSystem; 141IException exceptions = _collectorTarget.Target.Contracts.Exception; 165IRuntimeTypeSystem types = _collectorTarget.Target.Contracts.RuntimeTypeSystem; 166TargetPointer methodTable = _collectorTarget.Target.Contracts.Object.GetMethodTableAddress(exceptionObject); 174Contracts.ModuleHandle module = _collectorTarget.Target.Contracts.Loader.GetModuleHandleFromModulePtr(types.GetModule(exceptionType)); 175MetadataReader metadata = _collectorTarget.Target.Contracts.EcmaMetadata.GetMetadata(module) 203IObject objects = _collectorTarget.Target.Contracts.Object; 210_collectorTarget.Target.ReadBuffer(address + offsetToFirstChar, bytes); 211if (_collectorTarget.Target.IsLittleEndian != BitConverter.IsLittleEndian) 217if (_collectorTarget.Target.IsLittleEndian != BitConverter.IsLittleEndian) 233IRuntimeTypeSystem types = _collectorTarget.Target.Contracts.RuntimeTypeSystem;
EnumMemory\PEImageCollector.cs (1)
31_target.Target.ReadBuffer(address, buffer);