1 write to _legacy
Microsoft.Diagnostics.DataContractReader.Legacy (1)
Dbi\DacDbiImpl.cs (1)
65_legacy = legacyObj as IDacDbiInterface;
258 references to _legacy
Microsoft.Diagnostics.DataContractReader.Legacy (258)
Dbi\DacDbiImpl.cs (257)
71return _legacy is not null ? _legacy.FlushCache() : HResults.S_OK; 75=> LegacyFallbackHelper.CanFallback() && _legacy is not null 76? _legacy.DacSetTargetConsistencyChecks(fEnableAsserts) 93if (_legacy is not null) 96int hrLocal = _legacy.IsLeftSideInitialized(&resultLocal); 119if (_legacy is not null) 122int hrLocal = _legacy.GetAppDomainId(vmAppDomain, &retValLocal); 144if (_legacy is not null) 146int hrLocal = _legacy.GetAppDomainFullName(vmAppDomain, pStrName); 169if (_legacy is not null) 172int hrLocal = _legacy.GetModuleSimpleName(vmModule, legacyHolder.Ptr); 209if (_legacy is not null) 212int hrLocal = _legacy.GetAssemblyPath(vmAssembly, pStrFilename, &resultLocal); 286if (resolved && _legacy is not null) 289int hrLocal = _legacy.ResolveTypeReference(pTypeRefInfo, &targetLocal); 338if (_legacy is not null) 341int hrLocal = _legacy.GetModulePath(vmModule, pStrFilename, &resultLocal); 351=> LegacyFallbackHelper.CanFallback() && _legacy is not null ? _legacy.GetMetadata(vmModule, pTargetBuffer) : HResults.E_NOTIMPL; 385if (_legacy is not null) 389int hrLocal = _legacy.GetSymbolsBuffer(vmModule, &bufferLocal, &formatLocal); 434if (_legacy is not null) 437int hrLocal = _legacy.GetModuleData(vmModule, &dataLocal); 477if (_legacy is not null) 481int hrLocal = _legacy.GetModuleForAssembly(vmAssembly, &moduleLocal, &isModuleLoadedLocal); 513if (_legacy is not null) 516int hrLocal = _legacy.IsManagedCode(address, &isManagedLocal); 549if (_legacy is not null) 553int hrLocal = _legacy.GetCompilerFlags(vmAssembly, &allowJITOptsLocal, &enableEnCLocal); 603if (_legacy is not null) 605int hrLocal = _legacy.SetCompilerFlags(vmAssembly, fAllowJitOpts, fEnableEnC); 616List<ulong>? cdacAssemblies = _legacy is not null ? new() : null; 647if (_legacy is not null && fpCallback != null) 653int hrLocal = _legacy.EnumerateAssembliesInAppDomain(vmAppDomain, &CollectEnumerationCallback, GCHandle.ToIntPtr(dacHandle)); 685if (_legacy is not null) 687int hrLocal = _legacy.RequestSyncAtEvent(); 706if (_legacy is not null) 708int hrLocal = _legacy.SetSendExceptionsOutsideOfJMC(sendExceptionsOutsideOfJMC); 736if (_legacy is not null) 738int hrLocal = _legacy.MarkDebuggerAttachPending(); 767if (_legacy is not null) 769int hrLocal = _legacy.MarkDebuggerAttached(fAttached); 845List<ulong>? cdacThreads = _legacy is not null ? new() : null; 873if (_legacy is not null) 877int hrLocal = _legacy.EnumerateThreads(&CollectEnumerationCallback, GCHandle.ToIntPtr(dacHandle)); 914if (_legacy is not null) 917int hrLocal = _legacy.IsThreadMarkedDead(vmThread, &resultLocal); 939if (_legacy is not null) 942int hrLocal = _legacy.GetThreadHandle(vmThread, &retValLocal); 968if (_legacy is not null) 971int hrLocal = _legacy.GetThreadObject(vmThread, &retValLocal); 999if (_legacy is not null) 1002int hrLocal = _legacy.GetThreadAllocInfo(vmThread, &allocInfoLocal); 1039if (_legacy is not null) 1041int hrLocal = _legacy.SetDebugState(vmThread, debugState); 1062if (_legacy is not null) 1065int hrLocal = _legacy.HasUnhandledException(vmThread, &resultLocal); 1103if (_legacy is not null) 1106int hrLocal = _legacy.GetUserState(vmThread, &retValLocal); 1148if (_legacy is not null) 1151int hrLocal = _legacy.GetPartialUserState(vmThread, &retValLocal); 1165if (_legacy is not null) 1168int hrLocal = _legacy.GetConnectionID(vmThread, &retValLocal); 1182if (_legacy is not null) 1185int hrLocal = _legacy.GetTaskID(vmThread, &retValLocal); 1211if (_legacy is not null) 1214int hrLocal = _legacy.TryGetVolatileOSThreadID(vmThread, &retValLocal); 1237if (_legacy is not null) 1240int hrLocal = _legacy.GetUniqueThreadID(vmThread, &retValLocal); 1270if (_legacy is not null) 1273int hrLocal = _legacy.GetCurrentException(vmThread, &retValLocal); 1319if (_legacy is not null) 1322int hrLocal = _legacy.GetObjectForCCW(ccwPtr, &retValLocal); 1345if (_legacy is not null) 1348int hrLocal = _legacy.GetCurrentCustomDebuggerNotification(vmThread, &retValLocal); 1371if (_legacy is not null) 1374int hrLocal = _legacy.GetCurrentAppDomain(&retValLocal); 1404if (_legacy is not null) 1407int hrLocal = _legacy.ResolveAssembly(vmScope, tkAssemblyRef, &retValLocal); 1483if (_legacy is not null) 1527if (_legacy is not null) 1530int hrLocal = _legacy.GetManagedStoppedContext(vmThread, &pRetValLocal); 1608if (_legacy is not null && LegacyFallbackHelper.CanFallback()) 1616int hrLocal = _legacy.CreateStackWalk(vmThread, pLocal, &legacyHandle); 1632_legacy.DeleteStackWalk(legacyHandle); 1663if (_legacy is not null && LegacyFallbackHelper.CanFallback() && legacyHandle != 0) 1665int hrLocal = _legacy.DeleteStackWalk(legacyHandle); 1715if (_legacy is not null && legacyHandle != 0) 1721int hrLocal = _legacy.GetStackWalkCurrentContext(legacyHandle, pLocal); 1763if (_legacy is not null && LegacyFallbackHelper.CanFallback() && legacyHandle != 0) 1765int hrLocal = _legacy.SetStackWalkCurrentContext(vmThread, legacyHandle, flag, pContext); 1808if (_legacy is not null && LegacyFallbackHelper.CanFallback() && legacyHandle != 0) 1811int hrLocal = _legacy.UnwindStackWalkFrame(legacyHandle, &localResult); 1846if (_legacy is not null) 1848int hrLocal = _legacy.CheckContext(vmThread, pContext); 1861return _legacy is not null && LegacyFallbackHelper.CanFallback() && legacyHandle != 0 1862? _legacy.GetStackWalkCurrentFrameInfo(legacyHandle, pFrameData, pRetVal) 1897if (_legacy is not null) 1900int hrLocal = _legacy.GetCountOfInternalFrames(vmThread, &dacCount); 1913List<Debugger_STRData>? cdacFrames = _legacy is not null ? new() : null; 1963if (_legacy is not null) 1967int hrLocal = _legacy.EnumerateInternalFrames(vmThread, (delegate* unmanaged<Debugger_STRData*, void*, void>)&CollectStubFrameCallback, GCHandle.ToIntPtr(dacHandle)); 2059if (_legacy is not null) 2062int hrLocal = _legacy.GetStackParameterSize(controlPC, &retValLocal); 2109if (_legacy is not null) 2112int hrLocal = _legacy.IsLeafFrame(vmThread, pContext, &resultLocal); 2137if (_legacy is not null) 2143int hrLocal = _legacy.GetContext(vmThread, pLocal); 2183if (_legacy is not null) 2186int hrLocal = _legacy.IsDiagnosticsHiddenOrLCGMethod(vmMethodDesc, &resultLocal); 2214if (_legacy is not null) 2218int hrLocal = _legacy.GetVarArgSig(VASigCookieAddr, &argBaseLocal, &retValLocal); 2255if (_legacy is not null) 2258int hrLocal = _legacy.RequiresAlign8(thExact, &resultLocal); 2307if (_legacy is not null) 2310int hrLocal = _legacy.ResolveExactGenericArgsToken(dwExactGenericArgsTokenIndex, rawToken, &retValLocal); 2370if (_legacy is not null) 2374int hrLocal = _legacy.GetILCodeAndSig(vmAssembly, functionToken, &bufferLocal, &sigLocal); 2388=> LegacyFallbackHelper.CanFallback() && _legacy is not null ? _legacy.GetNativeCodeInfo(vmAssembly, functionToken, pJitManagerList) : HResults.E_NOTIMPL; 2391=> LegacyFallbackHelper.CanFallback() && _legacy is not null ? _legacy.GetNativeCodeInfoForAddr(codeAddress, pCodeInfo, pVmModule, pFunctionToken) : HResults.E_NOTIMPL; 2408if (_legacy is not null) 2411int hrLocal = _legacy.IsValueType(vmTypeHandle, &resultLocal); 2435if (_legacy is not null) 2438int hrLocal = _legacy.HasTypeParams(vmTypeHandle, &resultLocal); 2455if (_legacy is not null) 2490if (_legacy is not null) 2497(pSize, pUser) => _legacy!.EnumerateClassFields(thExact, pSize, (delegate* unmanaged<FieldData*, void*, void>)&CollectFieldDataCallback, pUser)); 2511if (_legacy is not null) 2539if (_legacy is not null) 2546(pSize, pUser) => _legacy!.EnumerateInstantiationFields(vmAssembly, vmThExact, vmThApprox, pSize, (delegate* unmanaged<FieldData*, void*, void>)&CollectFieldDataCallback, pUser)); 2737if (_legacy is not null) 2740int hrLocal = _legacy.TypeHandleToExpandedTypeInfo(boxed, vmTypeHandle, &dataLocal); 2766if (_legacy is not null) 2769int hrLocal = _legacy.GetObjectExpandedTypeInfo(boxed, addr, &dataLocal); 2857if (_legacy is not null) 2860int hrLocal = _legacy.GetTypeHandle(vmModule, metadataToken, &retValLocal); 2895if (_legacy is not null) 2898int hrLocal = _legacy.GetApproxTypeHandle(pTypeData, &vmLocal); 2949if (_legacy is not null) 2952int hrLocal = _legacy.GetExactTypeHandle(pTypeData, pArgInfo, &vmLocal); 3166if (_legacy is not null) 3171int hrLocal = _legacy.EnumerateMethodDescParams(vmMethodDesc, genericsToken, &cClassParamsLocal, debugCallbackPtr, 0); 3221if (_legacy is not null) 3224int hrLocal = _legacy.GetThreadStaticAddress(vmField, vmRuntimeThread, &retValLocal); 3248if (_legacy is not null) 3251int hrLocal = _legacy.GetCollectibleTypeStaticAddress(vmField, &retValLocal); 3321if (_legacy is not null) 3324int hrLocal = _legacy.GetEnCHangingFieldInfo(pEnCFieldInfo, &fieldDataLocal); 3419if (_legacy is not null) 3423int hrLocal = _legacy.EnumerateTypeHandleParams(vmTypeHandle, debugCallbackPtr, 0); 3498if (_legacy is not null) 3502int hrLocal = _legacy.GetSimpleType(simpleType, &metadataTokenLocal, &vmModuleLocal); 3542if (_legacy is not null) 3545int hrLocal = _legacy.IsExceptionObject(vmObject, &resultLocal); 3598if (_legacy is not null) 3602int hrLocal = _legacy.EnumerateStackFramesFromException(vmObject, debugCallbackPtr, 0); 3635if (_legacy is not null) 3638int hrLocal = _legacy.IsRcw(vmObject, &resultLocal); 3691if (_legacy is not null) 3695int hrLocal = _legacy.EnumerateRcwCachedInterfacePointers(vmObject, debugCallbackPtr, 0); 3729if (_legacy is not null) 3733int hrLocal = _legacy.GetTypedByRefInfo(pTypedByRef, &objRefLocal, &typeLocal); 3771if (_legacy is not null) 3774int hrLocal = _legacy.GetStringData(objectAddress, &lengthLocal, &offsetLocal); 3824if (_legacy is not null) 3828int hrLocal = _legacy.GetArrayData(objectAddress, &isValidLocal, &arrayInfoLocal); 3889if (_legacy is not null) 3894int hrLocal = _legacy.GetBasicObjectInfo(objectAddress, &isValidLocal, &objSizeLocal, &objOffsetLocal, &typeDataLocal); 3925if (_legacy is not null) 3928int hrLocal = _legacy.GetDebuggerControlBlockAddress(&retValLocal); 3950if (_legacy is not null) 3953int hrLocal = _legacy.GetObjectFromRefPtr(ptr, &retValLocal); 3968if (_legacy is not null) 3971int hrLocal = _legacy.GetObject(ptr, &retValLocal); 3985if (_legacy is not null) 3988int hrLocal = _legacy.GetVmObjectHandle(handleAddress, &retValLocal); 4011if (_legacy is not null) 4014int hrLocal = _legacy.IsVmObjectHandleValid(vmHandle, &resultLocal); 4028if (_legacy is not null) 4031int hrLocal = _legacy.GetHandleAddressFromVmHandle(vmHandle, &retValLocal); 4072if (_legacy is not null) 4075int hrLocal = _legacy.GetThreadOwningMonitorLock(vmObject, &pRetValLocal); 4105if (_legacy is not null) 4108int hrLocal = _legacy.GetAttachStateFlags(&resultLocal); 4159if (_legacy is not null) 4165int hrLocal = _legacy.GetModuleMetaDataFileInfo(vmModule, &timeStampLocal, &imageSizeLocal, legacyHolder.Ptr, &resultLocal); 4185=> LegacyFallbackHelper.CanFallback() && _legacy is not null ? _legacy.IsThreadSuspendedOrHijacked(vmThread, pResult) : HResults.E_NOTIMPL; 4204if (_legacy is not null) 4207int hrLocal = _legacy.CreateHeapWalk(&legacyHandle); 4214_legacy.DeleteHeapWalk(legacyHandle); 4241if (_legacy is not null && legacyHandle != 0) 4243int hrLocal = _legacy.DeleteHeapWalk(legacyHandle); 4301if (_legacy is not null && walk.LegacyHandle != 0) 4308hrLocal = _legacy.WalkHeap(walk.LegacyHandle, count, objectsLocalPtr, &fetchedLocal); 4398if (_legacy is not null) 4402int hrLocal = _legacy.EnumerateHeapSegments(debugCallbackPtr, 0); 4479if (_legacy is not null) 4482int hrLocal = _legacy.IsValidObject(obj, &resultLocal); 4512if (_legacy is not null) 4515int hrLocal = _legacy.CreateRefWalk(&legacyHandle, walkStacks, handleWalkMask); 4520_legacy.DeleteRefWalk(legacyHandle); 4547if (_legacy is not null && legacyHandle != 0) 4549int hrLocal = _legacy.DeleteRefWalk(legacyHandle); 4596if (_legacy is not null && walk.LegacyHandle != 0 && count > 0) 4601int hrLocal = _legacy.WalkRefs(walk.LegacyHandle, count, legacyRefs, &legacyFetched); 4659if (_legacy is not null) 4662int hrLocal = _legacy.GetTypeID(obj, &resultLocal); 4690if (_legacy is not null) 4693int hrLocal = _legacy.GetTypeIDForType(vmTypeHandle, &resultLocal); 4829if (_legacy is not null) 4836int hrLocal = _legacy.GetObjectFields(id, celt, layout == null ? null : localFieldsPtr, &fetchedLocal); 4895if (_legacy is not null) 4898int hrLocal = _legacy.GetTypeLayout(id, &resultLocal); 4968if (_legacy is not null) 4971int hrLocal = _legacy.GetArrayLayout(id, &resultLocal); 5013if (_legacy is not null) 5016int hrLocal = _legacy.GetGCHeapInformation(&resultLocal); 5033=> LegacyFallbackHelper.CanFallback() && _legacy is not null ? _legacy.GetPEFileMDInternalRW(vmPEAssembly, pAddrMDInternalRW) : HResults.E_NOTIMPL; 5074if (_legacy is not null) 5077int hrLocal = _legacy.AreOptimizationsDisabled(vmModule, methodTk, &localPOptimizationsDisabled); 5103if (_legacy is not null) 5106int hrLocal = _legacy.GetDefinesBitField(&resultLocal); 5132if (_legacy is not null) 5135int hrLocal = _legacy.GetMDStructuresVersion(&resultLocal); 5185if (_legacy is not null) 5188int hrLocal = _legacy.GetActiveRejitILCodeVersionNode(vmModule, methodTk, &resultLocal); 5223if (_legacy is not null) 5226int hrLocal = _legacy.GetNativeCodeVersionNode(vmMethod, codeStartAddress, &resultLocal); 5260if (_legacy is not null) 5263int hrLocal = _legacy.GetILCodeVersionNode(vmNativeCodeVersionNode, &resultLocal); 5305if (_legacy is not null) 5308int hrLocal = _legacy.GetILCodeVersionNodeData(ilCodeVersionNode, &dataLocal); 5334if (_legacy is not null) 5336int hrLocal = _legacy.EnableGCNotificationEvents(fEnable); 5362if (_legacy is not null) 5365int hrLocal = _legacy.IsDelegate(vmObject, &pResultLocal); 5418if (_legacy is not null) 5422int hrLocal = _legacy.GetDelegateFunctionData(delegateObject, &asmLocal, &methodDefLocal); 5457if (_legacy is not null) 5460int hrLocal = _legacy.GetDelegateTargetObject(delegateObject, &targetObjLocal); 5502if (_legacy is not null) 5505int hrLocal = _legacy.IsModuleMapped(pModule, &isModuleMappedLocal); 5528if (_legacy is not null) 5531int hrLocal = _legacy.MetadataUpdatesApplied(&resultLocal); 5564if (_legacy is not null) 5567int hrLocal = _legacy.GetAssemblyFromModule(vmModule, &assemblyLocal); 5594if (_legacy is not null) 5599int hrLocal = _legacy.ParseContinuation(continuationAddress, &diagnosticIPLocal, &nextLocal, &stateLocal); 5686if (_legacy is not null) 5690int hrLocal = _legacy.EnumerateAsyncLocals(vmMethod, codeAddr, state, debugCallbackPtr, 0); 5745if (_legacy is not null) 5748int hrLocal = _legacy.GetGenericArgTokenIndex(vmMethod, &indexLocal);
Dbi\DacDbiImpl.NativeCodeInfo.cs (1)
139hrLocal = _legacy!.GetNativeCodeSequencePointsAndVarInfo(