/Debugger/Debugger.Core/Interop/CorDebugExtensionMethods.generated.cs
http://github.com/icsharpcode/ILSpy · C# · 2257 lines · 1917 code · 338 blank · 2 comment · 0 complexity · 9ceed89b65ec25116bfe6815c2a8f6de MD5 · raw file
Large files are truncated click here to view the full file
- // Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
- // This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
- using System;
- using System.Runtime.CompilerServices;
- using System.Runtime.InteropServices;
- namespace Debugger.Interop.CorDebug
- {
- public static partial class CorDebugExtensionMethods
- {
- public static void CanLaunchOrAttach(this CorDebugClass instance, uint dwProcessId, int win32DebuggingEnabled)
- {
- instance.__CanLaunchOrAttach(dwProcessId, win32DebuggingEnabled);
- }
-
- public static ICorDebugProcess CreateProcess(this CorDebugClass instance, string lpApplicationName, string lpCommandLine, ref _SECURITY_ATTRIBUTES lpProcessAttributes, ref _SECURITY_ATTRIBUTES lpThreadAttributes, int bInheritHandles, uint dwCreationFlags, IntPtr lpEnvironment, string lpCurrentDirectory, uint lpStartupInfo,
- uint lpProcessInformation, CorDebugCreateProcessFlags debuggingFlags)
- {
- ICorDebugProcess ppProcess;
- instance.__CreateProcess(lpApplicationName, lpCommandLine, ref lpProcessAttributes, ref lpThreadAttributes, bInheritHandles, dwCreationFlags, lpEnvironment, lpCurrentDirectory, lpStartupInfo, lpProcessInformation,
- debuggingFlags, out ppProcess);
- ProcessOutParameter(lpProcessAttributes);
- ProcessOutParameter(lpThreadAttributes);
- ProcessOutParameter(ppProcess);
- return ppProcess;
- }
-
- public static ICorDebugProcess DebugActiveProcess(this CorDebugClass instance, uint id, int win32Attach)
- {
- ICorDebugProcess ppProcess;
- instance.__DebugActiveProcess(id, win32Attach, out ppProcess);
- ProcessOutParameter(ppProcess);
- return ppProcess;
- }
-
- public static ICorDebugProcessEnum EnumerateProcesses(this CorDebugClass instance)
- {
- ICorDebugProcessEnum ppProcess;
- instance.__EnumerateProcesses(out ppProcess);
- ProcessOutParameter(ppProcess);
- return ppProcess;
- }
-
- public static ICorDebugProcess GetProcess(this CorDebugClass instance, uint dwProcessId)
- {
- ICorDebugProcess ppProcess;
- instance.__GetProcess(dwProcessId, out ppProcess);
- ProcessOutParameter(ppProcess);
- return ppProcess;
- }
-
- public static void Initialize(this CorDebugClass instance)
- {
- instance.__Initialize();
- }
-
- public static void SetManagedHandler(this CorDebugClass instance, ICorDebugManagedCallback pCallback)
- {
- instance.__SetManagedHandler(pCallback);
- }
-
- public static void SetUnmanagedHandler(this CorDebugClass instance, ICorDebugUnmanagedCallback pCallback)
- {
- instance.__SetUnmanagedHandler(pCallback);
- }
-
- public static void Terminate(this CorDebugClass instance)
- {
- instance.__Terminate();
- }
-
- public static void CanLaunchOrAttach(this EmbeddedCLRCorDebugClass instance, uint dwProcessId, int win32DebuggingEnabled)
- {
- instance.__CanLaunchOrAttach(dwProcessId, win32DebuggingEnabled);
- }
-
- public static ICorDebugProcess CreateProcess(this EmbeddedCLRCorDebugClass instance, string lpApplicationName, string lpCommandLine, ref _SECURITY_ATTRIBUTES lpProcessAttributes, ref _SECURITY_ATTRIBUTES lpThreadAttributes, int bInheritHandles, uint dwCreationFlags, IntPtr lpEnvironment, string lpCurrentDirectory, uint lpStartupInfo,
- uint lpProcessInformation, CorDebugCreateProcessFlags debuggingFlags)
- {
- ICorDebugProcess ppProcess;
- instance.__CreateProcess(lpApplicationName, lpCommandLine, ref lpProcessAttributes, ref lpThreadAttributes, bInheritHandles, dwCreationFlags, lpEnvironment, lpCurrentDirectory, lpStartupInfo, lpProcessInformation,
- debuggingFlags, out ppProcess);
- ProcessOutParameter(lpProcessAttributes);
- ProcessOutParameter(lpThreadAttributes);
- ProcessOutParameter(ppProcess);
- return ppProcess;
- }
-
- public static ICorDebugProcess DebugActiveProcess(this EmbeddedCLRCorDebugClass instance, uint id, int win32Attach)
- {
- ICorDebugProcess ppProcess;
- instance.__DebugActiveProcess(id, win32Attach, out ppProcess);
- ProcessOutParameter(ppProcess);
- return ppProcess;
- }
-
- public static ICorDebugProcessEnum EnumerateProcesses(this EmbeddedCLRCorDebugClass instance)
- {
- ICorDebugProcessEnum ppProcess;
- instance.__EnumerateProcesses(out ppProcess);
- ProcessOutParameter(ppProcess);
- return ppProcess;
- }
-
- public static ICorDebugProcess GetProcess(this EmbeddedCLRCorDebugClass instance, uint dwProcessId)
- {
- ICorDebugProcess ppProcess;
- instance.__GetProcess(dwProcessId, out ppProcess);
- ProcessOutParameter(ppProcess);
- return ppProcess;
- }
-
- public static void Initialize(this EmbeddedCLRCorDebugClass instance)
- {
- instance.__Initialize();
- }
-
- public static void SetManagedHandler(this EmbeddedCLRCorDebugClass instance, ICorDebugManagedCallback pCallback)
- {
- instance.__SetManagedHandler(pCallback);
- }
-
- public static void SetUnmanagedHandler(this EmbeddedCLRCorDebugClass instance, ICorDebugUnmanagedCallback pCallback)
- {
- instance.__SetUnmanagedHandler(pCallback);
- }
-
- public static void Terminate(this EmbeddedCLRCorDebugClass instance)
- {
- instance.__Terminate();
- }
-
- public static void Initialize(this ICorDebug instance)
- {
- instance.__Initialize();
- }
-
- public static void Terminate(this ICorDebug instance)
- {
- instance.__Terminate();
- }
-
- public static void SetManagedHandler(this ICorDebug instance, ICorDebugManagedCallback pCallback)
- {
- instance.__SetManagedHandler(pCallback);
- }
-
- public static void SetUnmanagedHandler(this ICorDebug instance, ICorDebugUnmanagedCallback pCallback)
- {
- instance.__SetUnmanagedHandler(pCallback);
- }
-
- public static ICorDebugProcess CreateProcess(this ICorDebug instance, string lpApplicationName, string lpCommandLine, ref _SECURITY_ATTRIBUTES lpProcessAttributes, ref _SECURITY_ATTRIBUTES lpThreadAttributes, int bInheritHandles, uint dwCreationFlags, IntPtr lpEnvironment, string lpCurrentDirectory, uint lpStartupInfo,
- uint lpProcessInformation, CorDebugCreateProcessFlags debuggingFlags)
- {
- ICorDebugProcess ppProcess;
- instance.__CreateProcess(lpApplicationName, lpCommandLine, ref lpProcessAttributes, ref lpThreadAttributes, bInheritHandles, dwCreationFlags, lpEnvironment, lpCurrentDirectory, lpStartupInfo, lpProcessInformation,
- debuggingFlags, out ppProcess);
- ProcessOutParameter(lpProcessAttributes);
- ProcessOutParameter(lpThreadAttributes);
- ProcessOutParameter(ppProcess);
- return ppProcess;
- }
-
- public static ICorDebugProcess DebugActiveProcess(this ICorDebug instance, uint id, int win32Attach)
- {
- ICorDebugProcess ppProcess;
- instance.__DebugActiveProcess(id, win32Attach, out ppProcess);
- ProcessOutParameter(ppProcess);
- return ppProcess;
- }
-
- public static ICorDebugProcessEnum EnumerateProcesses(this ICorDebug instance)
- {
- ICorDebugProcessEnum ppProcess;
- instance.__EnumerateProcesses(out ppProcess);
- ProcessOutParameter(ppProcess);
- return ppProcess;
- }
-
- public static ICorDebugProcess GetProcess(this ICorDebug instance, uint dwProcessId)
- {
- ICorDebugProcess ppProcess;
- instance.__GetProcess(dwProcessId, out ppProcess);
- ProcessOutParameter(ppProcess);
- return ppProcess;
- }
-
- public static void CanLaunchOrAttach(this ICorDebug instance, uint dwProcessId, int win32DebuggingEnabled)
- {
- instance.__CanLaunchOrAttach(dwProcessId, win32DebuggingEnabled);
- }
-
- public static void Stop(this ICorDebugAppDomain instance, uint dwTimeoutIgnored)
- {
- instance.__Stop(dwTimeoutIgnored);
- }
-
- public static void Continue(this ICorDebugAppDomain instance, int fIsOutOfBand)
- {
- instance.__Continue(fIsOutOfBand);
- }
-
- public static int IsRunning(this ICorDebugAppDomain instance)
- {
- int pbRunning;
- instance.__IsRunning(out pbRunning);
- return pbRunning;
- }
-
- public static int HasQueuedCallbacks(this ICorDebugAppDomain instance, ICorDebugThread pThread)
- {
- int pbQueued;
- instance.__HasQueuedCallbacks(pThread, out pbQueued);
- return pbQueued;
- }
-
- public static ICorDebugThreadEnum EnumerateThreads(this ICorDebugAppDomain instance)
- {
- ICorDebugThreadEnum ppThreads;
- instance.__EnumerateThreads(out ppThreads);
- ProcessOutParameter(ppThreads);
- return ppThreads;
- }
-
- public static void SetAllThreadsDebugState(this ICorDebugAppDomain instance, CorDebugThreadState state, ICorDebugThread pExceptThisThread)
- {
- instance.__SetAllThreadsDebugState(state, pExceptThisThread);
- }
-
- public static void Detach(this ICorDebugAppDomain instance)
- {
- instance.__Detach();
- }
-
- public static void Terminate(this ICorDebugAppDomain instance, uint exitCode)
- {
- instance.__Terminate(exitCode);
- }
-
- public static ICorDebugErrorInfoEnum CanCommitChanges(this ICorDebugAppDomain instance, uint cSnapshots, ref ICorDebugEditAndContinueSnapshot pSnapshots)
- {
- ICorDebugErrorInfoEnum pError;
- instance.__CanCommitChanges(cSnapshots, ref pSnapshots, out pError);
- ProcessOutParameter(pSnapshots);
- ProcessOutParameter(pError);
- return pError;
- }
-
- public static ICorDebugErrorInfoEnum CommitChanges(this ICorDebugAppDomain instance, uint cSnapshots, ref ICorDebugEditAndContinueSnapshot pSnapshots)
- {
- ICorDebugErrorInfoEnum pError;
- instance.__CommitChanges(cSnapshots, ref pSnapshots, out pError);
- ProcessOutParameter(pSnapshots);
- ProcessOutParameter(pError);
- return pError;
- }
-
- public static ICorDebugProcess GetProcess(this ICorDebugAppDomain instance)
- {
- ICorDebugProcess ppProcess;
- instance.__GetProcess(out ppProcess);
- ProcessOutParameter(ppProcess);
- return ppProcess;
- }
-
- public static ICorDebugAssemblyEnum EnumerateAssemblies(this ICorDebugAppDomain instance)
- {
- ICorDebugAssemblyEnum ppAssemblies;
- instance.__EnumerateAssemblies(out ppAssemblies);
- ProcessOutParameter(ppAssemblies);
- return ppAssemblies;
- }
-
- public static ICorDebugModule GetModuleFromMetaDataInterface(this ICorDebugAppDomain instance, object pIMetaData)
- {
- ICorDebugModule ppModule;
- instance.__GetModuleFromMetaDataInterface(pIMetaData, out ppModule);
- ProcessOutParameter(ppModule);
- return ppModule;
- }
-
- public static ICorDebugBreakpointEnum EnumerateBreakpoints(this ICorDebugAppDomain instance)
- {
- ICorDebugBreakpointEnum ppBreakpoints;
- instance.__EnumerateBreakpoints(out ppBreakpoints);
- ProcessOutParameter(ppBreakpoints);
- return ppBreakpoints;
- }
-
- public static ICorDebugStepperEnum EnumerateSteppers(this ICorDebugAppDomain instance)
- {
- ICorDebugStepperEnum ppSteppers;
- instance.__EnumerateSteppers(out ppSteppers);
- ProcessOutParameter(ppSteppers);
- return ppSteppers;
- }
-
- public static int IsAttached(this ICorDebugAppDomain instance)
- {
- int pbAttached;
- instance.__IsAttached(out pbAttached);
- return pbAttached;
- }
-
- public static void GetName(this ICorDebugAppDomain instance, uint cchName, out uint pcchName, IntPtr szName)
- {
- instance.__GetName(cchName, out pcchName, szName);
- }
-
- public static ICorDebugValue GetObject(this ICorDebugAppDomain instance)
- {
- ICorDebugValue ppObject;
- instance.__GetObject(out ppObject);
- ProcessOutParameter(ppObject);
- return ppObject;
- }
-
- public static void Attach(this ICorDebugAppDomain instance)
- {
- instance.__Attach();
- }
-
- public static uint GetID(this ICorDebugAppDomain instance)
- {
- uint pId;
- instance.__GetID(out pId);
- return pId;
- }
-
- public static ICorDebugType GetArrayOrPointerType(this ICorDebugAppDomain2 instance, uint elementType, uint nRank, ICorDebugType pTypeArg)
- {
- ICorDebugType ppType;
- instance.__GetArrayOrPointerType(elementType, nRank, pTypeArg, out ppType);
- ProcessOutParameter(ppType);
- return ppType;
- }
-
- public static ICorDebugType GetFunctionPointerType(this ICorDebugAppDomain2 instance, uint nTypeArgs, ref ICorDebugType ppTypeArgs)
- {
- ICorDebugType ppType;
- instance.__GetFunctionPointerType(nTypeArgs, ref ppTypeArgs, out ppType);
- ProcessOutParameter(ppTypeArgs);
- ProcessOutParameter(ppType);
- return ppType;
- }
-
- public static void Skip(this ICorDebugAppDomainEnum instance, uint celt)
- {
- instance.__Skip(celt);
- }
-
- public static void Reset(this ICorDebugAppDomainEnum instance)
- {
- instance.__Reset();
- }
-
- public static ICorDebugEnum Clone(this ICorDebugAppDomainEnum instance)
- {
- ICorDebugEnum ppEnum;
- instance.__Clone(out ppEnum);
- ProcessOutParameter(ppEnum);
- return ppEnum;
- }
-
- public static uint GetCount(this ICorDebugAppDomainEnum instance)
- {
- uint pcelt;
- instance.__GetCount(out pcelt);
- return pcelt;
- }
-
- public static uint Next(this ICorDebugAppDomainEnum instance, uint celt, IntPtr values)
- {
- uint pceltFetched;
- instance.__Next(celt, values, out pceltFetched);
- return pceltFetched;
- }
-
- public static uint GetTheType(this ICorDebugArrayValue instance)
- {
- uint pType;
- instance.__GetType(out pType);
- return pType;
- }
-
- public static uint GetSize(this ICorDebugArrayValue instance)
- {
- uint pSize;
- instance.__GetSize(out pSize);
- return pSize;
- }
-
- public static ulong GetAddress(this ICorDebugArrayValue instance)
- {
- ulong pAddress;
- instance.__GetAddress(out pAddress);
- return pAddress;
- }
-
- public static ICorDebugValueBreakpoint CreateBreakpoint(this ICorDebugArrayValue instance)
- {
- ICorDebugValueBreakpoint ppBreakpoint;
- instance.__CreateBreakpoint(out ppBreakpoint);
- ProcessOutParameter(ppBreakpoint);
- return ppBreakpoint;
- }
-
- public static int IsValid(this ICorDebugArrayValue instance)
- {
- int pbValid;
- instance.__IsValid(out pbValid);
- return pbValid;
- }
-
- public static ICorDebugValueBreakpoint CreateRelocBreakpoint(this ICorDebugArrayValue instance)
- {
- ICorDebugValueBreakpoint ppBreakpoint;
- instance.__CreateRelocBreakpoint(out ppBreakpoint);
- ProcessOutParameter(ppBreakpoint);
- return ppBreakpoint;
- }
-
- public static uint GetElementType(this ICorDebugArrayValue instance)
- {
- uint pType;
- instance.__GetElementType(out pType);
- return pType;
- }
-
- public static uint GetRank(this ICorDebugArrayValue instance)
- {
- uint pnRank;
- instance.__GetRank(out pnRank);
- return pnRank;
- }
-
- public static uint GetCount(this ICorDebugArrayValue instance)
- {
- uint pnCount;
- instance.__GetCount(out pnCount);
- return pnCount;
- }
-
- public static void GetDimensions(this ICorDebugArrayValue instance, uint cdim, IntPtr dims)
- {
- instance.__GetDimensions(cdim, dims);
- }
-
- public static int HasBaseIndicies(this ICorDebugArrayValue instance)
- {
- int pbHasBaseIndicies;
- instance.__HasBaseIndicies(out pbHasBaseIndicies);
- return pbHasBaseIndicies;
- }
-
- public static void GetBaseIndicies(this ICorDebugArrayValue instance, uint cdim, IntPtr indicies)
- {
- instance.__GetBaseIndicies(cdim, indicies);
- }
-
- public static ICorDebugValue GetElement(this ICorDebugArrayValue instance, uint cdim, IntPtr indices)
- {
- ICorDebugValue ppValue;
- instance.__GetElement(cdim, indices, out ppValue);
- ProcessOutParameter(ppValue);
- return ppValue;
- }
-
- public static ICorDebugValue GetElementAtPosition(this ICorDebugArrayValue instance, uint nPosition)
- {
- ICorDebugValue ppValue;
- instance.__GetElementAtPosition(nPosition, out ppValue);
- ProcessOutParameter(ppValue);
- return ppValue;
- }
-
- public static ICorDebugProcess GetProcess(this ICorDebugAssembly instance)
- {
- ICorDebugProcess ppProcess;
- instance.__GetProcess(out ppProcess);
- ProcessOutParameter(ppProcess);
- return ppProcess;
- }
-
- public static ICorDebugAppDomain GetAppDomain(this ICorDebugAssembly instance)
- {
- ICorDebugAppDomain ppAppDomain;
- instance.__GetAppDomain(out ppAppDomain);
- ProcessOutParameter(ppAppDomain);
- return ppAppDomain;
- }
-
- public static ICorDebugModuleEnum EnumerateModules(this ICorDebugAssembly instance)
- {
- ICorDebugModuleEnum ppModules;
- instance.__EnumerateModules(out ppModules);
- ProcessOutParameter(ppModules);
- return ppModules;
- }
-
- public static void GetCodeBase(this ICorDebugAssembly instance, uint cchName, out uint pcchName, IntPtr szName)
- {
- instance.__GetCodeBase(cchName, out pcchName, szName);
- }
-
- public static void GetName(this ICorDebugAssembly instance, uint cchName, out uint pcchName, IntPtr szName)
- {
- instance.__GetName(cchName, out pcchName, szName);
- }
-
- public static int IsFullyTrusted(this ICorDebugAssembly2 instance)
- {
- int pbFullyTrusted;
- instance.__IsFullyTrusted(out pbFullyTrusted);
- return pbFullyTrusted;
- }
-
- public static void Skip(this ICorDebugAssemblyEnum instance, uint celt)
- {
- instance.__Skip(celt);
- }
-
- public static void Reset(this ICorDebugAssemblyEnum instance)
- {
- instance.__Reset();
- }
-
- public static ICorDebugEnum Clone(this ICorDebugAssemblyEnum instance)
- {
- ICorDebugEnum ppEnum;
- instance.__Clone(out ppEnum);
- ProcessOutParameter(ppEnum);
- return ppEnum;
- }
-
- public static uint GetCount(this ICorDebugAssemblyEnum instance)
- {
- uint pcelt;
- instance.__GetCount(out pcelt);
- return pcelt;
- }
-
- public static uint Next(this ICorDebugAssemblyEnum instance, uint celt, IntPtr values)
- {
- uint pceltFetched;
- instance.__Next(celt, values, out pceltFetched);
- return pceltFetched;
- }
-
- public static uint GetTheType(this ICorDebugBoxValue instance)
- {
- uint pType;
- instance.__GetType(out pType);
- return pType;
- }
-
- public static uint GetSize(this ICorDebugBoxValue instance)
- {
- uint pSize;
- instance.__GetSize(out pSize);
- return pSize;
- }
-
- public static ulong GetAddress(this ICorDebugBoxValue instance)
- {
- ulong pAddress;
- instance.__GetAddress(out pAddress);
- return pAddress;
- }
-
- public static ICorDebugValueBreakpoint CreateBreakpoint(this ICorDebugBoxValue instance)
- {
- ICorDebugValueBreakpoint ppBreakpoint;
- instance.__CreateBreakpoint(out ppBreakpoint);
- ProcessOutParameter(ppBreakpoint);
- return ppBreakpoint;
- }
-
- public static int IsValid(this ICorDebugBoxValue instance)
- {
- int pbValid;
- instance.__IsValid(out pbValid);
- return pbValid;
- }
-
- public static ICorDebugValueBreakpoint CreateRelocBreakpoint(this ICorDebugBoxValue instance)
- {
- ICorDebugValueBreakpoint ppBreakpoint;
- instance.__CreateRelocBreakpoint(out ppBreakpoint);
- ProcessOutParameter(ppBreakpoint);
- return ppBreakpoint;
- }
-
- public static ICorDebugObjectValue GetObject(this ICorDebugBoxValue instance)
- {
- ICorDebugObjectValue ppObject;
- instance.__GetObject(out ppObject);
- ProcessOutParameter(ppObject);
- return ppObject;
- }
-
- public static void Activate(this ICorDebugBreakpoint instance, int bActive)
- {
- instance.__Activate(bActive);
- }
-
- public static int IsActive(this ICorDebugBreakpoint instance)
- {
- int pbActive;
- instance.__IsActive(out pbActive);
- return pbActive;
- }
-
- public static void Skip(this ICorDebugBreakpointEnum instance, uint celt)
- {
- instance.__Skip(celt);
- }
-
- public static void Reset(this ICorDebugBreakpointEnum instance)
- {
- instance.__Reset();
- }
-
- public static ICorDebugEnum Clone(this ICorDebugBreakpointEnum instance)
- {
- ICorDebugEnum ppEnum;
- instance.__Clone(out ppEnum);
- ProcessOutParameter(ppEnum);
- return ppEnum;
- }
-
- public static uint GetCount(this ICorDebugBreakpointEnum instance)
- {
- uint pcelt;
- instance.__GetCount(out pcelt);
- return pcelt;
- }
-
- public static uint Next(this ICorDebugBreakpointEnum instance, uint celt, IntPtr breakpoints)
- {
- uint pceltFetched;
- instance.__Next(celt, breakpoints, out pceltFetched);
- return pceltFetched;
- }
-
- public static ICorDebugThread GetThread(this ICorDebugChain instance)
- {
- ICorDebugThread ppThread;
- instance.__GetThread(out ppThread);
- ProcessOutParameter(ppThread);
- return ppThread;
- }
-
- public static void GetStackRange(this ICorDebugChain instance, out ulong pStart, out ulong pEnd)
- {
- instance.__GetStackRange(out pStart, out pEnd);
- }
-
- public static ICorDebugContext GetContext(this ICorDebugChain instance)
- {
- ICorDebugContext ppContext;
- instance.__GetContext(out ppContext);
- ProcessOutParameter(ppContext);
- return ppContext;
- }
-
- public static ICorDebugChain GetCaller(this ICorDebugChain instance)
- {
- ICorDebugChain ppChain;
- instance.__GetCaller(out ppChain);
- ProcessOutParameter(ppChain);
- return ppChain;
- }
-
- public static ICorDebugChain GetCallee(this ICorDebugChain instance)
- {
- ICorDebugChain ppChain;
- instance.__GetCallee(out ppChain);
- ProcessOutParameter(ppChain);
- return ppChain;
- }
-
- public static ICorDebugChain GetPrevious(this ICorDebugChain instance)
- {
- ICorDebugChain ppChain;
- instance.__GetPrevious(out ppChain);
- ProcessOutParameter(ppChain);
- return ppChain;
- }
-
- public static ICorDebugChain GetNext(this ICorDebugChain instance)
- {
- ICorDebugChain ppChain;
- instance.__GetNext(out ppChain);
- ProcessOutParameter(ppChain);
- return ppChain;
- }
-
- public static int IsManaged(this ICorDebugChain instance)
- {
- int pManaged;
- instance.__IsManaged(out pManaged);
- return pManaged;
- }
-
- public static ICorDebugFrameEnum EnumerateFrames(this ICorDebugChain instance)
- {
- ICorDebugFrameEnum ppFrames;
- instance.__EnumerateFrames(out ppFrames);
- ProcessOutParameter(ppFrames);
- return ppFrames;
- }
-
- public static ICorDebugFrame GetActiveFrame(this ICorDebugChain instance)
- {
- ICorDebugFrame ppFrame;
- instance.__GetActiveFrame(out ppFrame);
- ProcessOutParameter(ppFrame);
- return ppFrame;
- }
-
- public static ICorDebugRegisterSet GetRegisterSet(this ICorDebugChain instance)
- {
- ICorDebugRegisterSet ppRegisters;
- instance.__GetRegisterSet(out ppRegisters);
- ProcessOutParameter(ppRegisters);
- return ppRegisters;
- }
-
- public static CorDebugChainReason GetReason(this ICorDebugChain instance)
- {
- CorDebugChainReason pReason;
- instance.__GetReason(out pReason);
- ProcessOutParameter(pReason);
- return pReason;
- }
-
- public static void Skip(this ICorDebugChainEnum instance, uint celt)
- {
- instance.__Skip(celt);
- }
-
- public static void Reset(this ICorDebugChainEnum instance)
- {
- instance.__Reset();
- }
-
- public static ICorDebugEnum Clone(this ICorDebugChainEnum instance)
- {
- ICorDebugEnum ppEnum;
- instance.__Clone(out ppEnum);
- ProcessOutParameter(ppEnum);
- return ppEnum;
- }
-
- public static uint GetCount(this ICorDebugChainEnum instance)
- {
- uint pcelt;
- instance.__GetCount(out pcelt);
- return pcelt;
- }
-
- public static uint Next(this ICorDebugChainEnum instance, uint celt, ICorDebugChain[] chains)
- {
- uint pceltFetched;
- instance.__Next(celt, chains, out pceltFetched);
- ProcessOutParameter(chains);
- return pceltFetched;
- }
-
- public static ICorDebugModule GetModule(this ICorDebugClass instance)
- {
- ICorDebugModule pModule;
- instance.__GetModule(out pModule);
- ProcessOutParameter(pModule);
- return pModule;
- }
-
- public static uint GetToken(this ICorDebugClass instance)
- {
- uint pTypeDef;
- instance.__GetToken(out pTypeDef);
- return pTypeDef;
- }
-
- public static ICorDebugValue GetStaticFieldValue(this ICorDebugClass instance, uint fieldDef, ICorDebugFrame pFrame)
- {
- ICorDebugValue ppValue;
- instance.__GetStaticFieldValue(fieldDef, pFrame, out ppValue);
- ProcessOutParameter(ppValue);
- return ppValue;
- }
-
- public static ICorDebugType GetParameterizedType(this ICorDebugClass2 instance, uint elementType, uint nTypeArgs, ICorDebugType[] ppTypeArgs)
- {
- ICorDebugType ppType;
- instance.__GetParameterizedType(elementType, nTypeArgs, ppTypeArgs, out ppType);
- ProcessOutParameter(ppTypeArgs);
- ProcessOutParameter(ppType);
- return ppType;
- }
-
- public static void SetJMCStatus(this ICorDebugClass2 instance, int bIsJustMyCode)
- {
- instance.__SetJMCStatus(bIsJustMyCode);
- }
-
- public static int IsIL(this ICorDebugCode instance)
- {
- int pbIL;
- instance.__IsIL(out pbIL);
- return pbIL;
- }
-
- public static ICorDebugFunction GetFunction(this ICorDebugCode instance)
- {
- ICorDebugFunction ppFunction;
- instance.__GetFunction(out ppFunction);
- ProcessOutParameter(ppFunction);
- return ppFunction;
- }
-
- public static ulong GetAddress(this ICorDebugCode instance)
- {
- ulong pStart;
- instance.__GetAddress(out pStart);
- return pStart;
- }
-
- public static uint GetSize(this ICorDebugCode instance)
- {
- uint pcBytes;
- instance.__GetSize(out pcBytes);
- return pcBytes;
- }
-
- public static ICorDebugFunctionBreakpoint CreateBreakpoint(this ICorDebugCode instance, uint offset)
- {
- ICorDebugFunctionBreakpoint ppBreakpoint;
- instance.__CreateBreakpoint(offset, out ppBreakpoint);
- ProcessOutParameter(ppBreakpoint);
- return ppBreakpoint;
- }
-
- public static uint GetCode(this ICorDebugCode instance, uint startOffset, uint endOffset, uint cBufferAlloc, IntPtr buffer)
- {
- uint pcBufferSize;
- instance.__GetCode(startOffset, endOffset, cBufferAlloc, buffer, out pcBufferSize);
- return pcBufferSize;
- }
-
- public static uint GetVersionNumber(this ICorDebugCode instance)
- {
- uint nVersion;
- instance.__GetVersionNumber(out nVersion);
- return nVersion;
- }
-
- public static void GetILToNativeMapping(this ICorDebugCode instance, uint cMap, out uint pcMap, IntPtr map)
- {
- instance.__GetILToNativeMapping(cMap, out pcMap, map);
- }
-
- public static void GetEnCRemapSequencePoints(this ICorDebugCode instance, uint cMap, out uint pcMap, IntPtr offsets)
- {
- instance.__GetEnCRemapSequencePoints(cMap, out pcMap, offsets);
- }
-
- public static void Skip(this ICorDebugCodeEnum instance, uint celt)
- {
- instance.__Skip(celt);
- }
-
- public static void Reset(this ICorDebugCodeEnum instance)
- {
- instance.__Reset();
- }
-
- public static ICorDebugEnum Clone(this ICorDebugCodeEnum instance)
- {
- ICorDebugEnum ppEnum;
- instance.__Clone(out ppEnum);
- ProcessOutParameter(ppEnum);
- return ppEnum;
- }
-
- public static uint GetCount(this ICorDebugCodeEnum instance)
- {
- uint pcelt;
- instance.__GetCount(out pcelt);
- return pcelt;
- }
-
- public static uint Next(this ICorDebugCodeEnum instance, uint celt, IntPtr values)
- {
- uint pceltFetched;
- instance.__Next(celt, values, out pceltFetched);
- return pceltFetched;
- }
-
- public static uint GetTheType(this ICorDebugContext instance)
- {
- uint pType;
- instance.__GetType(out pType);
- return pType;
- }
-
- public static uint GetSize(this ICorDebugContext instance)
- {
- uint pSize;
- instance.__GetSize(out pSize);
- return pSize;
- }
-
- public static ulong GetAddress(this ICorDebugContext instance)
- {
- ulong pAddress;
- instance.__GetAddress(out pAddress);
- return pAddress;
- }
-
- public static ICorDebugValueBreakpoint CreateBreakpoint(this ICorDebugContext instance)
- {
- ICorDebugValueBreakpoint ppBreakpoint;
- instance.__CreateBreakpoint(out ppBreakpoint);
- ProcessOutParameter(ppBreakpoint);
- return ppBreakpoint;
- }
-
- public static ICorDebugClass GetClass(this ICorDebugContext instance)
- {
- ICorDebugClass ppClass;
- instance.__GetClass(out ppClass);
- ProcessOutParameter(ppClass);
- return ppClass;
- }
-
- public static ICorDebugValue GetFieldValue(this ICorDebugContext instance, ICorDebugClass pClass, uint fieldDef)
- {
- ICorDebugValue ppValue;
- instance.__GetFieldValue(pClass, fieldDef, out ppValue);
- ProcessOutParameter(ppValue);
- return ppValue;
- }
-
- public static ICorDebugFunction GetVirtualMethod(this ICorDebugContext instance, uint memberRef)
- {
- ICorDebugFunction ppFunction;
- instance.__GetVirtualMethod(memberRef, out ppFunction);
- ProcessOutParameter(ppFunction);
- return ppFunction;
- }
-
- public static ICorDebugContext GetContext(this ICorDebugContext instance)
- {
- ICorDebugContext ppContext;
- instance.__GetContext(out ppContext);
- ProcessOutParameter(ppContext);
- return ppContext;
- }
-
- public static int IsValueClass(this ICorDebugContext instance)
- {
- int pbIsValueClass;
- instance.__IsValueClass(out pbIsValueClass);
- return pbIsValueClass;
- }
-
- public static object GetManagedCopy(this ICorDebugContext instance)
- {
- object ppObject;
- instance.__GetManagedCopy(out ppObject);
- ProcessOutParameter(ppObject);
- return ppObject;
- }
-
- public static void SetFromManagedCopy(this ICorDebugContext instance, object pObject)
- {
- instance.__SetFromManagedCopy(pObject);
- }
-
- public static void Stop(this ICorDebugController instance, uint dwTimeoutIgnored)
- {
- instance.__Stop(dwTimeoutIgnored);
- }
-
- public static void Continue(this ICorDebugController instance, int fIsOutOfBand)
- {
- instance.__Continue(fIsOutOfBand);
- }
-
- public static int IsRunning(this ICorDebugController instance)
- {
- int pbRunning;
- instance.__IsRunning(out pbRunning);
- return pbRunning;
- }
-
- public static int HasQueuedCallbacks(this ICorDebugController instance, ICorDebugThread pThread)
- {
- int pbQueued;
- instance.__HasQueuedCallbacks(pThread, out pbQueued);
- return pbQueued;
- }
-
- public static ICorDebugThreadEnum EnumerateThreads(this ICorDebugController instance)
- {
- ICorDebugThreadEnum ppThreads;
- instance.__EnumerateThreads(out ppThreads);
- ProcessOutParameter(ppThreads);
- return ppThreads;
- }
-
- public static void SetAllThreadsDebugState(this ICorDebugController instance, CorDebugThreadState state, ICorDebugThread pExceptThisThread)
- {
- instance.__SetAllThreadsDebugState(state, pExceptThisThread);
- }
-
- public static void Detach(this ICorDebugController instance)
- {
- instance.__Detach();
- }
-
- public static void Terminate(this ICorDebugController instance, uint exitCode)
- {
- instance.__Terminate(exitCode);
- }
-
- public static ICorDebugErrorInfoEnum CanCommitChanges(this ICorDebugController instance, uint cSnapshots, ref ICorDebugEditAndContinueSnapshot pSnapshots)
- {
- ICorDebugErrorInfoEnum pError;
- instance.__CanCommitChanges(cSnapshots, ref pSnapshots, out pError);
- ProcessOutParameter(pSnapshots);
- ProcessOutParameter(pError);
- return pError;
- }
-
- public static ICorDebugErrorInfoEnum CommitChanges(this ICorDebugController instance, uint cSnapshots, ref ICorDebugEditAndContinueSnapshot pSnapshots)
- {
- ICorDebugErrorInfoEnum pError;
- instance.__CommitChanges(cSnapshots, ref pSnapshots, out pError);
- ProcessOutParameter(pSnapshots);
- ProcessOutParameter(pError);
- return pError;
- }
-
- public static Guid CopyMetaData(this ICorDebugEditAndContinueSnapshot instance, IStream pIStream)
- {
- Guid pMvid;
- instance.__CopyMetaData(pIStream, out pMvid);
- return pMvid;
- }
-
- public static Guid GetMvid(this ICorDebugEditAndContinueSnapshot instance)
- {
- Guid pMvid;
- instance.__GetMvid(out pMvid);
- return pMvid;
- }
-
- public static uint GetRoDataRVA(this ICorDebugEditAndContinueSnapshot instance)
- {
- uint pRoDataRVA;
- instance.__GetRoDataRVA(out pRoDataRVA);
- return pRoDataRVA;
- }
-
- public static uint GetRwDataRVA(this ICorDebugEditAndContinueSnapshot instance)
- {
- uint pRwDataRVA;
- instance.__GetRwDataRVA(out pRwDataRVA);
- return pRwDataRVA;
- }
-
- public static void SetPEBytes(this ICorDebugEditAndContinueSnapshot instance, IStream pIStream)
- {
- instance.__SetPEBytes(pIStream);
- }
-
- public static void SetILMap(this ICorDebugEditAndContinueSnapshot instance, uint mdFunction, uint cMapSize, ref _COR_IL_MAP map)
- {
- instance.__SetILMap(mdFunction, cMapSize, ref map);
- ProcessOutParameter(map);
- }
-
- public static void SetPESymbolBytes(this ICorDebugEditAndContinueSnapshot instance, IStream pIStream)
- {
- instance.__SetPESymbolBytes(pIStream);
- }
-
- public static void Skip(this ICorDebugEnum instance, uint celt)
- {
- instance.__Skip(celt);
- }
-
- public static void Reset(this ICorDebugEnum instance)
- {
- instance.__Reset();
- }
-
- public static ICorDebugEnum Clone(this ICorDebugEnum instance)
- {
- ICorDebugEnum ppEnum;
- instance.__Clone(out ppEnum);
- ProcessOutParameter(ppEnum);
- return ppEnum;
- }
-
- public static uint GetCount(this ICorDebugEnum instance)
- {
- uint pcelt;
- instance.__GetCount(out pcelt);
- return pcelt;
- }
-
- public static void Skip(this ICorDebugErrorInfoEnum instance, uint celt)
- {
- instance.__Skip(celt);
- }
-
- public static void Reset(this ICorDebugErrorInfoEnum instance)
- {
- instance.__Reset();
- }
-
- public static ICorDebugEnum Clone(this ICorDebugErrorInfoEnum instance)
- {
- ICorDebugEnum ppEnum;
- instance.__Clone(out ppEnum);
- ProcessOutParameter(ppEnum);
- return ppEnum;
- }
-
- public static uint GetCount(this ICorDebugErrorInfoEnum instance)
- {
- uint pcelt;
- instance.__GetCount(out pcelt);
- return pcelt;
- }
-
- public static uint Next(this ICorDebugErrorInfoEnum instance, uint celt, IntPtr errors)
- {
- uint pceltFetched;
- instance.__Next(celt, errors, out pceltFetched);
- return pceltFetched;
- }
-
- public static void CallFunction(this ICorDebugEval instance, ICorDebugFunction pFunction, uint nArgs, ICorDebugValue[] ppArgs)
- {
- instance.__CallFunction(pFunction, nArgs, ppArgs);
- ProcessOutParameter(ppArgs);
- }
-
- public static void NewObject(this ICorDebugEval instance, ICorDebugFunction pConstructor, uint nArgs, ref ICorDebugValue ppArgs)
- {
- instance.__NewObject(pConstructor, nArgs, ref ppArgs);
- ProcessOutParameter(ppArgs);
- }
-
- public static void NewObjectNoConstructor(this ICorDebugEval instance, ICorDebugClass pClass)
- {
- instance.__NewObjectNoConstructor(pClass);
- }
-
- public static void NewString(this ICorDebugEval instance, string @string)
- {
- instance.__NewString(@string);
- }
-
- public static void NewArray(this ICorDebugEval instance, uint elementType, ICorDebugClass pElementClass, uint rank, ref uint dims, ref uint lowBounds)
- {
- instance.__NewArray(elementType, pElementClass, rank, ref dims, ref lowBounds);
- }
-
- public static int IsActive(this ICorDebugEval instance)
- {
- int pbActive;
- instance.__IsActive(out pbActive);
- return pbActive;
- }
-
- public static void Abort(this ICorDebugEval instance)
- {
- instance.__Abort();
- }
-
- public static ICorDebugValue GetResult(this ICorDebugEval instance)
- {
- ICorDebugValue ppResult;
- instance.__GetResult(out ppResult);
- ProcessOutParameter(ppResult);
- return ppResult;
- }
-
- public static ICorDebugThread GetThread(this ICorDebugEval instance)
- {
- ICorDebugThread ppThread;
- instance.__GetThread(out ppThread);
- ProcessOutParameter(ppThread);
- return ppThread;
- }
-
- public static ICorDebugValue CreateValue(this ICorDebugEval instance, uint elementType, ICorDebugClass pElementClass)
- {
- ICorDebugValue ppValue;
- instance.__CreateValue(elementType, pElementClass, out ppValue);
- ProcessOutParameter(ppValue);
- return ppValue;
- }
-
- public static void CallParameterizedFunction(this ICorDebugEval2 instance, ICorDebugFunction pFunction, uint nTypeArgs, ICorDebugType[] ppTypeArgs, uint nArgs, ICorDebugValue[] ppArgs)
- {
- instance.__CallParameterizedFunction(pFunction, nTypeArgs, ppTypeArgs, nArgs, ppArgs);
- ProcessOutParameter(ppTypeArgs);
- ProcessOutParameter(ppArgs);
- }
-
- public static ICorDebugValue CreateValueForType(this ICorDebugEval2 instance, ICorDebugType pType)
- {
- ICorDebugValue ppValue;
- instance.__CreateValueForType(pType, out ppValue);
- ProcessOutParameter(ppValue);
- return ppValue;
- }
-
- public static void NewParameterizedObject(this ICorDebugEval2 instance, ICorDebugFunction pConstructor, uint nTypeArgs, ICorDebugType[] ppTypeArgs, uint nArgs, ICorDebugValue[] ppArgs)
- {
- instance.__NewParameterizedObject(pConstructor, nTypeArgs, ppTypeArgs, nArgs, ppArgs);
- ProcessOutParameter(ppTypeArgs);
- ProcessOutParameter(ppArgs);
- }
-
- public static void NewParameterizedObjectNoConstructor(this ICorDebugEval2 instance, ICorDebugClass pClass, uint nTypeArgs, ICorDebugType[] ppTypeArgs)
- {
- instance.__NewParameterizedObjectNoConstructor(pClass, nTypeArgs, ppTypeArgs);
- ProcessOutParameter(ppTypeArgs);
- }
-
- public static void NewParameterizedArray(this ICorDebugEval2 instance, ICorDebugType pElementType, uint rank, uint[] dims, uint[] lowBounds)
- {
- instance.__NewParameterizedArray(pElementType, rank, dims, lowBounds);
- }
-
- public static void NewStringWithLength(this ICorDebugEval2 instance, string @string, uint uiLength)
- {
- instance.__NewStringWithLength(@string, uiLength);
- }
-
- public static void RudeAbort(this ICorDebugEval2 instance)
- {
- instance.__RudeAbort();
- }
-
- public static ICorDebugChain GetChain(this ICorDebugFrame instance)
- {
- ICorDebugChain ppChain;
- instance.__GetChain(out ppChain);
- ProcessOutParameter(ppChain);
- return ppChain;
- }
-
- public static ICorDebugCode GetCode(this ICorDebugFrame instance)
- {
- ICorDebugCode ppCode;
- instance.__GetCode(out ppCode);
- ProcessOutParameter(ppCode);
- return ppCode;
- }
-
- public static ICorDebugFunction GetFunction(this ICorDebugFrame instance)
- {
- ICorDebugFunction ppFunction;
- instance.__GetFunction(out ppFunction);
- ProcessOutParameter(ppFunction);
- return ppFunction;
- }
-
- public static uint GetFunctionToken(this ICorDebugFrame instance)
- {
- uint pToken;
- instance.__GetFunctionToken(out pToken);
- return pToken;
- }
-
- public static void GetStackRange(this ICorDebugFrame instance, out ulong pStart, out ulong pEnd)
- {
- instance.__GetStackRange(out pStart, out pEnd);
- }
-
- public static ICorDebugFrame GetCaller(this ICorDebugFrame instance)
- {
- ICorDebugFrame ppFrame;
- instance.__GetCaller(out ppFrame);
- ProcessOutParameter(ppFrame);
- return ppFrame;
- }
-
- public static ICorDebugFrame GetCallee(this ICorDebugFrame instance)
- {
- ICorDebugFrame ppFrame;
- instance.__GetCallee(out ppFrame);
- ProcessOutParameter(ppFrame);
- return ppFrame;
- }
-
- public static ICorDebugStepper CreateStepper(this ICorDebugFrame instance)
- {
- ICorDebugStepper ppStepper;
- instance.__CreateStepper(out ppStepper);
- ProcessOutParameter(ppStepper);
- return ppStepper;
- }
-
- public static void Skip(this ICorDebugFrameEnum instance, uint celt)
- {
- instance.__Skip(celt);
- }
-
- public static void Reset(this ICorDebugFrameEnum instance)
- {
- instance.__Reset();
- }
-
- public static ICorDebugEnum Clone(this ICorDebugFrameEnum instance)
- {
- ICorDebugEnum ppEnum;
- instance.__Clone(out ppEnum);
- ProcessOutParameter(ppEnum);
- return ppEnum;
- }
-
- public static uint GetCount(this ICorDebugFrameEnum instance)
- {
- uint pcelt;
- instance.__GetCount(out pcelt);
- return pcelt;
- }
-
- public static uint Next(this ICorDebugFrameEnum instance, uint celt, ICorDebugFrame[] frames)
- {
- uint pceltFetched;
- instance.__Next(celt, frames, out pceltFetched);
- ProcessOutParameter(frames);
- return pceltFetched;
- }
-
- public static ICorDebugModule GetModule(this ICorDebugFunction instance)
- {
- ICorDebugModule ppModule;
- instance.__GetModule(out ppModule);
- ProcessOutParameter(ppModule);
- return ppModule;
- }
-
- public static ICorDebugClass GetClass(this ICorDebugFunction instance)
- {
- ICorDebugClass ppClass;
- instance.__GetClass(out ppClass);
- ProcessOutParameter(ppClass);
- return ppClass;
- }
-
- public static uint GetToken(this ICorDebugFunction instance)
- {
- uint pMethodDef;
- instance.__GetToken(out pMethodDef);
- return pMethodDef;
- }
-
- public static ICorDebugCode GetILCode(this ICorDebugFunction instance)
- {
- ICorDebugCode ppCode;
- instance.__GetILCode(out ppCode);
- ProcessOutParameter(ppCode);
- return ppCode;
- }
-
- public static ICorDebugCode GetNativeCode(this ICorDebugFunction instance)
- {
- ICorDebugCode ppCode;
- instance.__GetNativeCode(out ppCode);
- ProcessOutParameter(ppCode);
- return ppCode;
- }
-
- public static ICorDebugFunctionBreakpoint CreateBreakpoint(this ICorDebugFunction instance)
- {
- ICorDebugFunctionBreakpoint ppBreakpoint;
- instance.__CreateBreakpoint(out ppBreakpoint);
- ProcessOutParameter(ppBreakpoint);
- return ppBreakpoint;
- }
-
- public static uint GetLocalVarSigToken(this ICorDebugFunction instance)
- {
- uint pmdSig;
- instance.__GetLocalVarSigToken(out pmdSig);
- return pmdSig;
- }
-
- public static uint GetCurrentVersionNumber(this ICorDebugFunction instance)
- {
- uint pnCurrentVersion;
- instance.__GetCurrentVersionNumber(out pnCurrentVersion);
- return pnCurrentVersion;
- }
-
- public static void SetJMCStatus(this ICorDebugFunction2 instance, int bIsJustMyCode)
- {
- instance.__SetJMCStatus(bIsJustMyCode);
- }
-
- public static int GetJMCStatus(this ICorDebugFunction2 instance)
- {
- int pbIsJustMyCode;
- instance.__GetJMCStatus(out pbIsJustMyCode);
- return pbIsJustMyCode;
- }
-
- public static ICorDebugCodeEnum EnumerateNativeCode(this ICorDebugFunction2 instance)
- {
- ICorDebugCodeEnum ppCodeEnum;
- instance.__EnumerateNativeCode(out ppCodeEnum);
- ProcessOutParameter(ppCodeEnum);
- return ppCodeEnum;
- }
-
- public static uint GetVersionNumber(this ICorDebugFunction2 instance)
- {
- uint pnVersion;
- instance.__GetVersionNumber(out pnVersion);
- return pnVersion;
- }
-
- public static void Activate(this ICorDebugFunctionBreakpoint instance, int bActive)
- {
- instance.__Activate(bActive);
- }
-
- public static int IsActive(this ICorDebugFunctionBreakpoint instance)
- {
- int pbActive;
- instance.__IsActive(out pbActive);
- return pbActive;
- }
-
- public static ICorDebugFunction GetFunction(this ICorDebugFunctionBreakpoint instance)
- {
- ICorDebugFunction ppFunction;
- instance.__GetFunction(out ppFunction);
- ProcessOutParameter(ppFunction);
- return ppFunction;
- }
-
- public static uint GetOffset(this ICorDebugFunctionBreakpoint instance)
- {
- uint pnOffset;
- instance.__GetOffset(out pnOffset);
- return pnOffset;
- }
-
- public static uint GetTheType(this ICorDebugGenericValue instance)
- {
- uint pType;
- instance.__GetType(out pType);
- return pType;
- }
-
- public static uint GetSize(this ICorDebugGenericValue instance)
- {
- uint pSize;
- instance.__GetSize(out pSize);
- return pSize;
- }
-
- public static ulong GetAddress(this ICorDebugGenericValue instance)
- {
- ulong pAddress;
- instance.__GetAddress(out pAddress);
- return pAddress;
- }
-
- public static ICorDebugValueBreakpoint CreateBreakpoint(this ICorDebugGenericValue instance)
- {
- ICorDebugValueBreakpoint ppBreakpoint;
- instance.__CreateBreakpoint(out ppBreakpoint);
- ProcessOutParameter(ppBreakpoint);
- return ppBreakpoint;
- }
-
- public static void GetValue(this ICorDebugGenericValue instance, IntPtr pTo)
- {
- instance.__GetValue(pTo);
- }
-
- public static void SetValue(this ICorDebugGenericValue instance, IntPtr pFrom)
- {
- instance.__SetValue(pFrom);
- }
-
- public static uint GetTheType(this ICorDebugHandleValue instance)
- {
- uint pType;
- instance.__GetType(out pType);
- return pType;
- }
-
- public static uint GetSize(this ICorDebugHandleValue instance)
- {
- uint pSize;
- instance.__GetSize(out pSize);
- return pSize;
- }
-
- public static ulong GetAddress(this ICorDebugHandleValue instance)
- {
- ulong pAddress;
- instance.__GetAddress(out pAddress);
- return pAddress;
- }
-
- public static ICorDebugValueBreakpoint CreateBreakpoint(this ICorDebugHandleValue instance)
- {
- ICorDebugValueBreakpoint ppBreakpoint;
- instance.__CreateBreakpoint(out ppBreakpoint);
- ProcessOutParameter(ppBreakpoint);
- return ppBreakpoint;
- }
-
- public static int IsNull(this ICorDebugHandleValue instance)
- {
- int pbNull;
- instance.__IsNull(out pbNull);
- return pbNull;
- }
-
- public static ulong GetValue(this ICorDebugHandleValue instance)
- {
- ulong pValue;
- instance.__GetValue(out pValue);
- return pValue;
- }
-
- public static void SetValue(this ICorDebugHandleValue instance, ulong value)
- {
- instance.__SetValue(value);
- }
-
- public static ICorDebugValue Dereference(this ICorDebugHandleValue instance)
- {
- ICorDebugValue ppValue;
- instance.__Dereference(out ppValue);
- ProcessOutParameter(ppValue);
- return ppValue;
- }
-
- public static ICorDebugValue DereferenceStrong(this ICorDebugHandleValue instance)
- {
- ICorDebugValue ppValue;
- instance.__DereferenceStrong(out ppValue);
- ProcessOutParameter(ppValue);
- return ppValue;
- }
-
- public static CorDebugHandleType GetHandleType(this ICorDebugHandleValue instance)
- {
- CorDebugHandleType pType;
- instance.__GetHandleType(out pType);
- ProcessOutParameter(pType);
- return pType;
- }
-
- public static void Dispose(this ICorDebugHandleValue instance)
- {
- instance.__Dispose();
- }
-
- public static uint GetTheType(this ICorDebugHeapValue instance)
- {
- uint pType;
- instance.__GetType(out pType);
- return pType;
- }
-
- public static uint GetSize(this ICorDebugHeapValue instance)
- {
- uint pSize;
- instance.__GetSize(out pSize);
- return pSize;
- }
-
- public static ulong GetAddress(this ICorDebugHeapValue instance)
- {
- ulong pAddress;
- instance.__GetAddress(out pAddress);
- return pAddress;
- }
-
- public static ICorDebugValueBreakpoint CreateBreakpoint(this ICorDebugHeapValue instance)
- {
- ICorDebugValueBreakpoint ppBreakpoint;
- instance.__CreateBreakpoint(out ppBreakpoint);
- ProcessOutParameter(ppBreakpoint);
- return ppBreakpoint;
- }
-
- public static int IsValid(this ICorDebugHeapValue instance)
- {
- int pbValid;
- instance.__IsValid(out pbValid);
- return pbValid;
- }
-
- public static ICorDebugValueBreakpoint CreateRelocBreakpoint(this ICorDebugHeapValue instance)
- {
- ICorDebugValueBreakpoint ppBreakpoint;
- instance.__CreateRelocBreakpoint(out ppBreakpoint);
- ProcessOutParameter(ppBreakpoint);
- return ppBreakpoint;
- }
-
- public static ICorDebugHandleValue CreateHandle(this ICorDebugHeapValue2 instance, CorDebugHandleType type)
- {
- ICorDebugHandleValue ppHandle;
- instance.__CreateHandle(type, out ppHandle);
- ProcessOutParameter(ppHandle);
- return ppHandle;
- }
-
- public static ICorDebugChain GetChain(this ICorDebugILFrame instance)
- {
- ICorDebugChain ppChain;
- instance.__GetChain(out ppChain);
- ProcessOutParameter(ppChain);
- return ppChain;
- }
-
- public static ICorDebugCode GetCode(this ICorDebugILFrame instance)
- {
- ICorDebugCode ppCode;
- instance.__GetCode(out ppCode);
- ProcessOutParameter(ppCode);
- return ppCode;
- }
-
- public static ICorDebugFunction GetFunction(this ICorDebugILFrame instance)
- {
- ICorDebugFunction ppFunction;
- instance.__GetFunction(out ppFunction);
- ProcessOutParameter(ppFunction);
- return ppFunction;
- }
-
- public static uint GetFunctionToken(this ICorDebugILFrame instance)
- {
- uint pToken;
- instance.__GetFunctionToken(out pToken);
- return pToken;
- }
-
- public static void GetStackRange(this ICorDebugILFrame instance, out ulong pStart, out ulong pEnd)
- {
- instance.__GetStackRange(out pStart, out pEnd);
- }
-
- public static ICorDebugFrame GetCaller(this ICorDebugILFrame instance)
- {
- ICorDebugFrame ppFrame;
- instance.__GetCaller(out ppFrame);
- ProcessOutParameter(ppFrame);
- return ppFrame;
- }
-
- public static ICorDebugFrame GetCallee(this ICorDebugILFrame instance)
- {
- ICorDebugFrame ppFrame;
- instance.__GetCallee(out ppFrame);
- ProcessOutParameter(ppFrame);
- return ppFrame;
- }
-
- public static ICorDebugStepper CreateStepper(this ICorDebugILFrame instance)
- {
- ICorDebugStepper ppStepper;
- instance.__CreateStepper(out ppStepper);
- ProcessOutParameter(ppStepper);
- return ppStepper;
- }
-
- public static void GetIP(this ICorDebugILFrame instance, out uint pnOffset, out CorDebugMappingResult pMappingResult)
- {
- instance.__GetIP(out pnOffset, out pMappingResult);
- ProcessOutParameter(pMappingResult);
- }
-
- public static void SetIP(this ICorDebugILFrame instance, uint nOffset)
- {
- instance.__SetIP(nOffset);
- }
-
- public static ICorDebugValueEnum EnumerateLocalVariables(this ICorDebugILFrame instance)
- {
- ICorDebugValueEnum ppValueEnum;
- instance.__EnumerateLocalVariables(out ppValueEnum);
- ProcessOutParameter(ppValueEnum);
- return ppValueEnum;
- }
-
- public static ICorDebugValue GetLocalVariable(this ICorDebugILFrame instance, uint dwIndex)
- {
- ICorDebugValue ppValue;
- instance.__GetLocalVariable(dwIndex, out ppValue);
- ProcessOutParameter(ppValue);
- return ppValue;
- }
-
- public static ICorDebugValueEnum EnumerateArguments(this ICorDebugILFrame instance)
- {
- ICorDebugValueEnum ppValueEnum;
- instance.__EnumerateArguments(out ppValueEnum);
- ProcessOutParameter(ppValueEnum);
- return ppValueEnum;
- }
-
- public static ICorDebugValue GetArgument(this ICorDebugILFrame instance, uint dwIndex)
- {
- ICorDebugValue ppValue;
- instance.__GetArgument(dwIndex, out ppValue);
- ProcessOutParameter(ppValue);
- return ppValue;
- }
-
- public static uint GetStackDepth(this ICorDebugILFrame instance)
- {
- uint pDepth;
- instance.__GetStackDepth(out pDepth);
- return pDepth;
- }
-
- public static ICorDebugValue GetStackValue(this ICorDebugILFrame instance, uint dwIndex)
- {
- ICorDebugValue ppValue;
- instance.__GetStackValue(dwIndex, out ppValue);
- ProcessOutParameter(ppValue);
- return ppValue;
- }
-
- public static void CanSetIP(this ICorDebugILFrame instance, uint nOffset)
- {
- instance.__CanSetIP(nOffset);
- }
-
- public static void RemapFunction(this ICorDebugILFrame2 instance, uint newILOffset)
- {
- instance.__RemapFunction(newILOffset);
- }
-
- public static ICorDebugTypeEnum EnumerateTypeParameters(this ICorDebugILFrame2 instance)
- {
- ICorDebugTypeEnum ppTyParEnum;
- instance.__EnumerateTypeParameters(out ppTyParEnum);
- ProcessOutParameter(ppTyParEnum);
- return ppTyParEnum;
- }
-
- public static ICorDebugChain GetChain(this ICorDebugInternalFrame instance)…