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