47 references to Target
Microsoft.Diagnostics.DataContractReader.Legacy (47)
EnumMemory\CollectorTarget.cs (1)
13
public static implicit operator Target(CollectorTarget target) => target.
Target
;
EnumMemory\MemoryEnumerator.cs (19)
81
if (_collectorTarget.
Target
.TryGetRuntimeImageBase(out TargetPointer imageBase))
100
TryEnumerate(() => _collectorTarget.
Target
.Contracts.Loader.GetSystemAssembly());
102
IRuntimeTypeSystem rts = _collectorTarget.
Target
.Contracts.RuntimeTypeSystem;
113
IDebugger debugger = _collectorTarget.
Target
.Contracts.Debugger;
116
_collectorTarget.
Target
.Contracts.ReJIT.IsEnabled();
121
ILoader loader = _collectorTarget.
Target
.Contracts.Loader;
122
IEcmaMetadata ecmaMetadata = _collectorTarget.
Target
.Contracts.EcmaMetadata;
197
IThread thread = _collectorTarget.
Target
.Contracts.Thread;
222
_collectorTarget.
Target
.ReadPointer(threadData.LastThrownObjectHandle.Value);
230
IThread thread = _collectorTarget.
Target
.Contracts.Thread;
241
IStackWalk stackWalk = _collectorTarget.
Target
.Contracts.StackWalk;
252
IGC gc = _collectorTarget.
Target
.Contracts.GC;
298
IExecutionManager executionManager = _collectorTarget.
Target
.Contracts.ExecutionManager;
315
ILoader loaderContract = _collectorTarget.
Target
.Contracts.Loader;
330
ILoader loader = _collectorTarget.
Target
.Contracts.Loader;
337
ISyncBlock syncBlock = _collectorTarget.
Target
.Contracts.SyncBlock;
338
IThread thread = _collectorTarget.
Target
.Contracts.Thread;
359
foreach ((TargetCodePointer _, string _) in _collectorTarget.
Target
.Contracts.AuxiliarySymbols.EnumerateAuxiliarySymbols())
379
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);