1 override of Contracts
Microsoft.Diagnostics.DataContractReader (1)
ContractDescriptorTarget.cs (1)
58public override ContractRegistry Contracts { get; }
774 references to Contracts
Microsoft.Diagnostics.DataContractReader.Abstractions (2)
Contracts\Extensions\IReJITExtensions.cs (1)
12ICodeVersions cv = target.Contracts.CodeVersions;
Target.cs (1)
364Contracts.Flush(scope);
Microsoft.Diagnostics.DataContractReader.Contracts (204)
CodePointerUtils.cs (3)
21IPlatformMetadata metadata = target.Contracts.PlatformMetadata; 33IPlatformMetadata metadata = target.Contracts.PlatformMetadata; 50IPlatformMetadata metadata = target.Contracts.PlatformMetadata;
Contracts\BuiltInCOM_1.cs (1)
269ISyncBlock syncBlock = _target.Contracts.SyncBlock;
Contracts\ByRefPointerOffsetsReporter.cs (1)
19_rts = target.Contracts.RuntimeTypeSystem;
Contracts\CallingConvention\CallingConvention_1.cs (9)
59IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 86IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 116TargetPointer modulePointer = _target.Contracts.RuntimeTypeSystem.GetModule(typeHandle); 122return _target.Contracts.Loader.GetModuleHandleFromModulePtr(modulePointer); 126=> _target.Contracts.EcmaMetadata.GetMetadata(moduleHandle) 139IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 140IRuntimeInfo runtimeInfo = _target.Contracts.RuntimeInfo; 363IRuntimeInfo runtimeInfo = _target.Contracts.RuntimeInfo; 364IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem;
Contracts\CallingConvention\CdacTypeHandle.cs (3)
33target.Contracts.RuntimeTypeSystem.GetSignatureCorElementType(typeHandle), 44private IRuntimeTypeSystem Rts => _target.Contracts.RuntimeTypeSystem; 48public RuntimeInfoArchitecture Arch => _target.Contracts.RuntimeInfo.GetTargetArchitecture();
Contracts\CallingConvention\SignatureTypeInfoProvider.cs (2)
30_loader = target.Contracts.Loader; 31_rts = target.Contracts.RuntimeTypeSystem;
Contracts\CodeVersions_1.cs (16)
108Contracts.IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 125Contracts.IExecutionManager executionManager = _target.Contracts.ExecutionManager; 136IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 153IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 171MethodDescHandle md = _target.Contracts.RuntimeTypeSystem.GetMethodDescHandle(codeVersionHandle.MethodDescAddress); 172return _target.Contracts.RuntimeTypeSystem.GetNativeCode(md); 200Contracts.IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 217IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 245IExecutionManager eman = _target.Contracts.ExecutionManager; 321MethodDescHandle md = _target.Contracts.RuntimeTypeSystem.GetMethodDescHandle(nativeCodeVersion.MethodDescAddress); 322TargetPointer versioningStateAddress = _target.Contracts.RuntimeTypeSystem.GetMethodDescVersioningState(md); 342IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 356ModuleHandle moduleHandle = _target.Contracts.Loader.GetModuleHandleFromModulePtr(module); 357TargetPointer ilVersionStateAddress = _target.Contracts.Loader.GetModuleLookupMapElement( 409ILoader loader = _target.Contracts.Loader; 469IRuntimeTypeSystem rtsContract = _target.Contracts.RuntimeTypeSystem;
Contracts\ComWrappers_1.cs (3)
129IConditionalWeakTable cwt = _target.Contracts.ConditionalWeakTable; 153TargetPointer mt = _target.Contracts.Object.GetMethodTableAddress(rcw); 162IConditionalWeakTable cwt = _target.Contracts.ConditionalWeakTable;
Contracts\ConditionalWeakTable_1.cs (5)
23int hashCode = _target.Contracts.Object.TryGetHashCode(key); 36TargetPointer entriesMT = _target.Contracts.Object.GetMethodTableAddress(container.Entries); 37ITypeHandle entriesTypeHandle = _target.Contracts.RuntimeTypeSystem.GetTypeHandle(entriesMT); 38uint entrySize = _target.Contracts.RuntimeTypeSystem.GetComponentSize(entriesTypeHandle); 50TargetNUInt extraInfo = _target.Contracts.GC.GetHandleExtraInfo(handle.Handle);
Contracts\Debugger\Debugger_1.cs (3)
287ThreadData threadData = _target.Contracts.Thread.GetThreadData(vmThread); 345RuntimeInfoArchitecture arch = target.Contracts.RuntimeInfo.GetTargetArchitecture(); 346RuntimeInfoOperatingSystem os = target.Contracts.RuntimeInfo.GetTargetOperatingSystem();
Contracts\Debugger\StackPusher.cs (2)
48RuntimeInfoArchitecture arch = target.Contracts.RuntimeInfo.GetTargetArchitecture(); 49RuntimeInfoOperatingSystem os = target.Contracts.RuntimeInfo.GetTargetOperatingSystem();
Contracts\DebugInfo\DebugInfo_1.cs (3)
32private readonly IExecutionManager _eman = target.Contracts.ExecutionManager; 129ICodeVersions cv = _target.Contracts.CodeVersions; 143bool isX86 = _target.Contracts.RuntimeInfo.GetTargetArchitecture() == RuntimeInfoArchitecture.X86;
Contracts\EcmaMetadata_1.cs (3)
39ILoader loader = target.Contracts.Loader; 85ILoader loader = target.Contracts.Loader; 432TargetPointer peAssemblyPtr = target.Contracts.Loader.GetPEAssembly(handle);
Contracts\Exception_1.cs (3)
61IObject objectContract = _target.Contracts.Object; 62IRuntimeTypeSystem rtsContract = _target.Contracts.RuntimeTypeSystem; 93bool compensateForOldEhIp = _target.Contracts.RuntimeInfo.GetTargetArchitecture() is RuntimeInfoArchitecture.X64;
Contracts\ExecutionManager\ExecutionManagerCore.cs (13)
276if (target.Contracts.RuntimeInfo.GetTargetArchitecture() != RuntimeInfoArchitecture.Wasm) 409if (_target.Contracts.FeatureFlags.IsEnabled(RuntimeFeature.PortableEntrypoints)) 424IPrecodeStubs precodeStubs = _target.Contracts.PrecodeStubs; 450if (!_target.Contracts.FeatureFlags.IsEnabled(RuntimeFeature.PortableEntrypoints)) 451return _target.Contracts.PrecodeStubs.GetInterpreterCodeFromInterpreterPrecodeIfPresent(entryPoint); 535if (_target.Contracts.RuntimeInfo.GetTargetArchitecture() == RuntimeInfoArchitecture.Wasm) 619IGCInfoHandle handle = _target.Contracts.GCInfo.DecodePlatformSpecificGCInfo(gcInfoAddr, gcVersion); 622return _target.Contracts.GCInfo.IsGcSafe(handle, offset); 628if (_target.Contracts.RuntimeInfo.GetTargetArchitecture() is not RuntimeInfoArchitecture.X86) 638IGCInfo gcInfoContract = _target.Contracts.GCInfo; 730IRuntimeInfo runtimeInfo = _target.Contracts.RuntimeInfo; 789ILoader loader = _target.Contracts.Loader; 823IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem;
Contracts\ExecutionManager\ExecutionManagerCore.EEJitManager.cs (2)
59IGCInfo gcInfo = Target.Contracts.GCInfo; 111bool featureOnStackReplacement = Target.Contracts.FeatureFlags.IsEnabled(RuntimeFeature.OnStackReplacement);
Contracts\ExecutionManager\ExecutionManagerCore.InterpreterJitManager.cs (1)
56IGCInfo gcInfo = Target.Contracts.GCInfo;
Contracts\ExecutionManager\ExecutionManagerCore.ReadyToRunJitManager.cs (4)
26target.Contracts.RuntimeInfo.GetTargetArchitecture() == RuntimeInfoArchitecture.Wasm); 88IGCInfo gcInfo = Target.Contracts.GCInfo; 186uint unwindDataSize = UnwindDataSize.GetUnwindDataSize(Target, unwindInfo, Target.Contracts.RuntimeInfo.GetTargetArchitecture()); 384IExecutionManager executionManager = Target.Contracts.ExecutionManager;
Contracts\ExternalMemoryHandles_1.cs (2)
20_gc = target.Contracts.GC; 21_rts = target.Contracts.RuntimeTypeSystem;
Contracts\GC\GC_1.cs (6)
491IThread thread = _target.Contracts.Thread; 503IGC gc = _target.Contracts.GC; 560IFeatureFlags featureFlags = _target.Contracts.FeatureFlags; 672if (_target.Contracts.FeatureFlags.IsEnabled(RuntimeFeature.COMInterop) && IsRefCounted(type)) 674IObject obj = _target.Contracts.Object; 679IBuiltInCOM builtInCOM = _target.Contracts.BuiltInCOM;
Contracts\GCInfo\GCInfoDecoder.cs (1)
151_arch = target.Contracts.RuntimeInfo.GetTargetArchitecture();
Contracts\Loader_1.cs (3)
715IEcmaMetadata ecmaMetadataContract = _target.Contracts.EcmaMetadata; 753ISHash sHashContract = target.Contracts.SHash; 772ISHash shashContract = _target.Contracts.SHash;
Contracts\ManagedTypeSource_1.cs (7)
129IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 164IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 200fieldDescAddr = _target.Contracts.RuntimeTypeSystem.GetFieldDescByName(th, fieldName); 212IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 259ILoader loader = _target.Contracts.Loader; 282th = _target.Contracts.RuntimeTypeSystem.GetTypeHandle(typeHandlePtr); 302mdReader = _target.Contracts.EcmaMetadata.GetMetadata(moduleHandle);
Contracts\Object_1.cs (5)
82Contracts.IRuntimeTypeSystem typeSystemContract = _target.Contracts.RuntimeTypeSystem; 143return _target.Contracts.SyncBlock.GetBuiltInComData(syncBlockPtr, out rcw, out ccw, out ccf); 184return _target.Contracts.SyncBlock.GetSyncBlock(index); 195IRuntimeTypeSystem typeSystemContract = _target.Contracts.RuntimeTypeSystem; 239Contracts.IRuntimeTypeSystem typeSystemContract = _target.Contracts.RuntimeTypeSystem;
Contracts\ObjectiveCMarshal_1.cs (1)
25IConditionalWeakTable cwt = _target.Contracts.ConditionalWeakTable;
Contracts\PrecodeStubs_Common.cs (2)
36_target.ProcessedData.GetOrAdd<Data.PrecodeMachineDescriptor>(_target.Contracts.PlatformMetadata.GetPrecodeMachineDescriptor()); 107CodePointerFlags codePointerFlags = _target.Contracts.PlatformMetadata.GetCodePointerFlags();
Contracts\RuntimeMutableTypeSystem_1.cs (6)
35IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 36ILoader loader = _target.Contracts.Loader; 99CorElementType fieldType = _target.Contracts.RuntimeTypeSystem.GetFieldDescType(encFieldDescPointer); 107IObject objectContract = _target.Contracts.Object; 108IGC gcContract = _target.Contracts.GC; 109IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem;
Contracts\RuntimeTypeSystem_1.cs (28)
374RuntimeTypeSystem_1 rts = (RuntimeTypeSystem_1)target.Contracts.RuntimeTypeSystem; 653arch = _target.Contracts.RuntimeInfo.GetTargetArchitecture(); 734ModuleHandle moduleHandle = _target.Contracts.Loader.GetModuleHandleFromModulePtr(modulePtr); 735MetadataReader? reader = _target.Contracts.EcmaMetadata.GetMetadata(moduleHandle); 994Contracts.IThread threadContract = _target.Contracts.Thread; 1003Contracts.IThread threadContract = _target.Contracts.Thread; 1062RuntimeTypeSystem_1 rts = (RuntimeTypeSystem_1)target.Contracts.RuntimeTypeSystem; 1386ILoader loaderContract = _target.Contracts.Loader; 1429ILoader loaderContract = _target.Contracts.Loader; 1484ILoader loaderContract = _target.Contracts.Loader; 1600RuntimeTypeSystem_1 rts = (RuntimeTypeSystem_1)target.Contracts.RuntimeTypeSystem; 1746ModuleHandle moduleHandle = _target.Contracts.Loader.GetModuleHandleFromModulePtr(modulePtr); 1747MetadataReader? mdReader = _target.Contracts.EcmaMetadata.GetMetadata(moduleHandle); 1872ModuleHandle moduleHandle = _target.Contracts.Loader.GetModuleHandleFromModulePtr(modulePtr); 1873MetadataReader? mdReader = _target.Contracts.EcmaMetadata.GetMetadata(moduleHandle); 2064ModuleHandle mod = _target.Contracts.Loader.GetModuleHandleFromModulePtr(loaderModuleAddr); 2065return _target.Contracts.Loader.IsCollectible(mod); 2075if (_target.Contracts.TryGetContract(out IReJIT reJit) && reJit.IsEnabled()) 2081return _target.Contracts.CodeVersions.CodeVersionManagerSupportsMethod(methodDesc.Address); 2244return _target.Contracts.ExecutionManager.NonVirtualEntry2MethodDesc(pCode); 2497ModuleHandle moduleHandle = _target.Contracts.Loader.GetModuleHandleFromModulePtr(modulePtr); 2498MetadataReader? mdReader = _target.Contracts.EcmaMetadata.GetMetadata(moduleHandle); 2506return _target.Contracts.Signature.DecodeFieldSignature(fieldDef.Signature, moduleHandle, enclosingType); 2551ILoader loader = _target.Contracts.Loader; 2553MetadataReader? md = _target.Contracts.EcmaMetadata.GetMetadata(moduleHandle); 2579ILoader loader = _target.Contracts.Loader; 2595ILoader loader = _target.Contracts.Loader; 2630MetadataReader mdReader = _target.Contracts.EcmaMetadata.GetMetadata(moduleHandle)!;
Contracts\Signature\Signature_1.cs (2)
48MetadataReader mdReader = _target.Contracts.EcmaMetadata.GetMetadata(moduleHandle)!; 63if (_target.Contracts.RuntimeInfo.GetTargetArchitecture() == RuntimeInfoArchitecture.X86)
Contracts\Signature\SignatureTypeProvider.cs (2)
24_loader = target.Contracts.Loader; 25_runtimeTypeSystem = target.Contracts.RuntimeTypeSystem;
Contracts\StackWalk\Context\AMD64\AMD64Unwinder.cs (4)
32private readonly IExecutionManager _eman = target.Contracts.ExecutionManager; 34private readonly bool _unixAMD64ABI = target.Contracts.RuntimeInfo.GetTargetOperatingSystem() != RuntimeInfoOperatingSystem.Windows; 177byte ReadByteAt(TargetPointer address) => _target.Contracts.Debugger.ReadInstructionByte(address); 855Debug.Assert(_target.Contracts.RuntimeInfo.GetTargetOperatingSystem() == RuntimeInfoOperatingSystem.Windows);
Contracts\StackWalk\Context\ARM\ARMUnwinder.cs (1)
16private readonly IExecutionManager _eman = target.Contracts.ExecutionManager;
Contracts\StackWalk\Context\ARM64\ARM64Unwinder.cs (1)
48private readonly IExecutionManager _eman = target.Contracts.ExecutionManager;
Contracts\StackWalk\Context\IPlatformAgnosticContext.cs (1)
48IRuntimeInfo runtimeInfo = target.Contracts.RuntimeInfo;
Contracts\StackWalk\Context\LoongArch64\LoongArch64Unwinder.cs (1)
33private readonly IExecutionManager _eman = target.Contracts.ExecutionManager;
Contracts\StackWalk\Context\RISCV64\RISCV64Unwinder.cs (1)
41private readonly IExecutionManager _eman = target.Contracts.ExecutionManager;
Contracts\StackWalk\Context\Wasm\WasmR2RInfo.cs (1)
20: this(target, target.Contracts.ExecutionManager)
Contracts\StackWalk\Context\X86\X86Unwinder.cs (1)
51IExecutionManager eman = _target.Contracts.ExecutionManager;
Contracts\StackWalk\FrameHandling\AMD64FrameHandler.cs (1)
21if (_target.Contracts.RuntimeInfo.GetTargetOperatingSystem() == RuntimeInfoOperatingSystem.Windows)
Contracts\StackWalk\FrameHandling\FrameHelpers.cs (12)
103TargetPointer zapModule = _target.Contracts.ExecutionManager.FindReadyToRunModule(indirection); 204bool supportsVirtualMaps = !_target.Contracts.TryGetContract<IStackWalk>(out IStackWalk? stackWalk) || 220IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 239if (_target.Contracts.RuntimeInfo.GetTargetArchitecture() is RuntimeInfoArchitecture.X86) 244TargetPointer receiver = _target.Contracts.Object.GetMethodTableAddress(thisObject); 250IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 260ModuleHandle module = _target.Contracts.Loader.GetModuleHandleFromModulePtr(rts.GetModule(rts.GetTypeHandle(owner))); 261MetadataReader? metadata = _target.Contracts.EcmaMetadata.GetMetadata(module); 277IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 310IRuntimeTypeSystem rtsContract = _target.Contracts.RuntimeTypeSystem; 454_target.Contracts.RuntimeInfo.GetTargetArchitecture() == RuntimeInfoArchitecture.X86 && 845IRuntimeInfo runtimeInfo = _target.Contracts.RuntimeInfo;
Contracts\StackWalk\FrameHandling\MethodGCRefMapLookup.cs (1)
47private readonly IRuntimeTypeSystem _rts = target.Contracts.RuntimeTypeSystem;
Contracts\StackWalk\FrameHandling\X86FrameHandler.cs (2)
114MethodDescHandle md = _target.Contracts.RuntimeTypeSystem.GetMethodDescHandle(methodDescPtr); 115if (!_target.Contracts.CallingConvention.TryComputeArgGCRefMapBlob(md, out byte[] blob) || blob.Length == 0)
Contracts\StackWalk\GC\GCInteriorPointerResolver.cs (2)
24_gc = target.Contracts.GC; 25_rts = target.Contracts.RuntimeTypeSystem;
Contracts\StackWalk\GC\GCRefMapDecoder.cs (1)
60target.Contracts.TryGetContractVersion<IStackWalk>(out string? version) && version == "c1";
Contracts\StackWalk\GC\GcScanner.cs (7)
27_eman = target.Contracts.ExecutionManager; 28_gcInfo = target.Contracts.GCInfo; 213if (_target.Contracts.RuntimeInfo.GetTargetArchitecture() is RuntimeInfoArchitecture.X86) 287MethodDescHandle md = _target.Contracts.RuntimeTypeSystem.GetMethodDescHandle(method); 288if (!_target.Contracts.CallingConvention.TryComputeArgGCRefMapBlob(md, out byte[] blob) || blob.Length == 0) 301if (_target.Contracts.RuntimeInfo.GetTargetArchitecture() is RuntimeInfoArchitecture.X86) 308if (_target.Contracts.RuntimeInfo.GetTargetArchitecture() is RuntimeInfoArchitecture.X86)
Contracts\StackWalk\StackWalk_1.cs (14)
29_eman = target.Contracts.ExecutionManager; 197bool isX86 = _target.Contracts.RuntimeInfo.GetTargetArchitecture() == RuntimeInfoArchitecture.X86; 372IGCInfoHandle gcHandle = _target.Contracts.GCInfo.DecodePlatformSpecificGCInfo(gcInfoAddr, gcVersion); 375foreach (var range in _target.Contracts.GCInfo.GetInterruptibleRanges(gcHandle)) 454IException exceptionContract = _target.Contracts.Exception; 911HijackKind hijackKind = _target.Contracts.Debugger.GetHijackKind(ip); 1099(bool useFramePointer, long offset) = _target.Contracts.RuntimeInfo.GetTargetArchitecture() switch 1135RuntimeInfoArchitecture arch = _target.Contracts.RuntimeInfo.GetTargetArchitecture(); 1203IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 1216IGCInfo gcInfo = _target.Contracts.GCInfo; 1231? _target.Contracts.Object.GetMethodTableAddress(contextValue) 1290HijackKind hijackKind = _target.Contracts.Debugger.GetHijackKind(handle.Context.InstructionPointer); 1322IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 1357ThreadData threadData = _target.Contracts.Thread.GetThreadData(threadPointer);
Contracts\WindowsErrorReporting_1.cs (1)
31readFrom = _target.Contracts.Object.GetArrayData(exception.WatsonBuckets, out _, out _, out _, out _, out _);
CoreCLRContracts.cs (3)
63RuntimeInfoArchitecture arch = t.Contracts.RuntimeInfo.GetTargetArchitecture(); 108ContractRegistry registry = target.Contracts; 197if (target.Contracts.TryValidate<TContract>(out System.Exception? failure))
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TypeLayout.g.cs (1)
75if (target.Contracts.TryGetContract(out IManagedTypeSource mts))
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TypeNameResolver.g.cs (3)
15if (target.Contracts.ManagedTypeSource.TryGetTypeHandle(name, out ITypeHandle? th)) 42if (target.Contracts.TryGetContract(out IManagedTypeSource mts)) 59if (target.Contracts.ManagedTypeSource.TryGetThreadStaticFieldAddress(name, fieldName, thread, out TargetPointer address))
RuntimeTypeSystemHelpers\MethodValidation.cs (3)
194TargetPointer methodDesc = _target.Contracts.TryGetContract(out IPrecodeStubs precodeStubs) 196: _target.Contracts.ExecutionManager.NonVirtualEntry2MethodDesc(temporaryEntryPoint); 206Contracts.IExecutionManager executionManager = _target.Contracts.ExecutionManager;
Microsoft.Diagnostics.DataContractReader.Legacy (568)
ClrDataAppDomain.cs (1)
48ILoader loader = _target.Contracts.Loader;
ClrDataExceptionState.cs (6)
95_target.Contracts.Exception.GetNestedExceptionInfo( 153IObject objectContract = _target.Contracts.Object; 155ITypeHandle typeHandle = _target.Contracts.RuntimeTypeSystem.GetTypeHandle( 209ExceptionData exceptionData = _target.Contracts.Exception.GetExceptionData(exceptionObject); 231string message = _target.Contracts.Object.GetStringValue(exceptionData.Message); 353ThreadData threadData = _target.Contracts.Thread.GetThreadData(_threadAddress);
ClrDataFrame.cs (30)
57IStackWalk stackWalk = _target.Contracts.StackWalk; 121TargetPointer appDomainAddr = _target.Contracts.Loader.GetAppDomain(); 156if (!_target.Contracts.RuntimeTypeSystem.TryGetMethodSignature(mdh, out ReadOnlySpan<byte> signature)) 208IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 236? _target.Contracts.EcmaMetadata.GetMetadata(moduleHandle) 332IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 398IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 400TargetPointer appDomain = _target.Contracts.Loader.GetAppDomain(); 461TargetPointer methodDescPtr = _target.Contracts.StackWalk.GetMethodDescPtr(_dataFrame); 465IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 471moduleHandle = _target.Contracts.Loader.GetModuleHandleFromModulePtr(modulePtr); 489IStackWalk stackWalk = _target.Contracts.StackWalk; 490IDebugInfo debugInfo = _target.Contracts.DebugInfo; 508typeHandle = _target.Contracts.RuntimeTypeSystem.GetTypeHandle( 509_target.Contracts.RuntimeTypeSystem.GetMethodTable(mdh)); 517typeHandle = _target.Contracts.RuntimeTypeSystem.GetPrimitiveType(CorElementType.U8); 561IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 563ILoader loader = _target.Contracts.Loader; 566ICodeVersions cv = _target.Contracts.CodeVersions; 595mdReader = _target.Contracts.EcmaMetadata.GetMetadata(moduleHandle)!; 630MetadataReader mdReader = _target.Contracts.EcmaMetadata.GetMetadata(moduleHandle) ?? throw new NotImplementedException(); 631uint token = _target.Contracts.RuntimeTypeSystem.GetMethodToken(mdh); 666MetadataReader mdReader = _target.Contracts.EcmaMetadata.GetMetadata(moduleHandle) ?? throw new NotImplementedException(); 667uint token = _target.Contracts.RuntimeTypeSystem.GetMethodToken(mdh); 836IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 847IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 882MetadataReader moduleReader = _target.Contracts.EcmaMetadata.GetMetadata(_moduleHandle)!; 953if (target.Contracts.RuntimeInfo.GetTargetArchitecture() == RuntimeInfoArchitecture.Wasm) 1111RuntimeInfoArchitecture arch = target.Contracts.RuntimeInfo.GetTargetArchitecture(); 1126RuntimeInfoArchitecture arch = target.Contracts.RuntimeInfo.GetTargetArchitecture();
ClrDataMethodDefinition.cs (11)
53ILoader loader = _target.Contracts.Loader; 66ILoader loader = _target.Contracts.Loader; 70if (methodDesc != TargetPointer.Null && _target.Contracts.TryGetContract(out ICodeVersions codeVersions)) 95IRuntimeTypeSystem rts = target.Contracts.RuntimeTypeSystem; 104IRuntimeTypeSystem rts = target.Contracts.RuntimeTypeSystem; 118ILoader loader = _target.Contracts.Loader; 120IEcmaMetadata ecmaMetadata = _target.Contracts.EcmaMetadata; 315IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 589ICodeNotifications codeNotif = _target.Contracts.CodeNotifications; 614ICodeNotifications codeNotif = _target.Contracts.CodeNotifications; 729IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem;
ClrDataMethodInstance.cs (19)
73IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 101IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 157IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 176string? fallbackName = _target.Contracts.DacStreams.StringFromEEAddress(_methodDesc.Address); 275if (!_target.Contracts.DebugInfo.HasDebugInfo(pCode)) 278IEnumerable<OffsetMapping> mapEnumerable = _target.Contracts.DebugInfo.GetMethodNativeMap( 372TargetCodePointer nativeCode = _target.Contracts.RuntimeTypeSystem.GetNativeCode(_methodDesc); 373TargetCodePointer pCode = _target.Contracts.ExecutionManager.GetDiagnosticCodeStartFromEntryPoint(nativeCode); 375if (!_target.Contracts.DebugInfo.HasDebugInfo(pCode)) 378IEnumerable<OffsetMapping> mapEnumerable = _target.Contracts.DebugInfo.GetMethodNativeMap( 462TargetCodePointer nativeCode = _target.Contracts.RuntimeTypeSystem.GetNativeCode(_methodDesc); 463TargetCodePointer pCode = _target.Contracts.ExecutionManager.GetDiagnosticCodeStartFromEntryPoint(nativeCode); 468if (!_target.Contracts.DebugInfo.HasDebugInfo(pCode)) 471IEnumerable<OffsetMapping> mapEnumerable = _target.Contracts.DebugInfo.GetMethodNativeMap( 549IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 551TargetCodePointer code = _target.Contracts.ExecutionManager.GetDiagnosticCodeStartFromEntryPoint(nativeCode); 562IExecutionManager executionManager = _target.Contracts.ExecutionManager; 571IGCInfo gcInfo = _target.Contracts.GCInfo; 761IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem;
ClrDataModule.cs (13)
87ILoader loader = _target.Contracts.Loader; 89reader = _target.Contracts.EcmaMetadata.GetMetadata(moduleHandle); 383ILoader loader = _target.Contracts.Loader; 385MetadataReader reader = _target.Contracts.EcmaMetadata.GetMetadata(moduleHandle)!; 579Contracts.ILoader loader = _target.Contracts.Loader; 621Contracts.ILoader contract = _target.Contracts.Loader; 672Contracts.ILoader contract = _target.Contracts.Loader; 719Contracts.ILoader contract = _target.Contracts.Loader; 766Contracts.ILoader contract = _target.Contracts.Loader; 884Contracts.ILoader contract = _target.Contracts.Loader; 954Contracts.ILoader loader = _target.Contracts.Loader; 956MetadataReader reader = _target.Contracts.EcmaMetadata.GetMetadata(handle) 994Contracts.ILoader loader = _target.Contracts.Loader;
ClrDataStackWalk.cs (6)
38_threadData = _target.Contracts.Thread.GetThreadData(_threadAddr); 39_dataFrames = _target.Contracts.StackWalk.CreateStackWalk(_threadData).GetEnumerator(); 57IStackWalk stackWalk = _target.Contracts.StackWalk; 81_dataFrames = _target.Contracts.StackWalk.CreateStackWalk(_threadData, context, isFirst).GetEnumerator(); 92IStackWalk sw = _target.Contracts.StackWalk; 303IStackWalk sw = _target.Contracts.StackWalk;
ClrDataTask.cs (5)
49TargetPointer currentAppDomain = _target.Contracts.Loader.GetAppDomain(); 104Contracts.ThreadData threadData = _target.Contracts.Thread.GetThreadData(_address); 159TargetPointer thrownObjectHandle = _target.Contracts.Thread.GetCurrentExceptionHandle(_address); 166Contracts.ThreadData threadData = _target.Contracts.Thread.GetThreadData(_address); 246Contracts.ThreadData threadData = _target.Contracts.Thread.GetThreadData(_address);
ClrDataTypeDefinition.cs (3)
139Contracts.ModuleHandle module = _target.Contracts.Loader.GetModuleHandleFromModulePtr(_module); 140MetadataReader reader = _target.Contracts.EcmaMetadata.GetMetadata(module) ?? throw new NotImplementedException(); 248*type = (uint)_target.Contracts.RuntimeTypeSystem.GetInternalCorElementType(_typeHandle);
ClrDataTypeInstance.cs (2)
207IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 228ILoader loader = _target.Contracts.Loader;
ClrDataValue.cs (17)
473Size = _target.Contracts.RuntimeTypeSystem.GetBaseSize(_typeHandle), 515IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 516TargetPointer methodTable = _target.Contracts.Object.GetMethodTableAddress(_baseAddress); 547string value = _target.Contracts.Object.GetStringValue(_baseAddress); 588IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 589ITypeHandle arrayType = rts.GetTypeHandle(_target.Contracts.Object.GetMethodTableAddress(_baseAddress)); 591_target.Contracts.Object.GetArrayData(_baseAddress, out uint count, out _, out _, out uint[] dimensionLengths, out int[] lowerBoundsValues); 648IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 649ITypeHandle arrayType = rts.GetTypeHandle(_target.Contracts.Object.GetMethodTableAddress(_baseAddress)); 654TargetPointer data = _target.Contracts.Object.GetArrayData(_baseAddress, out _, out _, out _, out uint[] dimensionLengths, out int[] lowerBoundsValues); 911IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 941IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 944Contracts.ModuleHandle moduleHandle = _target.Contracts.Loader.GetModuleHandleFromModulePtr(module); 945MetadataReader metadata = _target.Contracts.EcmaMetadata.GetMetadata(moduleHandle) ?? throw new NotImplementedException(); 957IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 1018IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 1072IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem;
ConversionExtensions.cs (1)
91IPlatformMetadata metadata = target.Contracts.PlatformMetadata;
Dbi\DacDbiImpl.cs (193)
138*pResult = _target.Contracts.Debugger.TryGetDebuggerData(out Contracts.DebuggerData data) && data.IsLeftSideInitialized ? Interop.BOOL.TRUE : Interop.BOOL.FALSE; 191string name = _target.Contracts.Loader.GetAppDomainFriendlyName(); 215Contracts.ILoader loader = _target.Contracts.Loader; 248Contracts.ILoader loader = _target.Contracts.Loader; 289Contracts.ILoader loader = _target.Contracts.Loader; 304Contracts.IEcmaMetadata ecmaMetadata = _target.Contracts.EcmaMetadata; 314Contracts.IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 369Contracts.ILoader loader = _target.Contracts.Loader; 417Contracts.ILoader loader = _target.Contracts.Loader; 420Contracts.IEcmaMetadata ecmaMetadata = _target.Contracts.EcmaMetadata; 467Contracts.ILoader loader = _target.Contracts.Loader; 470byte[] blob = _target.Contracts.EcmaMetadata.GetReadWriteMetadata(handle); 504Contracts.ILoader loader = _target.Contracts.Loader; 507byte[] blob = _target.Contracts.EcmaMetadata.GetReadWriteMetadata(handle); 555Contracts.ILoader loader = _target.Contracts.Loader; 599Contracts.ILoader loader = _target.Contracts.Loader; 659Contracts.ILoader loader = _target.Contracts.Loader; 698IExecutionManager eman = _target.Contracts.ExecutionManager; 731Contracts.ILoader loader = _target.Contracts.Loader; 768Contracts.ILoader loader = _target.Contracts.Loader; 829Contracts.ILoader loader = _target.Contracts.Loader; 878_target.Contracts.Debugger.RequestSyncAtEvent(); 900_target.Contracts.Debugger.SetSendExceptionsOutsideOfJMC(sendExceptionsOutsideOfJMC != Interop.BOOL.FALSE); 922Contracts.IDebugger debugger = _target.Contracts.Debugger; 954Contracts.IDebugger debugger = _target.Contracts.Debugger; 1024TargetPointer espContext = _target.Contracts.Debugger.PrepareExceptionHijack( 1056Contracts.IThread threadContract = _target.Contracts.Thread; 1112Contracts.ThreadData threadData = _target.Contracts.Thread.GetThreadData(new TargetPointer(vmThread)); 1138Contracts.ThreadData threadData = _target.Contracts.Thread.GetThreadData(new TargetPointer(vmThread)); 1165Contracts.ThreadData threadData = _target.Contracts.Thread.GetThreadData(new TargetPointer(vmThread)); 1195Contracts.ThreadData threadData = _target.Contracts.Thread.GetThreadData(threadPtr); 1196_target.Contracts.Thread.GetThreadAllocContext(threadPtr, out long allocBytes, out long allocBytesLoh); 1233_target.Contracts.Thread.SetDebuggerControlledThreadState(threadPtr, Contracts.DebuggerControlledThreadState.UserSuspend); 1237_target.Contracts.Thread.ResetDebuggerControlledThreadState(threadPtr, Contracts.DebuggerControlledThreadState.UserSuspend); 1265Contracts.ThreadData threadData = _target.Contracts.Thread.GetThreadData(new TargetPointer(vmThread)); 1300Contracts.ThreadData threadData = _target.Contracts.Thread.GetThreadData(threadPtr); 1303byte[] contextBytes = _target.Contracts.StackWalk.GetContext(threadData, ThreadContextSource.Debugger, context.FullContextFlags); 1305if (!_target.Contracts.ExecutionManager.IsGcSafe(context.InstructionPointer)) 1335Contracts.ThreadData threadData = _target.Contracts.Thread.GetThreadData(threadPtr); 1416Contracts.ThreadData threadData = _target.Contracts.Thread.GetThreadData(new TargetPointer(vmThread)); 1446Contracts.ThreadData threadData = _target.Contracts.Thread.GetThreadData(new TargetPointer(vmThread)); 1474TargetPointer exceptionHandle = _target.Contracts.Thread.GetCurrentExceptionHandle(threadPtr); 1477ThreadData data = _target.Contracts.Thread.GetThreadData(threadPtr); 1511if (_target.Contracts.TryGetContract<IComWrappers>(out IComWrappers? comWrappers)) 1520if (!comWrappersSuccess && _target.Contracts.TryGetContract<IBuiltInCOM>(out IBuiltInCOM? builtInCOM)) 1557Contracts.ThreadData threadData = _target.Contracts.Thread.GetThreadData(new TargetPointer(vmThread)); 1584TargetPointer defaultAppDomain = _target.Contracts.Loader.GetAppDomain(); 1611Contracts.ILoader loader = _target.Contracts.Loader; 1662Contracts.IDebugInfo debugInfo = _target.Contracts.DebugInfo; 1728Contracts.IThread threadContract = _target.Contracts.Thread; 1740IStackWalk sw = _target.Contracts.StackWalk; 1829ThreadData threadData = _target.Contracts.Thread.GetThreadData(new TargetPointer(vmThread)); 1830byte[] seedContext = _target.Contracts.StackWalk.GetContext(threadData, ThreadContextSource.Debugger, allFlags); 1833handleData = new StackWalkHandleData(_target.Contracts.StackWalk, threadData); 2072_target.Contracts.Thread.GetStackLimitData(new TargetPointer(vmThread), out TargetPointer stackBase, out TargetPointer stackLimit, out _); 2131TargetCodePointer controlPC = _target.Contracts.StackWalk.GetInstructionPointer(handle); 2132if (_target.Contracts.Debugger.GetHijackKind(controlPC) != HijackKind.None) 2230IStackWalk sw = _target.Contracts.StackWalk; 2234RuntimeInfoArchitecture arch = _target.Contracts.RuntimeInfo.GetTargetArchitecture(); 2259IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 2260IExecutionManager eman = _target.Contracts.ExecutionManager; 2261TargetPointer currentAppDomain = _target.Contracts.Loader.GetAppDomain(); 2268data.fp = _target.Contracts.StackWalk.GetRuntimeFramePointer(handle).Value; 2280TargetPointer mdPtr = _target.Contracts.StackWalk.GetMethodDescPtr(handle); 2291data.v.exactGenericArgsToken = _target.Contracts.StackWalk.GetExactGenericArgsToken(handle).Value; 2308TargetCodePointer controlPC = _target.Contracts.StackWalk.GetInstructionPointer(handle); 2332data.v.jitFuncData.fpParentOrSelf = _target.Contracts.StackWalk.GetFuncletRootId(handle, out uint parentNativeOffset).Value; 2346IExecutionManager eman = _target.Contracts.ExecutionManager; 2348IGCInfo gcInfo = _target.Contracts.GCInfo; 2349TargetCodePointer ip = _target.Contracts.StackWalk.GetInstructionPointer(handle); 2354IStackWalk stackWalk = _target.Contracts.StackWalk; 2393IStackWalk stackwalk = _target.Contracts.StackWalk; 2428TargetPointer currentAppDomain = _target.Contracts.Loader.GetAppDomain(); 2429IStackWalk stackwalk = _target.Contracts.StackWalk; 2518IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 2536ILoader loader = _target.Contracts.Loader; 2570IExecutionManager eman = _target.Contracts.ExecutionManager; 2622ThreadData threadData = _target.Contracts.Thread.GetThreadData(new TargetPointer(vmThread)); 2623byte[] leafContext = _target.Contracts.StackWalk.GetContext(threadData, ThreadContextSource.None, allFlags); 2665ThreadData threadData = _target.Contracts.Thread.GetThreadData(new TargetPointer(vmThread)); 2666byte[] context = _target.Contracts.StackWalk.GetContext(threadData, ThreadContextSource.Debugger, allFlags); 2706Contracts.IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 2746Contracts.ISignature signature = _target.Contracts.Signature; 2780RuntimeInfoArchitecture arch = _target.Contracts.RuntimeInfo.GetTargetArchitecture(); 2786Contracts.IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 2833*pRetVal = _target.Contracts.Object.GetMethodTableAddress(new TargetPointer(rawToken)).Value; 2873ILoader loader = _target.Contracts.Loader; 2876MetadataReader mdReader = _target.Contracts.EcmaMetadata.GetMetadata(moduleHandle) 2892IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 2946ILoader loader = _target.Contracts.Loader; 2951IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 2967nativeCode = _target.Contracts.ExecutionManager.GetDiagnosticCodeStartFromEntryPoint(nativeCode); 2970IExecutionManager executionManager = _target.Contracts.ExecutionManager; 2978if (_target.Contracts.TryGetContract(out ICodeVersions codeVersions)) 3021code = _target.Contracts.ExecutionManager.GetDiagnosticCodeStartFromEntryPoint(code); 3028IExecutionManager executionManager = _target.Contracts.ExecutionManager; 3043IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 3049if (_target.Contracts.TryGetContract(out ICodeVersions codeVersions)) 3132Contracts.IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 3160Contracts.IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 3199IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 3253IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 3303IRuntimeMutableTypeSystem? mts = _target.Contracts.TryGetContract<IRuntimeMutableTypeSystem>(out IRuntimeMutableTypeSystem enc) ? enc : null; 3462IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 3491IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 3492TargetPointer mtAddr = _target.Contracts.Object.GetMethodTableAddress(new TargetPointer(addr)); 3570Contracts.ILoader loader = _target.Contracts.Loader; 3613IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 3653IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 3809IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 3949Contracts.IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 3983Contracts.IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 4010IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 4011IRuntimeMutableTypeSystem mrts = _target.Contracts.RuntimeMutableTypeSystem; 4012Contracts.ILoader loader = _target.Contracts.Loader; 4114ILoader loader = _target.Contracts.Loader; 4115IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 4147IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 4225Contracts.IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 4265IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 4267TargetPointer parentMT = _target.Contracts.Object.GetMethodTableAddress(objectAddress); 4325ulong vmAppDomain = _target.Contracts.Loader.GetAppDomain().Value; 4327IException exceptionContract = _target.Contracts.Exception; 4373IObject obj = _target.Contracts.Object; 4418IObject obj = _target.Contracts.Object; 4422IBuiltInCOM builtInCom = _target.Contracts.BuiltInCOM; 4466IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 4505IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 4506TargetPointer mtAddr = _target.Contracts.Object.GetMethodTableAddress(objectAddress); 4512_target.Contracts.Object.GetStringData(objectAddress, out uint length, out uint offset); 4544IObject objectContract = _target.Contracts.Object; 4545IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 4608IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 4613TargetPointer mt = _target.Contracts.Object.GetMethodTableAddress(objectAddress); 4625*pObjSize = (uint)_target.Contracts.Object.GetSize(objectAddress); 4670*pRetVal = _target.Contracts.Debugger.GetDebuggerControlBlockAddress().Value; 4807TargetPointer syncBlock = _target.Contracts.Object.GetSyncBlockAddress(vmObject); 4809if (syncBlock == TargetPointer.Null || !_target.Contracts.SyncBlock.TryGetLockInfo(syncBlock, out threadId, out recursionCount)) 4815TargetPointer threadPtr = _target.Contracts.Thread.IdToThread(threadId); 4861*pRetVal = _target.Contracts.Debugger.GetAttachStateFlags(); 4896Contracts.ILoader loader = _target.Contracts.Loader; 4959Contracts.ThreadState threadState = _target.Contracts.Thread.GetThreadData(vmThread).State; 5151IGC gc = _target.Contracts.GC; 5261IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 5262TargetPointer mt = _target.Contracts.Object.GetMethodTableAddress(new TargetPointer(obj)); 5441TargetPointer mt = _target.Contracts.Object.GetMethodTableAddress(new TargetPointer(obj)); 5512IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 5552IEcmaMetadata ecmaMetadataContract = _target.Contracts.EcmaMetadata; 5553ISignature signature = _target.Contracts.Signature; 5568Contracts.ModuleHandle enclosingModuleHandle = _target.Contracts.Loader.GetModuleHandleFromModulePtr(enclosingModulePtr); 5664IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 5721IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 5794Contracts.IGC gc = _target.Contracts.GC; 5839bool hasReadWriteMetadata = _target.Contracts.EcmaMetadata.HasReadWriteMetadata(new TargetPointer(vmPEAssembly)); 5875if (_target.Contracts.TryGetContract<IReJIT>(out IReJIT rejit)) 5877ILoader loader = _target.Contracts.Loader; 5887ICodeVersions codeVersions = _target.Contracts.CodeVersions; 5926if (!_target.Contracts.TryGetContract<IReJIT>(out IReJIT rejit)) 5929ILoader loader = _target.Contracts.Loader; 5943ICodeVersions codeVersions = _target.Contracts.CodeVersions; 5985ILoader loader = _target.Contracts.Loader; 5994ICodeVersions codeVersions = _target.Contracts.CodeVersions; 6057ICodeVersions codeVersions = _target.Contracts.CodeVersions; 6095ICodeVersions codeVersions = _target.Contracts.CodeVersions; 6131if (_target.Contracts.TryGetContract<IReJIT>(out _)) 6133ICodeVersions codeVersions = _target.Contracts.CodeVersions; 6178_target.Contracts.Debugger.EnableGCNotificationEvents(fEnable != Interop.BOOL.FALSE); 6239DelegateInfo delegateInfo = _target.Contracts.Object.GetDelegateInfo(new TargetPointer(delegateObject)); 6248IExecutionManager eman = _target.Contracts.ExecutionManager; 6256IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 6263Contracts.ModuleHandle moduleHandle = _target.Contracts.Loader.GetModuleHandleFromModulePtr(modulePtr); 6264*ppFunctionAssembly = _target.Contracts.Loader.GetAssembly(moduleHandle).Value; 6298DelegateInfo delegateInfo = _target.Contracts.Object.GetDelegateInfo(new TargetPointer(delegateObject)); 6325TargetPointer mt = _target.Contracts.Object.GetMethodTableAddress(vmObject); 6326IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 6344Contracts.ILoader loader = _target.Contracts.Loader; 6376*pResult = _target.Contracts.Debugger.MetadataUpdatesApplied() ? Interop.BOOL.TRUE : Interop.BOOL.FALSE; 6411Contracts.ILoader loader = _target.Contracts.Loader; 6442ContinuationInfo info = _target.Contracts.Object.GetContinuationInfo(new TargetPointer(continuationAddress)); 6499Contracts.IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 6507Contracts.ICodeVersions cv = _target.Contracts.CodeVersions; 6518pCode = _target.Contracts.ExecutionManager.GetDiagnosticCodeStartFromEntryPoint(pCode); 6519IReadOnlyList<AsyncSuspensionInfo> suspensionPoints = _target.Contracts.DebugInfo.GetAsyncSuspensionPoints(pCode); 6582Contracts.IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 6842RuntimeInfoArchitecture arch = _target.Contracts.RuntimeInfo.GetTargetArchitecture(); 6893RuntimeInfoArchitecture arch = _target.Contracts.RuntimeInfo.GetTargetArchitecture(); 6975RuntimeInfoArchitecture arch = _target.Contracts.RuntimeInfo.GetTargetArchitecture(); 7008RuntimeInfoArchitecture arch = _target.Contracts.RuntimeInfo.GetTargetArchitecture(); 7070RuntimeInfoArchitecture arch = _target.Contracts.RuntimeInfo.GetTargetArchitecture(); 7384ReadOnlySpan<char> productVersion = _target.Contracts.RuntimeInfo.GetRuntimeProductVersion().AsSpan(); 7428Contracts.IRuntimeInfo runtimeInfo = _target.Contracts.RuntimeInfo; 7626Contracts.ILoader loader = _target.Contracts.Loader; 7682Contracts.ILoader loader = _target.Contracts.Loader;
Dbi\DacDbiImpl.NativeCodeInfo.cs (1)
19IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem;
Dbi\Helpers\HeapWalk.cs (2)
27_gc = target.Contracts.GC; 28_rts = target.Contracts.RuntimeTypeSystem;
Dbi\Helpers\RefWalk.cs (5)
31_gc = target.Contracts.GC; 34_appDomain = target.Contracts.Loader.GetAppDomain(); 142if (!_target.Contracts.TryGetContract(out IExternalMemoryHandles externalMemoryHandles)) 165IThread threadContract = _target.Contracts.Thread; 166IStackWalk stackWalkContract = _target.Contracts.StackWalk;
Dbi\TypeDataWalk.cs (2)
211ILoader loader = _target.Contracts.Loader; 212IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem;
EnumMemory\MemoryEnumerator.cs (17)
100TryEnumerate(() => _collectorTarget.Target.Contracts.Loader.GetSystemAssembly()); 102IRuntimeTypeSystem rts = _collectorTarget.Target.Contracts.RuntimeTypeSystem; 113IDebugger debugger = _collectorTarget.Target.Contracts.Debugger; 116_collectorTarget.Target.Contracts.ReJIT.IsEnabled(); 121ILoader loader = _collectorTarget.Target.Contracts.Loader; 122IEcmaMetadata ecmaMetadata = _collectorTarget.Target.Contracts.EcmaMetadata; 197IThread thread = _collectorTarget.Target.Contracts.Thread; 230IThread thread = _collectorTarget.Target.Contracts.Thread; 241IStackWalk stackWalk = _collectorTarget.Target.Contracts.StackWalk; 252IGC gc = _collectorTarget.Target.Contracts.GC; 298IExecutionManager executionManager = _collectorTarget.Target.Contracts.ExecutionManager; 315ILoader loaderContract = _collectorTarget.Target.Contracts.Loader; 330ILoader loader = _collectorTarget.Target.Contracts.Loader; 337ISyncBlock syncBlock = _collectorTarget.Target.Contracts.SyncBlock; 338IThread thread = _collectorTarget.Target.Contracts.Thread; 359foreach ((TargetCodePointer _, string _) in _collectorTarget.Target.Contracts.AuxiliarySymbols.EnumerateAuxiliarySymbols()) 379IStressLog stressLog = _collectorTarget.Target.Contracts.StressLog;
EnumMemory\MethodCollector.cs (8)
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 (13)
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; 233IRuntimeTypeSystem types = _collectorTarget.Target.Contracts.RuntimeTypeSystem;
SigFormat.cs (10)
159IRuntimeTypeSystem runtimeTypeSystem = target.Contracts.RuntimeTypeSystem; 181TargetPointer modulePointer = target.Contracts.RuntimeTypeSystem.GetModule(th); 182Contracts.ModuleHandle module = target.Contracts.Loader.GetModuleHandleFromModulePtr(modulePointer); 183MetadataReader internalTypeMetadata = target.Contracts.EcmaMetadata.GetMetadata(module)!; 313IRuntimeTypeSystem runtimeTypeSystem = target.Contracts.RuntimeTypeSystem; 350TargetPointer modulePointer = target.Contracts.RuntimeTypeSystem.GetModule(typeHandle); 351Contracts.ModuleHandle module = target.Contracts.Loader.GetModuleHandleFromModulePtr(modulePointer); 352MetadataReader metadata = target.Contracts.EcmaMetadata.GetMetadata(module)!; 396Contracts.ModuleHandle genericVariableModule = target.Contracts.Loader.GetModuleHandleFromModulePtr(genericVariableModulePointer); 397MetadataReader generatedVariableMetadata = target.Contracts.EcmaMetadata.GetMetadata(genericVariableModule)!;
SOSDacImpl.cs (152)
134Contracts.ILoader loader = _target.Contracts.Loader; 201TargetPointer appDomain = _target.Contracts.Loader.GetAppDomain(); 241ILoader loader = _target.Contracts.Loader; 314TargetPointer defaultAppDomain = _target.Contracts.Loader.GetAppDomain(); 369TargetPointer defaultAppDomain = _target.Contracts.Loader.GetAppDomain(); 372ILoader loader = _target.Contracts.Loader; 419ILoader loader = _target.Contracts.Loader; 506Contracts.ILoader loader = _target.Contracts.Loader; 550Contracts.ILoader contract = _target.Contracts.Loader; 601Contracts.IBuiltInCOM contract = _target.Contracts.BuiltInCOM; 673Contracts.IBuiltInCOM builtInCOMContract = _target.Contracts.BuiltInCOM; // E_NOTIMPL if contract is not present 752if (_target.Contracts.RuntimeInfo.GetTargetOperatingSystem() != RuntimeInfoOperatingSystem.Windows) 758buckets = _target.Contracts.WindowsErrorReporting.GetWatsonBuckets(thread.ToTargetPointer(_target)); 802IExecutionManager eman = _target.Contracts.ExecutionManager; 803IGCInfo gcInfo = _target.Contracts.GCInfo; 888IExecutionManager em = _target.Contracts.ExecutionManager; 1111IRuntimeTypeSystem rtsContract = _target.Contracts.RuntimeTypeSystem; 1112IEcmaMetadata ecmaMetadataContract = _target.Contracts.EcmaMetadata; 1125Contracts.ModuleHandle moduleHandle = _target.Contracts.Loader.GetModuleHandleFromModulePtr(modulePtr); 1241IStackWalk stackWalk = _target.Contracts.StackWalk; 1292IGC gc = _target.Contracts.GC; 1337IGC gc = _target.Contracts.GC; 1403IGC gc = _target.Contracts.GC; 1537IGC gc = _target.Contracts.GC; 1680IGC gc = _target.Contracts.GC; 1683TargetPointer appDomain = _target.Contracts.Loader.GetAppDomain(); 1907IGC gc = _target.Contracts.GC; 1949IGC gc = _target.Contracts.GC; 1974IGC gc = _target.Contracts.GC; 2020IGC gc = _target.Contracts.GC; 2067IGC gc = _target.Contracts.GC; 2153Contracts.ILoader loader = _target.Contracts.Loader; 2183if (!_target.Contracts.AuxiliarySymbols.TryGetAuxiliarySymbolName(ip.ToTargetPointer(_target), out string? symbolName)) 2229Contracts.JitManagerInfo jitManagerInfo = _target.Contracts.ExecutionManager.GetJitManagerInfo(JitManagerKind.EE)!.Value; 2307if (_target.Contracts.RuntimeInfo.GetTargetArchitecture() != RuntimeInfoArchitecture.X64) 2363Contracts.IRuntimeTypeSystem rtsContract = _target.Contracts.RuntimeTypeSystem; 2367Contracts.ICodeVersions nativeCodeContract = _target.Contracts.CodeVersions; 2368Contracts.IReJIT rejitContract = _target.Contracts.ReJIT; 2402data->NativeCodeAddr = _target.Contracts.ExecutionManager.GetDiagnosticCodeStartFromEntryPoint(nativeCodeAddr).ToAddress(_target).ToClrDataAddress(_target); 2608ICodeVersions cv = _target.Contracts.CodeVersions; 2609IReJIT rejit = _target.Contracts.ReJIT; 2614pReJitData->NativeCodeAddr = _target.Contracts.ExecutionManager.GetDiagnosticCodeStartFromEntryPoint(nativeCode).Value; 2661Contracts.ILoader loader = _target.Contracts.Loader; 2712Contracts.IRuntimeTypeSystem rtsContract = _target.Contracts.RuntimeTypeSystem; 2731string? fallbackNameString = _target.Contracts.DacStreams.StringFromEEAddress(methodDesc); 2741Contracts.ModuleHandle module = _target.Contracts.Loader.GetModuleHandleFromModulePtr(modulePtr); 2742string modulePath = _target.Contracts.Loader.GetPath(module); 2799Contracts.IStackWalk stackWalkContract = _target.Contracts.StackWalk; 2804_target.Contracts.RuntimeTypeSystem.GetMethodDescHandle(methodDescPtr); // validation 2835IExecutionManager executionManager = _target.Contracts.ExecutionManager; 2836IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 2889_target.Contracts.RuntimeTypeSystem.GetMethodDescHandle(methodDesc.ToTargetPointer(_target)); 2910Contracts.IRuntimeTypeSystem contract = _target.Contracts.RuntimeTypeSystem; 2984Contracts.IRuntimeTypeSystem rtsContract = _target.Contracts.RuntimeTypeSystem; 3025Contracts.IRuntimeTypeSystem contract = _target.Contracts.RuntimeTypeSystem; 3055Contracts.IRuntimeTypeSystem typeSystemContract = _target.Contracts.RuntimeTypeSystem; 3056Contracts.ILoader loader = _target.Contracts.Loader; 3079string? fallbackName = _target.Contracts.DacStreams.StringFromEEAddress(mt.ToTargetPointer(_target)); 3122IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 3198_target.Contracts.RuntimeTypeSystem.GetTypeHandle(mt.ToTargetPointer(_target)); 3243Contracts.ILoader contract = _target.Contracts.Loader; 3260TargetSpan readOnlyMetadata = _target.Contracts.EcmaMetadata.GetReadOnlyMetadataAddress(handle); 3334Contracts.IException contract = _target.Contracts.Exception; 3373Contracts.IObject objectContract = _target.Contracts.Object; 3374Contracts.IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 3375Contracts.ILoader loader = _target.Contracts.Loader; 3401string? fallbackName = _target.Contracts.DacStreams.StringFromEEAddress(mt); 3446Contracts.IObject objectContract = _target.Contracts.Object; 3447Contracts.IRuntimeTypeSystem runtimeTypeSystemContract = _target.Contracts.RuntimeTypeSystem; 3509if (_target.Contracts.FeatureFlags.IsEnabled(Contracts.RuntimeFeature.COMInterop) 3557Contracts.IObject contract = _target.Contracts.Object; 3605IGC gc = _target.Contracts.GC; 3657IGC gc = _target.Contracts.GC; 3707Contracts.ILoader contract = _target.Contracts.Loader; 3747Contracts.ILoader contract = _target.Contracts.Loader; 3812IBuiltInCOM builtInCom = _target.Contracts.BuiltInCOM; // E_NOTIMPL if not defined (non-Windows) 3874IBuiltInCOM builtInCom = _target.Contracts.BuiltInCOM; // E_NOTIMPL if not defined (non-Windows) 3958string[] regs = _target.Contracts.RuntimeInfo.GetTargetArchitecture() switch 4075Contracts.IThread contract = _target.Contracts.Thread; 4186IThread threadContract = _target.Contracts.Thread; 4187IStackWalk stackWalkContract = _target.Contracts.StackWalk; 4279ISyncBlock syncBlockContract = _target.Contracts.SyncBlock; 4341ISyncBlock syncBlock = _target.Contracts.SyncBlock; 4365IThread thread = _target.Contracts.Thread; 4370TargetPointer appDomain = _target.Contracts.Loader.GetAppDomain(); 4421Contracts.IThread contract = _target.Contracts.Thread; 4455Contracts.IThread contract = _target.Contracts.Thread; 4465TargetPointer appDomain = _target.Contracts.Loader.GetAppDomain(); 4521TargetPointer threadPtr = _target.Contracts.Thread.IdToThread(thinLockId); 4584Contracts.IThread thread = _target.Contracts.Thread; 4666Contracts.IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 4795IExecutionManager executionManager = _target.Contracts.ExecutionManager; 4897Contracts.ILoader loader = _target.Contracts.Loader; 4978Contracts.ILoader loader = _target.Contracts.Loader; 5044Contracts.IBuiltInCOM contract = _target.Contracts.BuiltInCOM; // E_NOTIMPL if not defined (non-Windows) 5089Contracts.ILoader loader = _target.Contracts.Loader; 5139Contracts.IException contract = _target.Contracts.Exception; 5169if (!_target.Contracts.FeatureFlags.IsEnabled(Contracts.RuntimeFeature.COMInterop)) 5206IGC gc = _target.Contracts.GC; 5249IGC gc = _target.Contracts.GC; 5356IGC gc = _target.Contracts.GC; 5464ILoader loader = _target.Contracts.Loader; 5465ICodeVersions codeVersions = _target.Contracts.CodeVersions; 5466IReJIT rejitContract = _target.Contracts.ReJIT; 5474IRuntimeTypeSystem runtimeTypeSystemContract = _target.Contracts.RuntimeTypeSystem; 5492TargetCodePointer nativeCode = _target.Contracts.ExecutionManager.GetDiagnosticCodeStartFromEntryPoint(codeVersions.GetNativeCode(nativeCodeVersionHandle)); 5592Contracts.IRuntimeTypeSystem rtsContract = _target.Contracts.RuntimeTypeSystem; 5593ILoader loaderContract = _target.Contracts.Loader; 5637Contracts.IReJIT rejitContract = _target.Contracts.ReJIT; 5638Contracts.ICodeVersions codeVersionsContract = _target.Contracts.CodeVersions; 5682ICodeVersions cv = _target.Contracts.CodeVersions; 5683IReJIT rejitContract = _target.Contracts.ReJIT; 5750Contracts.IReJIT rejit = _target.Contracts.ReJIT; 5751Contracts.ICodeVersions cv = _target.Contracts.CodeVersions; 5752Contracts.ILoader loader = _target.Contracts.Loader; 5753Contracts.IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 5808Contracts.ILoader loader = _target.Contracts.Loader; 5809Contracts.IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 5810Contracts.IReJIT rejit = _target.Contracts.ReJIT; 5811Contracts.ICodeVersions cv = _target.Contracts.CodeVersions; 5882IGC gc = _target.Contracts.GC; 5918IGC gc = _target.Contracts.GC; 5988IGC gc = _target.Contracts.GC; 6051IGC gc = _target.Contracts.GC; 6121IGC gc = _target.Contracts.GC; 6185Contracts.IRuntimeTypeSystem rtsContract = _target.Contracts.RuntimeTypeSystem; 6186Contracts.ILoader loaderContract = _target.Contracts.Loader; 6244Contracts.IComWrappers comWrappersContract = _target.Contracts.ComWrappers; 6309Contracts.IComWrappers comWrappersContract = _target.Contracts.ComWrappers; 6347Contracts.IComWrappers comWrappersContract = _target.Contracts.ComWrappers; 6389Contracts.IComWrappers comWrappersContract = _target.Contracts.ComWrappers; 6428Contracts.IComWrappers comWrappersContract = _target.Contracts.ComWrappers; 6473Contracts.IObject objectContract = _target.Contracts.Object; 6479Contracts.IRuntimeTypeSystem rtsContract = _target.Contracts.RuntimeTypeSystem; 6486if (_target.Contracts.TryGetContract<IObjectiveCMarshal>(out IObjectiveCMarshal? objcContract)) 6527if (_target.Contracts.TryGetContract<IObjectiveCMarshal>(out IObjectiveCMarshal? objcContract)) 6570Contracts.IGC gcContract = _target.Contracts.GC; 6639Contracts.ILoader contract = _target.Contracts.Loader; 6774Contracts.ILoader contract = _target.Contracts.Loader; 6834IReadOnlyList<GCMemoryRegionData> regions = _target.Contracts.GC.GetHandleTableMemoryRegions(); 6860IReadOnlyList<GCMemoryRegionData> regions = _target.Contracts.GC.GetGCBookkeepingMemoryRegions(); 6886IReadOnlyList<GCMemoryRegionData> regions = _target.Contracts.GC.GetGCFreeRegions(); 6933Contracts.IRuntimeTypeSystem rtsContract = _target.Contracts.RuntimeTypeSystem; 6973Contracts.IRuntimeTypeSystem rtsContract = _target.Contracts.RuntimeTypeSystem; 7029Contracts.IRuntimeTypeSystem rtsContract = _target.Contracts.RuntimeTypeSystem; 7076_rts = _target.Contracts.RuntimeTypeSystem; 7256IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 7292IGC gc = _target.Contracts.GC; 7502Contracts.IStressLog stressLogContract = _target.Contracts.StressLog; 7530Contracts.IStressLog stressLogContract = _target.Contracts.StressLog; 7561Contracts.IStressLog stressLogContract = _target.Contracts.StressLog; 7583Contracts.IStressLog stressLogContract = _target.Contracts.StressLog;
SOSDacImpl.IXCLRDataProcess.cs (33)
48IExecutionManager executionManager = _target.Contracts.ExecutionManager; 127Contracts.IThread contract = _target.Contracts.Thread; 179TargetPointer thread = _target.Contracts.Thread.IdToThread((uint)taskID); 248*type = _target.Contracts.ExecutionManager.GetCodeKind(codeAddress) switch 298IExecutionManager eman = _target.Contracts.ExecutionManager; 301TargetCodePointer managedCodeAddr = _target.Contracts.ExecutionManager.GetDiagnosticCodeStartFromEntryPoint(codeAddr); 317IPrecodeStubs precodeStubs = _target.Contracts.PrecodeStubs; 336if (resultName is null && _target.Contracts.AuxiliarySymbols.TryGetAuxiliarySymbolName(address.ToTargetPointer(_target), out string? auxSymbolName)) 396IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 451TargetPointer appDomain = _target.Contracts.Loader.GetAppDomain(); 581TargetPointer domain = _target.Contracts.Loader.GetAppDomain(); 641ILoader loader = _target.Contracts.Loader; 773ILoader loader = _target.Contracts.Loader; 823_appDomain = _target.Contracts.Loader.GetAppDomain(); 830_loader = _target.Contracts.Loader; 831_rts = _target.Contracts.RuntimeTypeSystem; 832_cv = _target.Contracts.CodeVersions; 870ILoader loader = _target.Contracts.Loader; 982IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 991IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 1028IExecutionManager eman = _target.Contracts.ExecutionManager; 1187INotifications notifications = _target.Contracts.Notifications; 1225TargetPointer appDomain = _target.Contracts.Loader.GetAppDomain(); 1227IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 1251IThread thread = _target.Contracts.Thread; 1300TargetPointer appDomain = _target.Contracts.Loader.GetAppDomain(); 1301IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 1408_target.Contracts.CodeNotifications.SetAllCodeNotifications(moduleAddr, CodeNotificationFlagsConverter.FromCom(flags)); 1455ICodeNotifications codeNotif = _target.Contracts.CodeNotifications; 1548_target.Contracts.CodeNotifications.SetCodeNotification(moduleAddr, tokens[i], CodeNotificationFlagsConverter.FromCom(f)); 1654ILoader loader = _target.Contracts.Loader; 1667MetadataReader reader = _target.Contracts.EcmaMetadata.GetMetadata(module) 1889_target.Contracts.Notifications.SetGcNotification(gcEvtArgs.condemnedGeneration);
StressTestApi\CdacStressApi.cs (2)
73IRuntimeTypeSystem rts = target.Contracts.RuntimeTypeSystem; 76encoded = target.Contracts.CallingConvention.TryComputeArgGCRefMapBlob(mdh, out blob);
TypeHandleExtensions.cs (4)
24IRuntimeTypeSystem runtimeTypeSystem = target.Contracts.RuntimeTypeSystem; 42Contracts.ModuleHandle module = target.Contracts.Loader.GetModuleHandleFromModulePtr(runtimeTypeSystem.GetModule(typeHandle)); 43MetadataReader reader = target.Contracts.EcmaMetadata.GetMetadata(module)!; 64IRuntimeTypeSystem runtimeTypeSystem = target.Contracts.RuntimeTypeSystem;
TypeNameBuilder.cs (12)
67IRuntimeTypeSystem runtimeTypeSystem = target.Contracts.RuntimeTypeSystem; 68ILoader loader = target.Contracts.Loader; 127MetadataReader reader = target.Contracts.EcmaMetadata.GetMetadata(module)!; 144MetadataReader? reader = target.Contracts.EcmaMetadata.GetMetadata(methodModule); 209var typeSystemContract = tnb.Target.Contracts.RuntimeTypeSystem; 227Contracts.ModuleHandle module = tnb.Target.Contracts.Loader.GetModuleHandleFromModulePtr(modulePointer); 228MetadataReader reader = tnb.Target.Contracts.EcmaMetadata.GetMetadata(module)!; 281Contracts.ModuleHandle moduleHandle = tnb.Target.Contracts.Loader.GetModuleHandleFromModulePtr(typeSystemContract.GetModule(typeHandle)); 295MetadataReader reader = tnb.Target.Contracts.EcmaMetadata.GetMetadata(moduleHandle)!; 319Contracts.ModuleHandle module = tnb.Target.Contracts.Loader.GetModuleHandleFromModulePtr(modulePtr); 322MetadataReader mr = tnb.Target.Contracts.EcmaMetadata.GetMetadata(module)!; 345if (format.HasFlag(TypeNameFormat.FormatFullInst) && !tnb.Target.Contracts.RuntimeTypeSystem.IsGenericVariable(arg, out _, out _, out _))