From 98f6a874f5e16ef8f5a5d59f9f8a82c792a2358c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Srbeck=C3=BD?= Date: Sat, 24 Oct 2009 13:07:56 +0000 Subject: [PATCH] COM methods prefixed with "__" so that the user does not call them directly. Extension methods should be used instead. git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5139 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61 --- .../Project/Src/Interop/CorDebug.cs | 946 +++++++++--------- .../CorDebugExtensionMethods.generated.cs | 946 +++++++++--------- .../Project/Src/Interop/CorPublish.cs | 80 +- .../CorPublishExtensionMethods.generated.cs | 80 +- .../Project/Src/Interop/CorSym.cs | 434 ++++---- .../CorSymExtensionMethods.generated.cs | 434 ++++---- .../ComExtensionMethodGenerator.cs | 19 +- 7 files changed, 1478 insertions(+), 1461 deletions(-) diff --git a/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Interop/CorDebug.cs b/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Interop/CorDebug.cs index 39c73501f0..740053cb2c 100644 --- a/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Interop/CorDebug.cs +++ b/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Interop/CorDebug.cs @@ -91,23 +91,23 @@ namespace Debugger.Interop.CorDebug { // Methods [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void CanLaunchOrAttach([In] uint dwProcessId, [In] int win32DebuggingEnabled); + public virtual extern void __CanLaunchOrAttach([In] uint dwProcessId, [In] int win32DebuggingEnabled); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void CreateProcess([In, MarshalAs(UnmanagedType.LPWStr)] string lpApplicationName, [In, MarshalAs(UnmanagedType.LPWStr)] string lpCommandLine, [In] ref _SECURITY_ATTRIBUTES lpProcessAttributes, [In] ref _SECURITY_ATTRIBUTES lpThreadAttributes, [In] int bInheritHandles, [In] uint dwCreationFlags, [In] IntPtr lpEnvironment, [In, MarshalAs(UnmanagedType.LPWStr)] string lpCurrentDirectory, [In, ComAliasName("Debugger.Interop.CorDebug.ULONG_PTR")] uint lpStartupInfo, [In, ComAliasName("Debugger.Interop.CorDebug.ULONG_PTR")] uint lpProcessInformation, [In] CorDebugCreateProcessFlags debuggingFlags, [MarshalAs(UnmanagedType.Interface)] out ICorDebugProcess ppProcess); + public virtual extern void __CreateProcess([In, MarshalAs(UnmanagedType.LPWStr)] string lpApplicationName, [In, MarshalAs(UnmanagedType.LPWStr)] string lpCommandLine, [In] ref _SECURITY_ATTRIBUTES lpProcessAttributes, [In] ref _SECURITY_ATTRIBUTES lpThreadAttributes, [In] int bInheritHandles, [In] uint dwCreationFlags, [In] IntPtr lpEnvironment, [In, MarshalAs(UnmanagedType.LPWStr)] string lpCurrentDirectory, [In, ComAliasName("Debugger.Interop.CorDebug.ULONG_PTR")] uint lpStartupInfo, [In, ComAliasName("Debugger.Interop.CorDebug.ULONG_PTR")] uint lpProcessInformation, [In] CorDebugCreateProcessFlags debuggingFlags, [MarshalAs(UnmanagedType.Interface)] out ICorDebugProcess ppProcess); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void DebugActiveProcess([In] uint id, [In] int win32Attach, [MarshalAs(UnmanagedType.Interface)] out ICorDebugProcess ppProcess); + public virtual extern void __DebugActiveProcess([In] uint id, [In] int win32Attach, [MarshalAs(UnmanagedType.Interface)] out ICorDebugProcess ppProcess); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void EnumerateProcesses([MarshalAs(UnmanagedType.Interface)] out ICorDebugProcessEnum ppProcess); + public virtual extern void __EnumerateProcesses([MarshalAs(UnmanagedType.Interface)] out ICorDebugProcessEnum ppProcess); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void GetProcess([In] uint dwProcessId, [MarshalAs(UnmanagedType.Interface)] out ICorDebugProcess ppProcess); + public virtual extern void __GetProcess([In] uint dwProcessId, [MarshalAs(UnmanagedType.Interface)] out ICorDebugProcess ppProcess); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void Initialize(); + public virtual extern void __Initialize(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void SetManagedHandler([In, MarshalAs(UnmanagedType.Interface)] ICorDebugManagedCallback pCallback); + public virtual extern void __SetManagedHandler([In, MarshalAs(UnmanagedType.Interface)] ICorDebugManagedCallback pCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void SetUnmanagedHandler([In, MarshalAs(UnmanagedType.Interface)] ICorDebugUnmanagedCallback pCallback); + public virtual extern void __SetUnmanagedHandler([In, MarshalAs(UnmanagedType.Interface)] ICorDebugUnmanagedCallback pCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void Terminate(); + public virtual extern void __Terminate(); } public enum CorDebugCreateProcessFlags @@ -335,710 +335,710 @@ namespace Debugger.Interop.CorDebug { // Methods [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void CanLaunchOrAttach([In] uint dwProcessId, [In] int win32DebuggingEnabled); + public virtual extern void __CanLaunchOrAttach([In] uint dwProcessId, [In] int win32DebuggingEnabled); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void CreateProcess([In, MarshalAs(UnmanagedType.LPWStr)] string lpApplicationName, [In, MarshalAs(UnmanagedType.LPWStr)] string lpCommandLine, [In] ref _SECURITY_ATTRIBUTES lpProcessAttributes, [In] ref _SECURITY_ATTRIBUTES lpThreadAttributes, [In] int bInheritHandles, [In] uint dwCreationFlags, [In] IntPtr lpEnvironment, [In, MarshalAs(UnmanagedType.LPWStr)] string lpCurrentDirectory, [In, ComAliasName("Debugger.Interop.CorDebug.ULONG_PTR")] uint lpStartupInfo, [In, ComAliasName("Debugger.Interop.CorDebug.ULONG_PTR")] uint lpProcessInformation, [In] CorDebugCreateProcessFlags debuggingFlags, [MarshalAs(UnmanagedType.Interface)] out ICorDebugProcess ppProcess); + public virtual extern void __CreateProcess([In, MarshalAs(UnmanagedType.LPWStr)] string lpApplicationName, [In, MarshalAs(UnmanagedType.LPWStr)] string lpCommandLine, [In] ref _SECURITY_ATTRIBUTES lpProcessAttributes, [In] ref _SECURITY_ATTRIBUTES lpThreadAttributes, [In] int bInheritHandles, [In] uint dwCreationFlags, [In] IntPtr lpEnvironment, [In, MarshalAs(UnmanagedType.LPWStr)] string lpCurrentDirectory, [In, ComAliasName("Debugger.Interop.CorDebug.ULONG_PTR")] uint lpStartupInfo, [In, ComAliasName("Debugger.Interop.CorDebug.ULONG_PTR")] uint lpProcessInformation, [In] CorDebugCreateProcessFlags debuggingFlags, [MarshalAs(UnmanagedType.Interface)] out ICorDebugProcess ppProcess); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void DebugActiveProcess([In] uint id, [In] int win32Attach, [MarshalAs(UnmanagedType.Interface)] out ICorDebugProcess ppProcess); + public virtual extern void __DebugActiveProcess([In] uint id, [In] int win32Attach, [MarshalAs(UnmanagedType.Interface)] out ICorDebugProcess ppProcess); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void EnumerateProcesses([MarshalAs(UnmanagedType.Interface)] out ICorDebugProcessEnum ppProcess); + public virtual extern void __EnumerateProcesses([MarshalAs(UnmanagedType.Interface)] out ICorDebugProcessEnum ppProcess); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void GetProcess([In] uint dwProcessId, [MarshalAs(UnmanagedType.Interface)] out ICorDebugProcess ppProcess); + public virtual extern void __GetProcess([In] uint dwProcessId, [MarshalAs(UnmanagedType.Interface)] out ICorDebugProcess ppProcess); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void Initialize(); + public virtual extern void __Initialize(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void SetManagedHandler([In, MarshalAs(UnmanagedType.Interface)] ICorDebugManagedCallback pCallback); + public virtual extern void __SetManagedHandler([In, MarshalAs(UnmanagedType.Interface)] ICorDebugManagedCallback pCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void SetUnmanagedHandler([In, MarshalAs(UnmanagedType.Interface)] ICorDebugUnmanagedCallback pCallback); + public virtual extern void __SetUnmanagedHandler([In, MarshalAs(UnmanagedType.Interface)] ICorDebugUnmanagedCallback pCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void Terminate(); + public virtual extern void __Terminate(); } [ComImport, Guid("3D6F5F61-7538-11D3-8D5B-00104B35E7EF"), InterfaceType((short) 1)] public interface ICorDebug { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Initialize(); + void __Initialize(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Terminate(); + void __Terminate(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetManagedHandler([In, MarshalAs(UnmanagedType.Interface)] ICorDebugManagedCallback pCallback); + void __SetManagedHandler([In, MarshalAs(UnmanagedType.Interface)] ICorDebugManagedCallback pCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetUnmanagedHandler([In, MarshalAs(UnmanagedType.Interface)] ICorDebugUnmanagedCallback pCallback); + void __SetUnmanagedHandler([In, MarshalAs(UnmanagedType.Interface)] ICorDebugUnmanagedCallback pCallback); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CreateProcess([In, MarshalAs(UnmanagedType.LPWStr)] string lpApplicationName, [In, MarshalAs(UnmanagedType.LPWStr)] string lpCommandLine, [In] ref _SECURITY_ATTRIBUTES lpProcessAttributes, [In] ref _SECURITY_ATTRIBUTES lpThreadAttributes, [In] int bInheritHandles, [In] uint dwCreationFlags, [In] IntPtr lpEnvironment, [In, MarshalAs(UnmanagedType.LPWStr)] string lpCurrentDirectory, [In, ComAliasName("Debugger.Interop.CorDebug.ULONG_PTR")] uint lpStartupInfo, [In, ComAliasName("Debugger.Interop.CorDebug.ULONG_PTR")] uint lpProcessInformation, [In] CorDebugCreateProcessFlags debuggingFlags, [MarshalAs(UnmanagedType.Interface)] out ICorDebugProcess ppProcess); + void __CreateProcess([In, MarshalAs(UnmanagedType.LPWStr)] string lpApplicationName, [In, MarshalAs(UnmanagedType.LPWStr)] string lpCommandLine, [In] ref _SECURITY_ATTRIBUTES lpProcessAttributes, [In] ref _SECURITY_ATTRIBUTES lpThreadAttributes, [In] int bInheritHandles, [In] uint dwCreationFlags, [In] IntPtr lpEnvironment, [In, MarshalAs(UnmanagedType.LPWStr)] string lpCurrentDirectory, [In, ComAliasName("Debugger.Interop.CorDebug.ULONG_PTR")] uint lpStartupInfo, [In, ComAliasName("Debugger.Interop.CorDebug.ULONG_PTR")] uint lpProcessInformation, [In] CorDebugCreateProcessFlags debuggingFlags, [MarshalAs(UnmanagedType.Interface)] out ICorDebugProcess ppProcess); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void DebugActiveProcess([In] uint id, [In] int win32Attach, [MarshalAs(UnmanagedType.Interface)] out ICorDebugProcess ppProcess); + void __DebugActiveProcess([In] uint id, [In] int win32Attach, [MarshalAs(UnmanagedType.Interface)] out ICorDebugProcess ppProcess); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void EnumerateProcesses([MarshalAs(UnmanagedType.Interface)] out ICorDebugProcessEnum ppProcess); + void __EnumerateProcesses([MarshalAs(UnmanagedType.Interface)] out ICorDebugProcessEnum ppProcess); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetProcess([In] uint dwProcessId, [MarshalAs(UnmanagedType.Interface)] out ICorDebugProcess ppProcess); + void __GetProcess([In] uint dwProcessId, [MarshalAs(UnmanagedType.Interface)] out ICorDebugProcess ppProcess); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CanLaunchOrAttach([In] uint dwProcessId, [In] int win32DebuggingEnabled); + void __CanLaunchOrAttach([In] uint dwProcessId, [In] int win32DebuggingEnabled); } [ComImport, InterfaceType((short) 1), Guid("3D6F5F63-7538-11D3-8D5B-00104B35E7EF"), ComConversionLoss] public interface ICorDebugAppDomain : ICorDebugController { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Stop([In] uint dwTimeoutIgnored); + void __Stop([In] uint dwTimeoutIgnored); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Continue([In] int fIsOutOfBand); + void __Continue([In] int fIsOutOfBand); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void IsRunning(out int pbRunning); + void __IsRunning(out int pbRunning); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void HasQueuedCallbacks([In, MarshalAs(UnmanagedType.Interface)] ICorDebugThread pThread, out int pbQueued); + void __HasQueuedCallbacks([In, MarshalAs(UnmanagedType.Interface)] ICorDebugThread pThread, out int pbQueued); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void EnumerateThreads([MarshalAs(UnmanagedType.Interface)] out ICorDebugThreadEnum ppThreads); + void __EnumerateThreads([MarshalAs(UnmanagedType.Interface)] out ICorDebugThreadEnum ppThreads); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetAllThreadsDebugState([In] CorDebugThreadState state, [In, MarshalAs(UnmanagedType.Interface)] ICorDebugThread pExceptThisThread); + void __SetAllThreadsDebugState([In] CorDebugThreadState state, [In, MarshalAs(UnmanagedType.Interface)] ICorDebugThread pExceptThisThread); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Detach(); + void __Detach(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Terminate([In] uint exitCode); + void __Terminate([In] uint exitCode); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CanCommitChanges([In] uint cSnapshots, [In, MarshalAs(UnmanagedType.Interface)] ref ICorDebugEditAndContinueSnapshot pSnapshots, [MarshalAs(UnmanagedType.Interface)] out ICorDebugErrorInfoEnum pError); + void __CanCommitChanges([In] uint cSnapshots, [In, MarshalAs(UnmanagedType.Interface)] ref ICorDebugEditAndContinueSnapshot pSnapshots, [MarshalAs(UnmanagedType.Interface)] out ICorDebugErrorInfoEnum pError); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CommitChanges([In] uint cSnapshots, [In, MarshalAs(UnmanagedType.Interface)] ref ICorDebugEditAndContinueSnapshot pSnapshots, [MarshalAs(UnmanagedType.Interface)] out ICorDebugErrorInfoEnum pError); + void __CommitChanges([In] uint cSnapshots, [In, MarshalAs(UnmanagedType.Interface)] ref ICorDebugEditAndContinueSnapshot pSnapshots, [MarshalAs(UnmanagedType.Interface)] out ICorDebugErrorInfoEnum pError); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetProcess([MarshalAs(UnmanagedType.Interface)] out ICorDebugProcess ppProcess); + void __GetProcess([MarshalAs(UnmanagedType.Interface)] out ICorDebugProcess ppProcess); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void EnumerateAssemblies([MarshalAs(UnmanagedType.Interface)] out ICorDebugAssemblyEnum ppAssemblies); + void __EnumerateAssemblies([MarshalAs(UnmanagedType.Interface)] out ICorDebugAssemblyEnum ppAssemblies); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetModuleFromMetaDataInterface([In, MarshalAs(UnmanagedType.IUnknown)] object pIMetaData, [MarshalAs(UnmanagedType.Interface)] out ICorDebugModule ppModule); + void __GetModuleFromMetaDataInterface([In, MarshalAs(UnmanagedType.IUnknown)] object pIMetaData, [MarshalAs(UnmanagedType.Interface)] out ICorDebugModule ppModule); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void EnumerateBreakpoints([MarshalAs(UnmanagedType.Interface)] out ICorDebugBreakpointEnum ppBreakpoints); + void __EnumerateBreakpoints([MarshalAs(UnmanagedType.Interface)] out ICorDebugBreakpointEnum ppBreakpoints); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void EnumerateSteppers([MarshalAs(UnmanagedType.Interface)] out ICorDebugStepperEnum ppSteppers); + void __EnumerateSteppers([MarshalAs(UnmanagedType.Interface)] out ICorDebugStepperEnum ppSteppers); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void IsAttached(out int pbAttached); + void __IsAttached(out int pbAttached); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetName([In] uint cchName, out uint pcchName, [Out] IntPtr szName); + void __GetName([In] uint cchName, out uint pcchName, [Out] IntPtr szName); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetObject([MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppObject); + void __GetObject([MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppObject); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Attach(); + void __Attach(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetID(out uint pId); + void __GetID(out uint pId); } [ComImport, InterfaceType((short) 1), Guid("096E81D5-ECDA-4202-83F5-C65980A9EF75")] public interface ICorDebugAppDomain2 { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetArrayOrPointerType([In] uint elementType, [In] uint nRank, [In, MarshalAs(UnmanagedType.Interface)] ICorDebugType pTypeArg, [MarshalAs(UnmanagedType.Interface)] out ICorDebugType ppType); + void __GetArrayOrPointerType([In] uint elementType, [In] uint nRank, [In, MarshalAs(UnmanagedType.Interface)] ICorDebugType pTypeArg, [MarshalAs(UnmanagedType.Interface)] out ICorDebugType ppType); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetFunctionPointerType([In] uint nTypeArgs, [In, MarshalAs(UnmanagedType.Interface)] ref ICorDebugType ppTypeArgs, [MarshalAs(UnmanagedType.Interface)] out ICorDebugType ppType); + void __GetFunctionPointerType([In] uint nTypeArgs, [In, MarshalAs(UnmanagedType.Interface)] ref ICorDebugType ppTypeArgs, [MarshalAs(UnmanagedType.Interface)] out ICorDebugType ppType); } [ComImport, InterfaceType((short) 1), Guid("63CA1B24-4359-4883-BD57-13F815F58744"), ComConversionLoss] public interface ICorDebugAppDomainEnum : ICorDebugEnum { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Skip([In] uint celt); + void __Skip([In] uint celt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Reset(); + void __Reset(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Clone([MarshalAs(UnmanagedType.Interface)] out ICorDebugEnum ppEnum); + void __Clone([MarshalAs(UnmanagedType.Interface)] out ICorDebugEnum ppEnum); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCount(out uint pcelt); + void __GetCount(out uint pcelt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Next([In] uint celt, [Out] IntPtr values, out uint pceltFetched); + void __Next([In] uint celt, [Out] IntPtr values, out uint pceltFetched); } [ComImport, Guid("0405B0DF-A660-11D2-BD02-0000F80849BD"), InterfaceType((short) 1), ComConversionLoss] public interface ICorDebugArrayValue : ICorDebugHeapValue { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetType(out uint pType); + void __GetType(out uint pType); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetSize(out uint pSize); + void __GetSize(out uint pSize); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetAddress(out ulong pAddress); + void __GetAddress(out ulong pAddress); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CreateBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueBreakpoint ppBreakpoint); + void __CreateBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueBreakpoint ppBreakpoint); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void IsValid(out int pbValid); + void __IsValid(out int pbValid); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CreateRelocBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueBreakpoint ppBreakpoint); + void __CreateRelocBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueBreakpoint ppBreakpoint); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetElementType(out uint pType); + void __GetElementType(out uint pType); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetRank(out uint pnRank); + void __GetRank(out uint pnRank); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCount(out uint pnCount); + void __GetCount(out uint pnCount); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetDimensions([In] uint cdim, [Out] IntPtr dims); + void __GetDimensions([In] uint cdim, [Out] IntPtr dims); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void HasBaseIndicies(out int pbHasBaseIndicies); + void __HasBaseIndicies(out int pbHasBaseIndicies); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetBaseIndicies([In] uint cdim, [Out] IntPtr indicies); + void __GetBaseIndicies([In] uint cdim, [Out] IntPtr indicies); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetElement([In] uint cdim, [In] IntPtr indices, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); + void __GetElement([In] uint cdim, [In] IntPtr indices, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetElementAtPosition([In] uint nPosition, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); + void __GetElementAtPosition([In] uint nPosition, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); } [ComImport, Guid("DF59507C-D47A-459E-BCE2-6427EAC8FD06"), InterfaceType((short) 1), ComConversionLoss] public interface ICorDebugAssembly { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetProcess([MarshalAs(UnmanagedType.Interface)] out ICorDebugProcess ppProcess); + void __GetProcess([MarshalAs(UnmanagedType.Interface)] out ICorDebugProcess ppProcess); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetAppDomain([MarshalAs(UnmanagedType.Interface)] out ICorDebugAppDomain ppAppDomain); + void __GetAppDomain([MarshalAs(UnmanagedType.Interface)] out ICorDebugAppDomain ppAppDomain); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void EnumerateModules([MarshalAs(UnmanagedType.Interface)] out ICorDebugModuleEnum ppModules); + void __EnumerateModules([MarshalAs(UnmanagedType.Interface)] out ICorDebugModuleEnum ppModules); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCodeBase([In] uint cchName, out uint pcchName, [Out] IntPtr szName); + void __GetCodeBase([In] uint cchName, out uint pcchName, [Out] IntPtr szName); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetName([In] uint cchName, out uint pcchName, [Out] IntPtr szName); + void __GetName([In] uint cchName, out uint pcchName, [Out] IntPtr szName); } [ComImport, Guid("426D1F9E-6DD4-44C8-AEC7-26CDBAF4E398"), InterfaceType((short) 1)] public interface ICorDebugAssembly2 { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void IsFullyTrusted(out int pbFullyTrusted); + void __IsFullyTrusted(out int pbFullyTrusted); } [ComImport, InterfaceType((short) 1), Guid("4A2A1EC9-85EC-4BFB-9F15-A89FDFE0FE83"), ComConversionLoss] public interface ICorDebugAssemblyEnum : ICorDebugEnum { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Skip([In] uint celt); + void __Skip([In] uint celt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Reset(); + void __Reset(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Clone([MarshalAs(UnmanagedType.Interface)] out ICorDebugEnum ppEnum); + void __Clone([MarshalAs(UnmanagedType.Interface)] out ICorDebugEnum ppEnum); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCount(out uint pcelt); + void __GetCount(out uint pcelt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Next([In] uint celt, [Out] IntPtr values, out uint pceltFetched); + void __Next([In] uint celt, [Out] IntPtr values, out uint pceltFetched); } [ComImport, InterfaceType((short) 1), Guid("CC7BCAFC-8A68-11D2-983C-0000F808342D")] public interface ICorDebugBoxValue : ICorDebugHeapValue { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetType(out uint pType); + void __GetType(out uint pType); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetSize(out uint pSize); + void __GetSize(out uint pSize); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetAddress(out ulong pAddress); + void __GetAddress(out ulong pAddress); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CreateBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueBreakpoint ppBreakpoint); + void __CreateBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueBreakpoint ppBreakpoint); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void IsValid(out int pbValid); + void __IsValid(out int pbValid); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CreateRelocBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueBreakpoint ppBreakpoint); + void __CreateRelocBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueBreakpoint ppBreakpoint); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetObject([MarshalAs(UnmanagedType.Interface)] out ICorDebugObjectValue ppObject); + void __GetObject([MarshalAs(UnmanagedType.Interface)] out ICorDebugObjectValue ppObject); } [ComImport, InterfaceType((short) 1), Guid("CC7BCAE8-8A68-11D2-983C-0000F808342D")] public interface ICorDebugBreakpoint { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Activate([In] int bActive); + void __Activate([In] int bActive); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void IsActive(out int pbActive); + void __IsActive(out int pbActive); } [ComImport, InterfaceType((short) 1), Guid("CC7BCB03-8A68-11D2-983C-0000F808342D"), ComConversionLoss] public interface ICorDebugBreakpointEnum : ICorDebugEnum { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Skip([In] uint celt); + void __Skip([In] uint celt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Reset(); + void __Reset(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Clone([MarshalAs(UnmanagedType.Interface)] out ICorDebugEnum ppEnum); + void __Clone([MarshalAs(UnmanagedType.Interface)] out ICorDebugEnum ppEnum); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCount(out uint pcelt); + void __GetCount(out uint pcelt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Next([In] uint celt, [Out] IntPtr breakpoints, out uint pceltFetched); + void __Next([In] uint celt, [Out] IntPtr breakpoints, out uint pceltFetched); } [ComImport, InterfaceType((short) 1), Guid("CC7BCAEE-8A68-11D2-983C-0000F808342D")] public interface ICorDebugChain { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetThread([MarshalAs(UnmanagedType.Interface)] out ICorDebugThread ppThread); + void __GetThread([MarshalAs(UnmanagedType.Interface)] out ICorDebugThread ppThread); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetStackRange(out ulong pStart, out ulong pEnd); + void __GetStackRange(out ulong pStart, out ulong pEnd); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetContext([MarshalAs(UnmanagedType.Interface)] out ICorDebugContext ppContext); + void __GetContext([MarshalAs(UnmanagedType.Interface)] out ICorDebugContext ppContext); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCaller([MarshalAs(UnmanagedType.Interface)] out ICorDebugChain ppChain); + void __GetCaller([MarshalAs(UnmanagedType.Interface)] out ICorDebugChain ppChain); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCallee([MarshalAs(UnmanagedType.Interface)] out ICorDebugChain ppChain); + void __GetCallee([MarshalAs(UnmanagedType.Interface)] out ICorDebugChain ppChain); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetPrevious([MarshalAs(UnmanagedType.Interface)] out ICorDebugChain ppChain); + void __GetPrevious([MarshalAs(UnmanagedType.Interface)] out ICorDebugChain ppChain); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetNext([MarshalAs(UnmanagedType.Interface)] out ICorDebugChain ppChain); + void __GetNext([MarshalAs(UnmanagedType.Interface)] out ICorDebugChain ppChain); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void IsManaged(out int pManaged); + void __IsManaged(out int pManaged); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void EnumerateFrames([MarshalAs(UnmanagedType.Interface)] out ICorDebugFrameEnum ppFrames); + void __EnumerateFrames([MarshalAs(UnmanagedType.Interface)] out ICorDebugFrameEnum ppFrames); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetActiveFrame([MarshalAs(UnmanagedType.Interface)] out ICorDebugFrame ppFrame); + void __GetActiveFrame([MarshalAs(UnmanagedType.Interface)] out ICorDebugFrame ppFrame); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetRegisterSet([MarshalAs(UnmanagedType.Interface)] out ICorDebugRegisterSet ppRegisters); + void __GetRegisterSet([MarshalAs(UnmanagedType.Interface)] out ICorDebugRegisterSet ppRegisters); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetReason(out CorDebugChainReason pReason); + void __GetReason(out CorDebugChainReason pReason); } [ComImport, ComConversionLoss, InterfaceType((short) 1), Guid("CC7BCB08-8A68-11D2-983C-0000F808342D")] public interface ICorDebugChainEnum : ICorDebugEnum { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Skip([In] uint celt); + void __Skip([In] uint celt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Reset(); + void __Reset(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Clone([MarshalAs(UnmanagedType.Interface)] out ICorDebugEnum ppEnum); + void __Clone([MarshalAs(UnmanagedType.Interface)] out ICorDebugEnum ppEnum); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCount(out uint pcelt); + void __GetCount(out uint pcelt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Next([In] uint celt, [Out, MarshalAs(UnmanagedType.LPArray)] ICorDebugChain[] chains, out uint pceltFetched); + void __Next([In] uint celt, [Out, MarshalAs(UnmanagedType.LPArray)] ICorDebugChain[] chains, out uint pceltFetched); } [ComImport, Guid("CC7BCAF5-8A68-11D2-983C-0000F808342D"), InterfaceType((short) 1)] public interface ICorDebugClass { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetModule([MarshalAs(UnmanagedType.Interface)] out ICorDebugModule pModule); + void __GetModule([MarshalAs(UnmanagedType.Interface)] out ICorDebugModule pModule); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetToken(out uint pTypeDef); + void __GetToken(out uint pTypeDef); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetStaticFieldValue([In] uint fieldDef, [In, MarshalAs(UnmanagedType.Interface)] ICorDebugFrame pFrame, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); + void __GetStaticFieldValue([In] uint fieldDef, [In, MarshalAs(UnmanagedType.Interface)] ICorDebugFrame pFrame, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); } [ComImport, InterfaceType((short) 1), Guid("B008EA8D-7AB1-43F7-BB20-FBB5A04038AE")] public interface ICorDebugClass2 { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetParameterizedType([In] uint elementType, [In] uint nTypeArgs, [In, MarshalAs(UnmanagedType.LPArray)] ICorDebugType[] ppTypeArgs, [MarshalAs(UnmanagedType.Interface)] out ICorDebugType ppType); + void __GetParameterizedType([In] uint elementType, [In] uint nTypeArgs, [In, MarshalAs(UnmanagedType.LPArray)] ICorDebugType[] ppTypeArgs, [MarshalAs(UnmanagedType.Interface)] out ICorDebugType ppType); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetJMCStatus([In] int bIsJustMyCode); + void __SetJMCStatus([In] int bIsJustMyCode); } [ComImport, ComConversionLoss, Guid("CC7BCAF4-8A68-11D2-983C-0000F808342D"), InterfaceType((short) 1)] public interface ICorDebugCode { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void IsIL(out int pbIL); + void __IsIL(out int pbIL); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetFunction([MarshalAs(UnmanagedType.Interface)] out ICorDebugFunction ppFunction); + void __GetFunction([MarshalAs(UnmanagedType.Interface)] out ICorDebugFunction ppFunction); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetAddress(out ulong pStart); + void __GetAddress(out ulong pStart); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetSize(out uint pcBytes); + void __GetSize(out uint pcBytes); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CreateBreakpoint([In] uint offset, [MarshalAs(UnmanagedType.Interface)] out ICorDebugFunctionBreakpoint ppBreakpoint); + void __CreateBreakpoint([In] uint offset, [MarshalAs(UnmanagedType.Interface)] out ICorDebugFunctionBreakpoint ppBreakpoint); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCode([In] uint startOffset, [In] uint endOffset, [In] uint cBufferAlloc, [Out] IntPtr buffer, out uint pcBufferSize); + void __GetCode([In] uint startOffset, [In] uint endOffset, [In] uint cBufferAlloc, [Out] IntPtr buffer, out uint pcBufferSize); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetVersionNumber(out uint nVersion); + void __GetVersionNumber(out uint nVersion); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetILToNativeMapping([In] uint cMap, out uint pcMap, [Out] IntPtr map); + void __GetILToNativeMapping([In] uint cMap, out uint pcMap, [Out] IntPtr map); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetEnCRemapSequencePoints([In] uint cMap, out uint pcMap, [Out] IntPtr offsets); + void __GetEnCRemapSequencePoints([In] uint cMap, out uint pcMap, [Out] IntPtr offsets); } [ComImport, Guid("55E96461-9645-45E4-A2FF-0367877ABCDE"), InterfaceType((short) 1), ComConversionLoss] public interface ICorDebugCodeEnum : ICorDebugEnum { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Skip([In] uint celt); + void __Skip([In] uint celt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Reset(); + void __Reset(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Clone([MarshalAs(UnmanagedType.Interface)] out ICorDebugEnum ppEnum); + void __Clone([MarshalAs(UnmanagedType.Interface)] out ICorDebugEnum ppEnum); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCount(out uint pcelt); + void __GetCount(out uint pcelt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Next([In] uint celt, [Out] IntPtr values, out uint pceltFetched); + void __Next([In] uint celt, [Out] IntPtr values, out uint pceltFetched); } [ComImport, Guid("CC7BCB00-8A68-11D2-983C-0000F808342D"), InterfaceType((short) 1)] public interface ICorDebugContext : ICorDebugObjectValue { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetType(out uint pType); + void __GetType(out uint pType); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetSize(out uint pSize); + void __GetSize(out uint pSize); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetAddress(out ulong pAddress); + void __GetAddress(out ulong pAddress); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CreateBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueBreakpoint ppBreakpoint); + void __CreateBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueBreakpoint ppBreakpoint); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetClass([MarshalAs(UnmanagedType.Interface)] out ICorDebugClass ppClass); + void __GetClass([MarshalAs(UnmanagedType.Interface)] out ICorDebugClass ppClass); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetFieldValue([In, MarshalAs(UnmanagedType.Interface)] ICorDebugClass pClass, [In] uint fieldDef, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); + void __GetFieldValue([In, MarshalAs(UnmanagedType.Interface)] ICorDebugClass pClass, [In] uint fieldDef, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetVirtualMethod([In] uint memberRef, [MarshalAs(UnmanagedType.Interface)] out ICorDebugFunction ppFunction); + void __GetVirtualMethod([In] uint memberRef, [MarshalAs(UnmanagedType.Interface)] out ICorDebugFunction ppFunction); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetContext([MarshalAs(UnmanagedType.Interface)] out ICorDebugContext ppContext); + void __GetContext([MarshalAs(UnmanagedType.Interface)] out ICorDebugContext ppContext); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void IsValueClass(out int pbIsValueClass); + void __IsValueClass(out int pbIsValueClass); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetManagedCopy([MarshalAs(UnmanagedType.IUnknown)] out object ppObject); + void __GetManagedCopy([MarshalAs(UnmanagedType.IUnknown)] out object ppObject); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetFromManagedCopy([In, MarshalAs(UnmanagedType.IUnknown)] object pObject); + void __SetFromManagedCopy([In, MarshalAs(UnmanagedType.IUnknown)] object pObject); } [ComImport, Guid("3D6F5F62-7538-11D3-8D5B-00104B35E7EF"), InterfaceType((short) 1)] public interface ICorDebugController { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Stop([In] uint dwTimeoutIgnored); + void __Stop([In] uint dwTimeoutIgnored); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Continue([In] int fIsOutOfBand); + void __Continue([In] int fIsOutOfBand); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void IsRunning(out int pbRunning); + void __IsRunning(out int pbRunning); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void HasQueuedCallbacks([In, MarshalAs(UnmanagedType.Interface)] ICorDebugThread pThread, out int pbQueued); + void __HasQueuedCallbacks([In, MarshalAs(UnmanagedType.Interface)] ICorDebugThread pThread, out int pbQueued); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void EnumerateThreads([MarshalAs(UnmanagedType.Interface)] out ICorDebugThreadEnum ppThreads); + void __EnumerateThreads([MarshalAs(UnmanagedType.Interface)] out ICorDebugThreadEnum ppThreads); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetAllThreadsDebugState([In] CorDebugThreadState state, [In, MarshalAs(UnmanagedType.Interface)] ICorDebugThread pExceptThisThread); + void __SetAllThreadsDebugState([In] CorDebugThreadState state, [In, MarshalAs(UnmanagedType.Interface)] ICorDebugThread pExceptThisThread); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Detach(); + void __Detach(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Terminate([In] uint exitCode); + void __Terminate([In] uint exitCode); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CanCommitChanges([In] uint cSnapshots, [In, MarshalAs(UnmanagedType.Interface)] ref ICorDebugEditAndContinueSnapshot pSnapshots, [MarshalAs(UnmanagedType.Interface)] out ICorDebugErrorInfoEnum pError); + void __CanCommitChanges([In] uint cSnapshots, [In, MarshalAs(UnmanagedType.Interface)] ref ICorDebugEditAndContinueSnapshot pSnapshots, [MarshalAs(UnmanagedType.Interface)] out ICorDebugErrorInfoEnum pError); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CommitChanges([In] uint cSnapshots, [In, MarshalAs(UnmanagedType.Interface)] ref ICorDebugEditAndContinueSnapshot pSnapshots, [MarshalAs(UnmanagedType.Interface)] out ICorDebugErrorInfoEnum pError); + void __CommitChanges([In] uint cSnapshots, [In, MarshalAs(UnmanagedType.Interface)] ref ICorDebugEditAndContinueSnapshot pSnapshots, [MarshalAs(UnmanagedType.Interface)] out ICorDebugErrorInfoEnum pError); } [ComImport, InterfaceType((short) 1), Guid("6DC3FA01-D7CB-11D2-8A95-0080C792E5D8")] public interface ICorDebugEditAndContinueSnapshot { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CopyMetaData([In, MarshalAs(UnmanagedType.Interface)] IStream pIStream, out Guid pMvid); + void __CopyMetaData([In, MarshalAs(UnmanagedType.Interface)] IStream pIStream, out Guid pMvid); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetMvid(out Guid pMvid); + void __GetMvid(out Guid pMvid); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetRoDataRVA(out uint pRoDataRVA); + void __GetRoDataRVA(out uint pRoDataRVA); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetRwDataRVA(out uint pRwDataRVA); + void __GetRwDataRVA(out uint pRwDataRVA); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetPEBytes([In, MarshalAs(UnmanagedType.Interface)] IStream pIStream); + void __SetPEBytes([In, MarshalAs(UnmanagedType.Interface)] IStream pIStream); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetILMap([In] uint mdFunction, [In] uint cMapSize, [In] ref _COR_IL_MAP map); + void __SetILMap([In] uint mdFunction, [In] uint cMapSize, [In] ref _COR_IL_MAP map); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetPESymbolBytes([In, MarshalAs(UnmanagedType.Interface)] IStream pIStream); + void __SetPESymbolBytes([In, MarshalAs(UnmanagedType.Interface)] IStream pIStream); } [ComImport, InterfaceType((short) 1), Guid("CC7BCB01-8A68-11D2-983C-0000F808342D")] public interface ICorDebugEnum { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Skip([In] uint celt); + void __Skip([In] uint celt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Reset(); + void __Reset(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Clone([MarshalAs(UnmanagedType.Interface)] out ICorDebugEnum ppEnum); + void __Clone([MarshalAs(UnmanagedType.Interface)] out ICorDebugEnum ppEnum); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCount(out uint pcelt); + void __GetCount(out uint pcelt); } [ComImport, ComConversionLoss, Guid("F0E18809-72B5-11D2-976F-00A0C9B4D50C"), InterfaceType((short) 1)] public interface ICorDebugErrorInfoEnum : ICorDebugEnum { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Skip([In] uint celt); + void __Skip([In] uint celt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Reset(); + void __Reset(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Clone([MarshalAs(UnmanagedType.Interface)] out ICorDebugEnum ppEnum); + void __Clone([MarshalAs(UnmanagedType.Interface)] out ICorDebugEnum ppEnum); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCount(out uint pcelt); + void __GetCount(out uint pcelt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Next([In] uint celt, [Out] IntPtr errors, out uint pceltFetched); + void __Next([In] uint celt, [Out] IntPtr errors, out uint pceltFetched); } [ComImport, InterfaceType((short) 1), Guid("CC7BCAF6-8A68-11D2-983C-0000F808342D")] public interface ICorDebugEval { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CallFunction([In, MarshalAs(UnmanagedType.Interface)] ICorDebugFunction pFunction, [In] uint nArgs, [In, MarshalAs(UnmanagedType.LPArray)] ICorDebugValue[] ppArgs); + void __CallFunction([In, MarshalAs(UnmanagedType.Interface)] ICorDebugFunction pFunction, [In] uint nArgs, [In, MarshalAs(UnmanagedType.LPArray)] ICorDebugValue[] ppArgs); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void NewObject([In, MarshalAs(UnmanagedType.Interface)] ICorDebugFunction pConstructor, [In] uint nArgs, [In, MarshalAs(UnmanagedType.Interface)] ref ICorDebugValue ppArgs); + void __NewObject([In, MarshalAs(UnmanagedType.Interface)] ICorDebugFunction pConstructor, [In] uint nArgs, [In, MarshalAs(UnmanagedType.Interface)] ref ICorDebugValue ppArgs); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void NewObjectNoConstructor([In, MarshalAs(UnmanagedType.Interface)] ICorDebugClass pClass); + void __NewObjectNoConstructor([In, MarshalAs(UnmanagedType.Interface)] ICorDebugClass pClass); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void NewString([In, MarshalAs(UnmanagedType.LPWStr)] string @string); + void __NewString([In, MarshalAs(UnmanagedType.LPWStr)] string @string); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void NewArray([In] uint elementType, [In, MarshalAs(UnmanagedType.Interface)] ICorDebugClass pElementClass, [In] uint rank, [In] ref uint dims, [In] ref uint lowBounds); + void __NewArray([In] uint elementType, [In, MarshalAs(UnmanagedType.Interface)] ICorDebugClass pElementClass, [In] uint rank, [In] ref uint dims, [In] ref uint lowBounds); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void IsActive(out int pbActive); + void __IsActive(out int pbActive); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Abort(); + void __Abort(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetResult([MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppResult); + void __GetResult([MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppResult); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetThread([MarshalAs(UnmanagedType.Interface)] out ICorDebugThread ppThread); + void __GetThread([MarshalAs(UnmanagedType.Interface)] out ICorDebugThread ppThread); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CreateValue([In] uint elementType, [In, MarshalAs(UnmanagedType.Interface)] ICorDebugClass pElementClass, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); + void __CreateValue([In] uint elementType, [In, MarshalAs(UnmanagedType.Interface)] ICorDebugClass pElementClass, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); } [ComImport, Guid("FB0D9CE7-BE66-4683-9D32-A42A04E2FD91"), InterfaceType((short) 1)] public interface ICorDebugEval2 { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CallParameterizedFunction([In, MarshalAs(UnmanagedType.Interface)] ICorDebugFunction pFunction, [In] uint nTypeArgs, [In, MarshalAs(UnmanagedType.LPArray)] ICorDebugType[] ppTypeArgs, [In] uint nArgs, [In, MarshalAs(UnmanagedType.LPArray)] ICorDebugValue[] ppArgs); + void __CallParameterizedFunction([In, MarshalAs(UnmanagedType.Interface)] ICorDebugFunction pFunction, [In] uint nTypeArgs, [In, MarshalAs(UnmanagedType.LPArray)] ICorDebugType[] ppTypeArgs, [In] uint nArgs, [In, MarshalAs(UnmanagedType.LPArray)] ICorDebugValue[] ppArgs); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CreateValueForType([In, MarshalAs(UnmanagedType.Interface)] ICorDebugType pType, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); + void __CreateValueForType([In, MarshalAs(UnmanagedType.Interface)] ICorDebugType pType, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void NewParameterizedObject([In, MarshalAs(UnmanagedType.Interface)] ICorDebugFunction pConstructor, [In] uint nTypeArgs, [In, MarshalAs(UnmanagedType.LPArray)] ICorDebugType[] ppTypeArgs, [In] uint nArgs, [In, MarshalAs(UnmanagedType.LPArray)] ICorDebugValue[] ppArgs); + void __NewParameterizedObject([In, MarshalAs(UnmanagedType.Interface)] ICorDebugFunction pConstructor, [In] uint nTypeArgs, [In, MarshalAs(UnmanagedType.LPArray)] ICorDebugType[] ppTypeArgs, [In] uint nArgs, [In, MarshalAs(UnmanagedType.LPArray)] ICorDebugValue[] ppArgs); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void NewParameterizedObjectNoConstructor([In, MarshalAs(UnmanagedType.Interface)] ICorDebugClass pClass, [In] uint nTypeArgs, [In, MarshalAs(UnmanagedType.LPArray)] ICorDebugType[] ppTypeArgs); + void __NewParameterizedObjectNoConstructor([In, MarshalAs(UnmanagedType.Interface)] ICorDebugClass pClass, [In] uint nTypeArgs, [In, MarshalAs(UnmanagedType.LPArray)] ICorDebugType[] ppTypeArgs); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void NewParameterizedArray([In, MarshalAs(UnmanagedType.Interface)] ICorDebugType pElementType, [In] uint rank, [In] ref uint dims, [In] ref uint lowBounds); + void __NewParameterizedArray([In, MarshalAs(UnmanagedType.Interface)] ICorDebugType pElementType, [In] uint rank, [In] ref uint dims, [In] ref uint lowBounds); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void NewStringWithLength([In, MarshalAs(UnmanagedType.LPWStr)] string @string, [In] uint uiLength); + void __NewStringWithLength([In, MarshalAs(UnmanagedType.LPWStr)] string @string, [In] uint uiLength); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void RudeAbort(); + void __RudeAbort(); } [ComImport, InterfaceType((short) 1), Guid("CC7BCAEF-8A68-11D2-983C-0000F808342D")] public interface ICorDebugFrame { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetChain([MarshalAs(UnmanagedType.Interface)] out ICorDebugChain ppChain); + void __GetChain([MarshalAs(UnmanagedType.Interface)] out ICorDebugChain ppChain); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCode([MarshalAs(UnmanagedType.Interface)] out ICorDebugCode ppCode); + void __GetCode([MarshalAs(UnmanagedType.Interface)] out ICorDebugCode ppCode); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetFunction([MarshalAs(UnmanagedType.Interface)] out ICorDebugFunction ppFunction); + void __GetFunction([MarshalAs(UnmanagedType.Interface)] out ICorDebugFunction ppFunction); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetFunctionToken(out uint pToken); + void __GetFunctionToken(out uint pToken); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetStackRange(out ulong pStart, out ulong pEnd); + void __GetStackRange(out ulong pStart, out ulong pEnd); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCaller([MarshalAs(UnmanagedType.Interface)] out ICorDebugFrame ppFrame); + void __GetCaller([MarshalAs(UnmanagedType.Interface)] out ICorDebugFrame ppFrame); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCallee([MarshalAs(UnmanagedType.Interface)] out ICorDebugFrame ppFrame); + void __GetCallee([MarshalAs(UnmanagedType.Interface)] out ICorDebugFrame ppFrame); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CreateStepper([MarshalAs(UnmanagedType.Interface)] out ICorDebugStepper ppStepper); + void __CreateStepper([MarshalAs(UnmanagedType.Interface)] out ICorDebugStepper ppStepper); } [ComImport, InterfaceType((short) 1), ComConversionLoss, Guid("CC7BCB07-8A68-11D2-983C-0000F808342D")] public interface ICorDebugFrameEnum : ICorDebugEnum { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Skip([In] uint celt); + void __Skip([In] uint celt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Reset(); + void __Reset(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Clone([MarshalAs(UnmanagedType.Interface)] out ICorDebugEnum ppEnum); + void __Clone([MarshalAs(UnmanagedType.Interface)] out ICorDebugEnum ppEnum); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCount(out uint pcelt); + void __GetCount(out uint pcelt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Next([In] uint celt, [Out, MarshalAs(UnmanagedType.LPArray)] ICorDebugFrame[] frames, out uint pceltFetched); + void __Next([In] uint celt, [Out, MarshalAs(UnmanagedType.LPArray)] ICorDebugFrame[] frames, out uint pceltFetched); } [ComImport, InterfaceType((short) 1), Guid("CC7BCAF3-8A68-11D2-983C-0000F808342D")] public interface ICorDebugFunction { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetModule([MarshalAs(UnmanagedType.Interface)] out ICorDebugModule ppModule); + void __GetModule([MarshalAs(UnmanagedType.Interface)] out ICorDebugModule ppModule); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetClass([MarshalAs(UnmanagedType.Interface)] out ICorDebugClass ppClass); + void __GetClass([MarshalAs(UnmanagedType.Interface)] out ICorDebugClass ppClass); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetToken(out uint pMethodDef); + void __GetToken(out uint pMethodDef); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetILCode([MarshalAs(UnmanagedType.Interface)] out ICorDebugCode ppCode); + void __GetILCode([MarshalAs(UnmanagedType.Interface)] out ICorDebugCode ppCode); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetNativeCode([MarshalAs(UnmanagedType.Interface)] out ICorDebugCode ppCode); + void __GetNativeCode([MarshalAs(UnmanagedType.Interface)] out ICorDebugCode ppCode); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CreateBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugFunctionBreakpoint ppBreakpoint); + void __CreateBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugFunctionBreakpoint ppBreakpoint); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetLocalVarSigToken(out uint pmdSig); + void __GetLocalVarSigToken(out uint pmdSig); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCurrentVersionNumber(out uint pnCurrentVersion); + void __GetCurrentVersionNumber(out uint pnCurrentVersion); } [ComImport, Guid("EF0C490B-94C3-4E4D-B629-DDC134C532D8"), InterfaceType((short) 1)] public interface ICorDebugFunction2 { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetJMCStatus([In] int bIsJustMyCode); + void __SetJMCStatus([In] int bIsJustMyCode); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetJMCStatus(out int pbIsJustMyCode); + void __GetJMCStatus(out int pbIsJustMyCode); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void EnumerateNativeCode([MarshalAs(UnmanagedType.Interface)] out ICorDebugCodeEnum ppCodeEnum); + void __EnumerateNativeCode([MarshalAs(UnmanagedType.Interface)] out ICorDebugCodeEnum ppCodeEnum); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetVersionNumber(out uint pnVersion); + void __GetVersionNumber(out uint pnVersion); } [ComImport, Guid("CC7BCAE9-8A68-11D2-983C-0000F808342D"), InterfaceType((short) 1)] public interface ICorDebugFunctionBreakpoint : ICorDebugBreakpoint { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Activate([In] int bActive); + void __Activate([In] int bActive); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void IsActive(out int pbActive); + void __IsActive(out int pbActive); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetFunction([MarshalAs(UnmanagedType.Interface)] out ICorDebugFunction ppFunction); + void __GetFunction([MarshalAs(UnmanagedType.Interface)] out ICorDebugFunction ppFunction); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetOffset(out uint pnOffset); + void __GetOffset(out uint pnOffset); } [ComImport, Guid("CC7BCAF8-8A68-11D2-983C-0000F808342D"), InterfaceType((short) 1)] public interface ICorDebugGenericValue : ICorDebugValue { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetType(out uint pType); + void __GetType(out uint pType); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetSize(out uint pSize); + void __GetSize(out uint pSize); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetAddress(out ulong pAddress); + void __GetAddress(out ulong pAddress); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CreateBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueBreakpoint ppBreakpoint); + void __CreateBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueBreakpoint ppBreakpoint); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetValue([Out] IntPtr pTo); + void __GetValue([Out] IntPtr pTo); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetValue([In] IntPtr pFrom); + void __SetValue([In] IntPtr pFrom); } [ComImport, InterfaceType((short) 1), Guid("029596E8-276B-46A1-9821-732E96BBB00B")] public interface ICorDebugHandleValue : ICorDebugReferenceValue { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetType(out uint pType); + void __GetType(out uint pType); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetSize(out uint pSize); + void __GetSize(out uint pSize); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetAddress(out ulong pAddress); + void __GetAddress(out ulong pAddress); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CreateBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueBreakpoint ppBreakpoint); + void __CreateBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueBreakpoint ppBreakpoint); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void IsNull(out int pbNull); + void __IsNull(out int pbNull); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetValue(out ulong pValue); + void __GetValue(out ulong pValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetValue([In] ulong value); + void __SetValue([In] ulong value); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Dereference([MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); + void __Dereference([MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void DereferenceStrong([MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); + void __DereferenceStrong([MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetHandleType(out CorDebugHandleType pType); + void __GetHandleType(out CorDebugHandleType pType); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Dispose(); + void __Dispose(); } [ComImport, Guid("CC7BCAFA-8A68-11D2-983C-0000F808342D"), InterfaceType((short) 1)] public interface ICorDebugHeapValue : ICorDebugValue { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetType(out uint pType); + void __GetType(out uint pType); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetSize(out uint pSize); + void __GetSize(out uint pSize); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetAddress(out ulong pAddress); + void __GetAddress(out ulong pAddress); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CreateBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueBreakpoint ppBreakpoint); + void __CreateBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueBreakpoint ppBreakpoint); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void IsValid(out int pbValid); + void __IsValid(out int pbValid); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CreateRelocBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueBreakpoint ppBreakpoint); + void __CreateRelocBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueBreakpoint ppBreakpoint); } [ComImport, Guid("E3AC4D6C-9CB7-43E6-96CC-B21540E5083C"), InterfaceType((short) 1)] public interface ICorDebugHeapValue2 { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CreateHandle([In] CorDebugHandleType type, [MarshalAs(UnmanagedType.Interface)] out ICorDebugHandleValue ppHandle); + void __CreateHandle([In] CorDebugHandleType type, [MarshalAs(UnmanagedType.Interface)] out ICorDebugHandleValue ppHandle); } [ComImport, InterfaceType((short) 1), Guid("03E26311-4F76-11D3-88C6-006097945418")] public interface ICorDebugILFrame : ICorDebugFrame { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetChain([MarshalAs(UnmanagedType.Interface)] out ICorDebugChain ppChain); + void __GetChain([MarshalAs(UnmanagedType.Interface)] out ICorDebugChain ppChain); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCode([MarshalAs(UnmanagedType.Interface)] out ICorDebugCode ppCode); + void __GetCode([MarshalAs(UnmanagedType.Interface)] out ICorDebugCode ppCode); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetFunction([MarshalAs(UnmanagedType.Interface)] out ICorDebugFunction ppFunction); + void __GetFunction([MarshalAs(UnmanagedType.Interface)] out ICorDebugFunction ppFunction); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetFunctionToken(out uint pToken); + void __GetFunctionToken(out uint pToken); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetStackRange(out ulong pStart, out ulong pEnd); + void __GetStackRange(out ulong pStart, out ulong pEnd); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCaller([MarshalAs(UnmanagedType.Interface)] out ICorDebugFrame ppFrame); + void __GetCaller([MarshalAs(UnmanagedType.Interface)] out ICorDebugFrame ppFrame); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCallee([MarshalAs(UnmanagedType.Interface)] out ICorDebugFrame ppFrame); + void __GetCallee([MarshalAs(UnmanagedType.Interface)] out ICorDebugFrame ppFrame); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CreateStepper([MarshalAs(UnmanagedType.Interface)] out ICorDebugStepper ppStepper); + void __CreateStepper([MarshalAs(UnmanagedType.Interface)] out ICorDebugStepper ppStepper); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetIP(out uint pnOffset, out CorDebugMappingResult pMappingResult); + void __GetIP(out uint pnOffset, out CorDebugMappingResult pMappingResult); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetIP([In] uint nOffset); + void __SetIP([In] uint nOffset); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void EnumerateLocalVariables([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueEnum ppValueEnum); + void __EnumerateLocalVariables([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueEnum ppValueEnum); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetLocalVariable([In] uint dwIndex, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); + void __GetLocalVariable([In] uint dwIndex, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void EnumerateArguments([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueEnum ppValueEnum); + void __EnumerateArguments([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueEnum ppValueEnum); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetArgument([In] uint dwIndex, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); + void __GetArgument([In] uint dwIndex, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetStackDepth(out uint pDepth); + void __GetStackDepth(out uint pDepth); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetStackValue([In] uint dwIndex, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); + void __GetStackValue([In] uint dwIndex, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CanSetIP([In] uint nOffset); + void __CanSetIP([In] uint nOffset); } [ComImport, Guid("5D88A994-6C30-479B-890F-BCEF88B129A5"), InterfaceType((short) 1)] public interface ICorDebugILFrame2 { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void RemapFunction([In] uint newILOffset); + void __RemapFunction([In] uint newILOffset); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void EnumerateTypeParameters([MarshalAs(UnmanagedType.Interface)] out ICorDebugTypeEnum ppTyParEnum); + void __EnumerateTypeParameters([MarshalAs(UnmanagedType.Interface)] out ICorDebugTypeEnum ppTyParEnum); } [ComImport, Guid("B92CC7F7-9D2D-45C4-BC2B-621FCC9DFBF4"), InterfaceType((short) 1)] public interface ICorDebugInternalFrame : ICorDebugFrame { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetChain([MarshalAs(UnmanagedType.Interface)] out ICorDebugChain ppChain); + void __GetChain([MarshalAs(UnmanagedType.Interface)] out ICorDebugChain ppChain); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCode([MarshalAs(UnmanagedType.Interface)] out ICorDebugCode ppCode); + void __GetCode([MarshalAs(UnmanagedType.Interface)] out ICorDebugCode ppCode); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetFunction([MarshalAs(UnmanagedType.Interface)] out ICorDebugFunction ppFunction); + void __GetFunction([MarshalAs(UnmanagedType.Interface)] out ICorDebugFunction ppFunction); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetFunctionToken(out uint pToken); + void __GetFunctionToken(out uint pToken); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetStackRange(out ulong pStart, out ulong pEnd); + void __GetStackRange(out ulong pStart, out ulong pEnd); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCaller([MarshalAs(UnmanagedType.Interface)] out ICorDebugFrame ppFrame); + void __GetCaller([MarshalAs(UnmanagedType.Interface)] out ICorDebugFrame ppFrame); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCallee([MarshalAs(UnmanagedType.Interface)] out ICorDebugFrame ppFrame); + void __GetCallee([MarshalAs(UnmanagedType.Interface)] out ICorDebugFrame ppFrame); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CreateStepper([MarshalAs(UnmanagedType.Interface)] out ICorDebugStepper ppStepper); + void __CreateStepper([MarshalAs(UnmanagedType.Interface)] out ICorDebugStepper ppStepper); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetFrameType(out CorDebugInternalFrameType pType); + void __GetFrameType(out CorDebugInternalFrameType pType); } [ComImport, ComConversionLoss, Guid("CC726F2F-1DB7-459B-B0EC-05F01D841B42"), InterfaceType((short) 1)] public interface ICorDebugMDA { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetName([In] uint cchName, out uint pcchName, [Out] IntPtr szName); + void __GetName([In] uint cchName, out uint pcchName, [Out] IntPtr szName); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetDescription([In] uint cchName, out uint pcchName, [Out] IntPtr szName); + void __GetDescription([In] uint cchName, out uint pcchName, [Out] IntPtr szName); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetXML([In] uint cchName, out uint pcchName, [Out] IntPtr szName); + void __GetXML([In] uint cchName, out uint pcchName, [Out] IntPtr szName); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetFlags([In] ref CorDebugMDAFlags pFlags); + void __GetFlags([In] ref CorDebugMDAFlags pFlags); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetOSThreadId(out uint pOsTid); + void __GetOSThreadId(out uint pOsTid); } [ComImport, Guid("3D6F5F60-7538-11D3-8D5B-00104B35E7EF"), InterfaceType((short) 1)] @@ -1123,553 +1123,553 @@ namespace Debugger.Interop.CorDebug public interface ICorDebugModule { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetProcess([MarshalAs(UnmanagedType.Interface)] out ICorDebugProcess ppProcess); + void __GetProcess([MarshalAs(UnmanagedType.Interface)] out ICorDebugProcess ppProcess); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetBaseAddress(out ulong pAddress); + void __GetBaseAddress(out ulong pAddress); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetAssembly([MarshalAs(UnmanagedType.Interface)] out ICorDebugAssembly ppAssembly); + void __GetAssembly([MarshalAs(UnmanagedType.Interface)] out ICorDebugAssembly ppAssembly); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetName([In] uint cchName, out uint pcchName, [Out] IntPtr szName); + void __GetName([In] uint cchName, out uint pcchName, [Out] IntPtr szName); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void EnableJITDebugging([In] int bTrackJITInfo, [In] int bAllowJitOpts); + void __EnableJITDebugging([In] int bTrackJITInfo, [In] int bAllowJitOpts); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void EnableClassLoadCallbacks([In] int bClassLoadCallbacks); + void __EnableClassLoadCallbacks([In] int bClassLoadCallbacks); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetFunctionFromToken([In] uint methodDef, [MarshalAs(UnmanagedType.Interface)] out ICorDebugFunction ppFunction); + void __GetFunctionFromToken([In] uint methodDef, [MarshalAs(UnmanagedType.Interface)] out ICorDebugFunction ppFunction); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetFunctionFromRVA([In] ulong rva, [MarshalAs(UnmanagedType.Interface)] out ICorDebugFunction ppFunction); + void __GetFunctionFromRVA([In] ulong rva, [MarshalAs(UnmanagedType.Interface)] out ICorDebugFunction ppFunction); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetClassFromToken([In] uint typeDef, [MarshalAs(UnmanagedType.Interface)] out ICorDebugClass ppClass); + void __GetClassFromToken([In] uint typeDef, [MarshalAs(UnmanagedType.Interface)] out ICorDebugClass ppClass); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CreateBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugModuleBreakpoint ppBreakpoint); + void __CreateBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugModuleBreakpoint ppBreakpoint); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetEditAndContinueSnapshot([MarshalAs(UnmanagedType.Interface)] out ICorDebugEditAndContinueSnapshot ppEditAndContinueSnapshot); + void __GetEditAndContinueSnapshot([MarshalAs(UnmanagedType.Interface)] out ICorDebugEditAndContinueSnapshot ppEditAndContinueSnapshot); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetMetaDataInterface([In] ref Guid riid, [MarshalAs(UnmanagedType.IUnknown)] out object ppObj); + void __GetMetaDataInterface([In] ref Guid riid, [MarshalAs(UnmanagedType.IUnknown)] out object ppObj); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetToken(out uint pToken); + void __GetToken(out uint pToken); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void IsDynamic(out int pDynamic); + void __IsDynamic(out int pDynamic); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetGlobalVariableValue([In] uint fieldDef, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); + void __GetGlobalVariableValue([In] uint fieldDef, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetSize(out uint pcBytes); + void __GetSize(out uint pcBytes); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void IsInMemory(out int pInMemory); + void __IsInMemory(out int pInMemory); } [ComImport, InterfaceType((short) 1), Guid("7FCC5FB5-49C0-41DE-9938-3B88B5B9ADD7")] public interface ICorDebugModule2 { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetJMCStatus([In] int bIsJustMyCode, [In] uint cTokens, [In] ref uint pTokens); + void __SetJMCStatus([In] int bIsJustMyCode, [In] uint cTokens, [In] ref uint pTokens); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void ApplyChanges([In] uint cbMetadata, [In, MarshalAs(UnmanagedType.LPArray)] byte[] pbMetadata, [In] uint cbIL, [In, MarshalAs(UnmanagedType.LPArray)] byte[] pbIL); + void __ApplyChanges([In] uint cbMetadata, [In, MarshalAs(UnmanagedType.LPArray)] byte[] pbMetadata, [In] uint cbIL, [In, MarshalAs(UnmanagedType.LPArray)] byte[] pbIL); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetJITCompilerFlags([In] uint dwFlags); + void __SetJITCompilerFlags([In] uint dwFlags); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetJITCompilerFlags(out uint pdwFlags); + void __GetJITCompilerFlags(out uint pdwFlags); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void ResolveAssembly([In] uint tkAssemblyRef, [In, MarshalAs(UnmanagedType.Interface)] ref ICorDebugAssembly ppAssembly); + void __ResolveAssembly([In] uint tkAssemblyRef, [In, MarshalAs(UnmanagedType.Interface)] ref ICorDebugAssembly ppAssembly); } [ComImport, Guid("CC7BCAEA-8A68-11D2-983C-0000F808342D"), InterfaceType((short) 1)] public interface ICorDebugModuleBreakpoint : ICorDebugBreakpoint { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Activate([In] int bActive); + void __Activate([In] int bActive); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void IsActive(out int pbActive); + void __IsActive(out int pbActive); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetModule([MarshalAs(UnmanagedType.Interface)] out ICorDebugModule ppModule); + void __GetModule([MarshalAs(UnmanagedType.Interface)] out ICorDebugModule ppModule); } [ComImport, InterfaceType((short) 1), ComConversionLoss, Guid("CC7BCB09-8A68-11D2-983C-0000F808342D")] public interface ICorDebugModuleEnum : ICorDebugEnum { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Skip([In] uint celt); + void __Skip([In] uint celt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Reset(); + void __Reset(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Clone([MarshalAs(UnmanagedType.Interface)] out ICorDebugEnum ppEnum); + void __Clone([MarshalAs(UnmanagedType.Interface)] out ICorDebugEnum ppEnum); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCount(out uint pcelt); + void __GetCount(out uint pcelt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Next([In] uint celt, [Out] IntPtr modules, out uint pceltFetched); + void __Next([In] uint celt, [Out] IntPtr modules, out uint pceltFetched); } [ComImport, InterfaceType((short) 1), Guid("03E26314-4F76-11D3-88C6-006097945418")] public interface ICorDebugNativeFrame : ICorDebugFrame { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetChain([MarshalAs(UnmanagedType.Interface)] out ICorDebugChain ppChain); + void __GetChain([MarshalAs(UnmanagedType.Interface)] out ICorDebugChain ppChain); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCode([MarshalAs(UnmanagedType.Interface)] out ICorDebugCode ppCode); + void __GetCode([MarshalAs(UnmanagedType.Interface)] out ICorDebugCode ppCode); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetFunction([MarshalAs(UnmanagedType.Interface)] out ICorDebugFunction ppFunction); + void __GetFunction([MarshalAs(UnmanagedType.Interface)] out ICorDebugFunction ppFunction); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetFunctionToken(out uint pToken); + void __GetFunctionToken(out uint pToken); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetStackRange(out ulong pStart, out ulong pEnd); + void __GetStackRange(out ulong pStart, out ulong pEnd); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCaller([MarshalAs(UnmanagedType.Interface)] out ICorDebugFrame ppFrame); + void __GetCaller([MarshalAs(UnmanagedType.Interface)] out ICorDebugFrame ppFrame); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCallee([MarshalAs(UnmanagedType.Interface)] out ICorDebugFrame ppFrame); + void __GetCallee([MarshalAs(UnmanagedType.Interface)] out ICorDebugFrame ppFrame); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CreateStepper([MarshalAs(UnmanagedType.Interface)] out ICorDebugStepper ppStepper); + void __CreateStepper([MarshalAs(UnmanagedType.Interface)] out ICorDebugStepper ppStepper); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetIP(out uint pnOffset); + void __GetIP(out uint pnOffset); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetIP([In] uint nOffset); + void __SetIP([In] uint nOffset); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetRegisterSet([MarshalAs(UnmanagedType.Interface)] out ICorDebugRegisterSet ppRegisters); + void __GetRegisterSet([MarshalAs(UnmanagedType.Interface)] out ICorDebugRegisterSet ppRegisters); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetLocalRegisterValue([In] CorDebugRegister reg, [In] uint cbSigBlob, [In, ComAliasName("Debugger.Interop.CorDebug.ULONG_PTR")] uint pvSigBlob, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); + void __GetLocalRegisterValue([In] CorDebugRegister reg, [In] uint cbSigBlob, [In, ComAliasName("Debugger.Interop.CorDebug.ULONG_PTR")] uint pvSigBlob, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetLocalDoubleRegisterValue([In] CorDebugRegister highWordReg, [In] CorDebugRegister lowWordReg, [In] uint cbSigBlob, [In, ComAliasName("Debugger.Interop.CorDebug.ULONG_PTR")] uint pvSigBlob, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); + void __GetLocalDoubleRegisterValue([In] CorDebugRegister highWordReg, [In] CorDebugRegister lowWordReg, [In] uint cbSigBlob, [In, ComAliasName("Debugger.Interop.CorDebug.ULONG_PTR")] uint pvSigBlob, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetLocalMemoryValue([In] ulong address, [In] uint cbSigBlob, [In, ComAliasName("Debugger.Interop.CorDebug.ULONG_PTR")] uint pvSigBlob, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); + void __GetLocalMemoryValue([In] ulong address, [In] uint cbSigBlob, [In, ComAliasName("Debugger.Interop.CorDebug.ULONG_PTR")] uint pvSigBlob, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetLocalRegisterMemoryValue([In] CorDebugRegister highWordReg, [In] ulong lowWordAddress, [In] uint cbSigBlob, [In, ComAliasName("Debugger.Interop.CorDebug.ULONG_PTR")] uint pvSigBlob, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); + void __GetLocalRegisterMemoryValue([In] CorDebugRegister highWordReg, [In] ulong lowWordAddress, [In] uint cbSigBlob, [In, ComAliasName("Debugger.Interop.CorDebug.ULONG_PTR")] uint pvSigBlob, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetLocalMemoryRegisterValue([In] ulong highWordAddress, [In] CorDebugRegister lowWordRegister, [In] uint cbSigBlob, [In, ComAliasName("Debugger.Interop.CorDebug.ULONG_PTR")] uint pvSigBlob, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); + void __GetLocalMemoryRegisterValue([In] ulong highWordAddress, [In] CorDebugRegister lowWordRegister, [In] uint cbSigBlob, [In, ComAliasName("Debugger.Interop.CorDebug.ULONG_PTR")] uint pvSigBlob, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CanSetIP([In] uint nOffset); + void __CanSetIP([In] uint nOffset); } [ComImport, ComConversionLoss, InterfaceType((short) 1), Guid("CC7BCB02-8A68-11D2-983C-0000F808342D")] public interface ICorDebugObjectEnum : ICorDebugEnum { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Skip([In] uint celt); + void __Skip([In] uint celt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Reset(); + void __Reset(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Clone([MarshalAs(UnmanagedType.Interface)] out ICorDebugEnum ppEnum); + void __Clone([MarshalAs(UnmanagedType.Interface)] out ICorDebugEnum ppEnum); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCount(out uint pcelt); + void __GetCount(out uint pcelt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Next([In] uint celt, [Out] IntPtr objects, out uint pceltFetched); + void __Next([In] uint celt, [Out] IntPtr objects, out uint pceltFetched); } [ComImport, Guid("18AD3D6E-B7D2-11D2-BD04-0000F80849BD"), InterfaceType((short) 1)] public interface ICorDebugObjectValue : ICorDebugValue { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetType(out uint pType); + void __GetType(out uint pType); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetSize(out uint pSize); + void __GetSize(out uint pSize); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetAddress(out ulong pAddress); + void __GetAddress(out ulong pAddress); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CreateBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueBreakpoint ppBreakpoint); + void __CreateBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueBreakpoint ppBreakpoint); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetClass([MarshalAs(UnmanagedType.Interface)] out ICorDebugClass ppClass); + void __GetClass([MarshalAs(UnmanagedType.Interface)] out ICorDebugClass ppClass); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetFieldValue([In, MarshalAs(UnmanagedType.Interface)] ICorDebugClass pClass, [In] uint fieldDef, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); + void __GetFieldValue([In, MarshalAs(UnmanagedType.Interface)] ICorDebugClass pClass, [In] uint fieldDef, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetVirtualMethod([In] uint memberRef, [MarshalAs(UnmanagedType.Interface)] out ICorDebugFunction ppFunction); + void __GetVirtualMethod([In] uint memberRef, [MarshalAs(UnmanagedType.Interface)] out ICorDebugFunction ppFunction); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetContext([MarshalAs(UnmanagedType.Interface)] out ICorDebugContext ppContext); + void __GetContext([MarshalAs(UnmanagedType.Interface)] out ICorDebugContext ppContext); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void IsValueClass(out int pbIsValueClass); + void __IsValueClass(out int pbIsValueClass); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetManagedCopy([MarshalAs(UnmanagedType.IUnknown)] out object ppObject); + void __GetManagedCopy([MarshalAs(UnmanagedType.IUnknown)] out object ppObject); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetFromManagedCopy([In, MarshalAs(UnmanagedType.IUnknown)] object pObject); + void __SetFromManagedCopy([In, MarshalAs(UnmanagedType.IUnknown)] object pObject); } [ComImport, Guid("49E4A320-4A9B-4ECA-B105-229FB7D5009F"), InterfaceType((short) 1)] public interface ICorDebugObjectValue2 { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetVirtualMethodAndType([In] uint memberRef, [MarshalAs(UnmanagedType.Interface)] out ICorDebugFunction ppFunction, [MarshalAs(UnmanagedType.Interface)] out ICorDebugType ppType); + void __GetVirtualMethodAndType([In] uint memberRef, [MarshalAs(UnmanagedType.Interface)] out ICorDebugFunction ppFunction, [MarshalAs(UnmanagedType.Interface)] out ICorDebugType ppType); } [ComImport, InterfaceType((short) 1), ComConversionLoss, Guid("3D6F5F64-7538-11D3-8D5B-00104B35E7EF")] public interface ICorDebugProcess : ICorDebugController { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Stop([In] uint dwTimeoutIgnored); + void __Stop([In] uint dwTimeoutIgnored); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Continue([In] int fIsOutOfBand); + void __Continue([In] int fIsOutOfBand); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void IsRunning(out int pbRunning); + void __IsRunning(out int pbRunning); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void HasQueuedCallbacks([In, MarshalAs(UnmanagedType.Interface)] ICorDebugThread pThread, out int pbQueued); + void __HasQueuedCallbacks([In, MarshalAs(UnmanagedType.Interface)] ICorDebugThread pThread, out int pbQueued); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void EnumerateThreads([MarshalAs(UnmanagedType.Interface)] out ICorDebugThreadEnum ppThreads); + void __EnumerateThreads([MarshalAs(UnmanagedType.Interface)] out ICorDebugThreadEnum ppThreads); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetAllThreadsDebugState([In] CorDebugThreadState state, [In, MarshalAs(UnmanagedType.Interface)] ICorDebugThread pExceptThisThread); + void __SetAllThreadsDebugState([In] CorDebugThreadState state, [In, MarshalAs(UnmanagedType.Interface)] ICorDebugThread pExceptThisThread); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Detach(); + void __Detach(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Terminate([In] uint exitCode); + void __Terminate([In] uint exitCode); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CanCommitChanges([In] uint cSnapshots, [In, MarshalAs(UnmanagedType.Interface)] ref ICorDebugEditAndContinueSnapshot pSnapshots, [MarshalAs(UnmanagedType.Interface)] out ICorDebugErrorInfoEnum pError); + void __CanCommitChanges([In] uint cSnapshots, [In, MarshalAs(UnmanagedType.Interface)] ref ICorDebugEditAndContinueSnapshot pSnapshots, [MarshalAs(UnmanagedType.Interface)] out ICorDebugErrorInfoEnum pError); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CommitChanges([In] uint cSnapshots, [In, MarshalAs(UnmanagedType.Interface)] ref ICorDebugEditAndContinueSnapshot pSnapshots, [MarshalAs(UnmanagedType.Interface)] out ICorDebugErrorInfoEnum pError); + void __CommitChanges([In] uint cSnapshots, [In, MarshalAs(UnmanagedType.Interface)] ref ICorDebugEditAndContinueSnapshot pSnapshots, [MarshalAs(UnmanagedType.Interface)] out ICorDebugErrorInfoEnum pError); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetID(out uint pdwProcessId); + void __GetID(out uint pdwProcessId); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetHandle([ComAliasName("Debugger.Interop.CorDebug.long")] out uint phProcessHandle); + void __GetHandle([ComAliasName("Debugger.Interop.CorDebug.long")] out uint phProcessHandle); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetThread([In] uint dwThreadId, [MarshalAs(UnmanagedType.Interface)] out ICorDebugThread ppThread); + void __GetThread([In] uint dwThreadId, [MarshalAs(UnmanagedType.Interface)] out ICorDebugThread ppThread); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void EnumerateObjects([MarshalAs(UnmanagedType.Interface)] out ICorDebugObjectEnum ppObjects); + void __EnumerateObjects([MarshalAs(UnmanagedType.Interface)] out ICorDebugObjectEnum ppObjects); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void IsTransitionStub([In] ulong address, out int pbTransitionStub); + void __IsTransitionStub([In] ulong address, out int pbTransitionStub); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void IsOSSuspended([In] uint threadID, out int pbSuspended); + void __IsOSSuspended([In] uint threadID, out int pbSuspended); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetThreadContext([In] uint threadID, [In] uint contextSize, [In, Out] IntPtr context); + void __GetThreadContext([In] uint threadID, [In] uint contextSize, [In, Out] IntPtr context); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetThreadContext([In] uint threadID, [In] uint contextSize, [In] IntPtr context); + void __SetThreadContext([In] uint threadID, [In] uint contextSize, [In] IntPtr context); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void ReadMemory([In] ulong address, [In] uint size, [Out] IntPtr buffer, [ComAliasName("Debugger.Interop.CorDebug.ULONG_PTR")] out uint read); + void __ReadMemory([In] ulong address, [In] uint size, [Out] IntPtr buffer, [ComAliasName("Debugger.Interop.CorDebug.ULONG_PTR")] out uint read); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void WriteMemory([In] ulong address, [In] uint size, [In] IntPtr buffer, [ComAliasName("Debugger.Interop.CorDebug.ULONG_PTR")] out uint written); + void __WriteMemory([In] ulong address, [In] uint size, [In] IntPtr buffer, [ComAliasName("Debugger.Interop.CorDebug.ULONG_PTR")] out uint written); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void ClearCurrentException([In] uint threadID); + void __ClearCurrentException([In] uint threadID); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void EnableLogMessages([In] int fOnOff); + void __EnableLogMessages([In] int fOnOff); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void ModifyLogSwitch([In] IntPtr pLogSwitchName, [In] int lLevel); + void __ModifyLogSwitch([In] IntPtr pLogSwitchName, [In] int lLevel); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void EnumerateAppDomains([MarshalAs(UnmanagedType.Interface)] out ICorDebugAppDomainEnum ppAppDomains); + void __EnumerateAppDomains([MarshalAs(UnmanagedType.Interface)] out ICorDebugAppDomainEnum ppAppDomains); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetObject([MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppObject); + void __GetObject([MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppObject); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void ThreadForFiberCookie([In] uint fiberCookie, [MarshalAs(UnmanagedType.Interface)] out ICorDebugThread ppThread); + void __ThreadForFiberCookie([In] uint fiberCookie, [MarshalAs(UnmanagedType.Interface)] out ICorDebugThread ppThread); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetHelperThreadID(out uint pThreadID); + void __GetHelperThreadID(out uint pThreadID); } [ComImport, ComConversionLoss, Guid("AD1B3588-0EF0-4744-A496-AA09A9F80371"), InterfaceType((short) 1)] public interface ICorDebugProcess2 { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetThreadForTaskID([In] ulong taskid, [MarshalAs(UnmanagedType.Interface)] out ICorDebugThread2 ppThread); + void __GetThreadForTaskID([In] ulong taskid, [MarshalAs(UnmanagedType.Interface)] out ICorDebugThread2 ppThread); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetVersion(out _COR_VERSION version); + void __GetVersion(out _COR_VERSION version); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetUnmanagedBreakpoint([In] ulong address, [In] uint bufsize, [Out] IntPtr buffer, out uint bufLen); + void __SetUnmanagedBreakpoint([In] ulong address, [In] uint bufsize, [Out] IntPtr buffer, out uint bufLen); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void ClearUnmanagedBreakpoint([In] ulong address); + void __ClearUnmanagedBreakpoint([In] ulong address); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetDesiredNGENCompilerFlags([In] uint pdwFlags); + void __SetDesiredNGENCompilerFlags([In] uint pdwFlags); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetDesiredNGENCompilerFlags(out uint pdwFlags); + void __GetDesiredNGENCompilerFlags(out uint pdwFlags); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetReferenceValueFromGCHandle([In, ComAliasName("Debugger.Interop.CorDebug.UINT_PTR")] uint handle, [MarshalAs(UnmanagedType.Interface)] out ICorDebugReferenceValue pOutValue); + void __GetReferenceValueFromGCHandle([In, ComAliasName("Debugger.Interop.CorDebug.UINT_PTR")] uint handle, [MarshalAs(UnmanagedType.Interface)] out ICorDebugReferenceValue pOutValue); } [ComImport, Guid("CC7BCB05-8A68-11D2-983C-0000F808342D"), InterfaceType((short) 1), ComConversionLoss] public interface ICorDebugProcessEnum : ICorDebugEnum { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Skip([In] uint celt); + void __Skip([In] uint celt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Reset(); + void __Reset(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Clone([MarshalAs(UnmanagedType.Interface)] out ICorDebugEnum ppEnum); + void __Clone([MarshalAs(UnmanagedType.Interface)] out ICorDebugEnum ppEnum); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCount(out uint pcelt); + void __GetCount(out uint pcelt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Next([In] uint celt, [Out] IntPtr processes, out uint pceltFetched); + void __Next([In] uint celt, [Out] IntPtr processes, out uint pceltFetched); } [ComImport, InterfaceType((short) 1), Guid("CC7BCAF9-8A68-11D2-983C-0000F808342D")] public interface ICorDebugReferenceValue : ICorDebugValue { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetType(out uint pType); + void __GetType(out uint pType); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetSize(out uint pSize); + void __GetSize(out uint pSize); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetAddress(out ulong pAddress); + void __GetAddress(out ulong pAddress); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CreateBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueBreakpoint ppBreakpoint); + void __CreateBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueBreakpoint ppBreakpoint); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void IsNull(out int pbNull); + void __IsNull(out int pbNull); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetValue(out ulong pValue); + void __GetValue(out ulong pValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetValue([In] ulong value); + void __SetValue([In] ulong value); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Dereference([MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); + void __Dereference([MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void DereferenceStrong([MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); + void __DereferenceStrong([MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); } [ComImport, Guid("CC7BCB0B-8A68-11D2-983C-0000F808342D"), ComConversionLoss, InterfaceType((short) 1)] public interface ICorDebugRegisterSet { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetRegistersAvailable(out ulong pAvailable); + void __GetRegistersAvailable(out ulong pAvailable); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetRegisters([In] ulong mask, [In] uint regCount, [Out] IntPtr regBuffer); + void __GetRegisters([In] ulong mask, [In] uint regCount, [Out] IntPtr regBuffer); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetRegisters([In] ulong mask, [In] uint regCount, [In] ref ulong regBuffer); + void __SetRegisters([In] ulong mask, [In] uint regCount, [In] ref ulong regBuffer); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetThreadContext([In] uint contextSize, [In, Out] IntPtr context); + void __GetThreadContext([In] uint contextSize, [In, Out] IntPtr context); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetThreadContext([In] uint contextSize, [In] IntPtr context); + void __SetThreadContext([In] uint contextSize, [In] IntPtr context); } [ComImport, Guid("CC7BCAEC-8A68-11D2-983C-0000F808342D"), InterfaceType((short) 1)] public interface ICorDebugStepper { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void IsActive(out int pbActive); + void __IsActive(out int pbActive); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Deactivate(); + void __Deactivate(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetInterceptMask([In] CorDebugIntercept mask); + void __SetInterceptMask([In] CorDebugIntercept mask); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetUnmappedStopMask([In] CorDebugUnmappedStop mask); + void __SetUnmappedStopMask([In] CorDebugUnmappedStop mask); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Step([In] int bStepIn); + void __Step([In] int bStepIn); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void StepRange([In] int bStepIn, [In] IntPtr ranges, [In] uint cRangeCount); + void __StepRange([In] int bStepIn, [In] IntPtr ranges, [In] uint cRangeCount); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void StepOut(); + void __StepOut(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetRangeIL([In] int bIL); + void __SetRangeIL([In] int bIL); } [ComImport, Guid("C5B6E9C3-E7D1-4A8E-873B-7F047F0706F7"), InterfaceType((short) 1)] public interface ICorDebugStepper2 { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetJMC([In] int fIsJMCStepper); + void __SetJMC([In] int fIsJMCStepper); } [ComImport, Guid("CC7BCB04-8A68-11D2-983C-0000F808342D"), InterfaceType((short) 1), ComConversionLoss] public interface ICorDebugStepperEnum : ICorDebugEnum { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Skip([In] uint celt); + void __Skip([In] uint celt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Reset(); + void __Reset(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Clone([MarshalAs(UnmanagedType.Interface)] out ICorDebugEnum ppEnum); + void __Clone([MarshalAs(UnmanagedType.Interface)] out ICorDebugEnum ppEnum); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCount(out uint pcelt); + void __GetCount(out uint pcelt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Next([In] uint celt, [Out] IntPtr steppers, out uint pceltFetched); + void __Next([In] uint celt, [Out] IntPtr steppers, out uint pceltFetched); } [ComImport, Guid("CC7BCAFD-8A68-11D2-983C-0000F808342D"), InterfaceType((short) 1), ComConversionLoss] public interface ICorDebugStringValue : ICorDebugHeapValue { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetType(out uint pType); + void __GetType(out uint pType); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetSize(out uint pSize); + void __GetSize(out uint pSize); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetAddress(out ulong pAddress); + void __GetAddress(out ulong pAddress); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CreateBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueBreakpoint ppBreakpoint); + void __CreateBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueBreakpoint ppBreakpoint); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void IsValid(out int pbValid); + void __IsValid(out int pbValid); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CreateRelocBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueBreakpoint ppBreakpoint); + void __CreateRelocBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueBreakpoint ppBreakpoint); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetLength(out uint pcchString); + void __GetLength(out uint pcchString); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetString([In] uint cchString, out uint pcchString, [Out] IntPtr szString); + void __GetString([In] uint cchString, out uint pcchString, [Out] IntPtr szString); } [ComImport, InterfaceType((short) 1), Guid("938C6D66-7FB6-4F69-B389-425B8987329B")] public interface ICorDebugThread { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetProcess([MarshalAs(UnmanagedType.Interface)] out ICorDebugProcess ppProcess); + void __GetProcess([MarshalAs(UnmanagedType.Interface)] out ICorDebugProcess ppProcess); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetID(out uint pdwThreadId); + void __GetID(out uint pdwThreadId); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetHandle([ComAliasName("Debugger.Interop.CorDebug.long")] out uint phThreadHandle); + void __GetHandle([ComAliasName("Debugger.Interop.CorDebug.long")] out uint phThreadHandle); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetAppDomain([MarshalAs(UnmanagedType.Interface)] out ICorDebugAppDomain ppAppDomain); + void __GetAppDomain([MarshalAs(UnmanagedType.Interface)] out ICorDebugAppDomain ppAppDomain); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetDebugState([In] CorDebugThreadState state); + void __SetDebugState([In] CorDebugThreadState state); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetDebugState(out CorDebugThreadState pState); + void __GetDebugState(out CorDebugThreadState pState); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetUserState(out CorDebugUserState pState); + void __GetUserState(out CorDebugUserState pState); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCurrentException([MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppExceptionObject); + void __GetCurrentException([MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppExceptionObject); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void ClearCurrentException(); + void __ClearCurrentException(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CreateStepper([MarshalAs(UnmanagedType.Interface)] out ICorDebugStepper ppStepper); + void __CreateStepper([MarshalAs(UnmanagedType.Interface)] out ICorDebugStepper ppStepper); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void EnumerateChains([MarshalAs(UnmanagedType.Interface)] out ICorDebugChainEnum ppChains); + void __EnumerateChains([MarshalAs(UnmanagedType.Interface)] out ICorDebugChainEnum ppChains); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetActiveChain([MarshalAs(UnmanagedType.Interface)] out ICorDebugChain ppChain); + void __GetActiveChain([MarshalAs(UnmanagedType.Interface)] out ICorDebugChain ppChain); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetActiveFrame([MarshalAs(UnmanagedType.Interface)] out ICorDebugFrame ppFrame); + void __GetActiveFrame([MarshalAs(UnmanagedType.Interface)] out ICorDebugFrame ppFrame); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetRegisterSet([MarshalAs(UnmanagedType.Interface)] out ICorDebugRegisterSet ppRegisters); + void __GetRegisterSet([MarshalAs(UnmanagedType.Interface)] out ICorDebugRegisterSet ppRegisters); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CreateEval([MarshalAs(UnmanagedType.Interface)] out ICorDebugEval ppEval); + void __CreateEval([MarshalAs(UnmanagedType.Interface)] out ICorDebugEval ppEval); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetObject([MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppObject); + void __GetObject([MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppObject); } [ComImport, InterfaceType((short) 1), Guid("2BD956D9-7B07-4BEF-8A98-12AA862417C5"), ComConversionLoss] public interface ICorDebugThread2 { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetActiveFunctions([In] uint cFunctions, out uint pcFunctions, [In, Out] IntPtr pFunctions); + void __GetActiveFunctions([In] uint cFunctions, out uint pcFunctions, [In, Out] IntPtr pFunctions); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetConnectionID(out uint pdwConnectionId); + void __GetConnectionID(out uint pdwConnectionId); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetTaskID(out ulong pTaskId); + void __GetTaskID(out ulong pTaskId); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetVolatileOSThreadID(out uint pdwTid); + void __GetVolatileOSThreadID(out uint pdwTid); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void InterceptCurrentException([In, MarshalAs(UnmanagedType.Interface)] ICorDebugFrame pFrame); + void __InterceptCurrentException([In, MarshalAs(UnmanagedType.Interface)] ICorDebugFrame pFrame); } [ComImport, InterfaceType((short) 1), ComConversionLoss, Guid("CC7BCB06-8A68-11D2-983C-0000F808342D")] public interface ICorDebugThreadEnum : ICorDebugEnum { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Skip([In] uint celt); + void __Skip([In] uint celt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Reset(); + void __Reset(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Clone([MarshalAs(UnmanagedType.Interface)] out ICorDebugEnum ppEnum); + void __Clone([MarshalAs(UnmanagedType.Interface)] out ICorDebugEnum ppEnum); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCount(out uint pcelt); + void __GetCount(out uint pcelt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Next([In] uint celt, [Out] IntPtr threads, out uint pceltFetched); + void __Next([In] uint celt, [Out] IntPtr threads, out uint pceltFetched); } [ComImport, Guid("D613F0BB-ACE1-4C19-BD72-E4C08D5DA7F5"), InterfaceType((short) 1)] public interface ICorDebugType { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetType(out uint ty); + void __GetType(out uint ty); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetClass([MarshalAs(UnmanagedType.Interface)] out ICorDebugClass ppClass); + void __GetClass([MarshalAs(UnmanagedType.Interface)] out ICorDebugClass ppClass); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void EnumerateTypeParameters([MarshalAs(UnmanagedType.Interface)] out ICorDebugTypeEnum ppTyParEnum); + void __EnumerateTypeParameters([MarshalAs(UnmanagedType.Interface)] out ICorDebugTypeEnum ppTyParEnum); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetFirstTypeParameter([MarshalAs(UnmanagedType.Interface)] out ICorDebugType value); + void __GetFirstTypeParameter([MarshalAs(UnmanagedType.Interface)] out ICorDebugType value); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetBase([MarshalAs(UnmanagedType.Interface)] out ICorDebugType pBase); + void __GetBase([MarshalAs(UnmanagedType.Interface)] out ICorDebugType pBase); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetStaticFieldValue([In] uint fieldDef, [In, MarshalAs(UnmanagedType.Interface)] ICorDebugFrame pFrame, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); + void __GetStaticFieldValue([In] uint fieldDef, [In, MarshalAs(UnmanagedType.Interface)] ICorDebugFrame pFrame, [MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetRank(out uint pnRank); + void __GetRank(out uint pnRank); } [ComImport, InterfaceType((short) 1), Guid("10F27499-9DF2-43CE-8333-A321D7C99CB4"), ComConversionLoss] public interface ICorDebugTypeEnum : ICorDebugEnum { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Skip([In] uint celt); + void __Skip([In] uint celt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Reset(); + void __Reset(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Clone([MarshalAs(UnmanagedType.Interface)] out ICorDebugEnum ppEnum); + void __Clone([MarshalAs(UnmanagedType.Interface)] out ICorDebugEnum ppEnum); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCount(out uint pcelt); + void __GetCount(out uint pcelt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Next([In] uint celt, [Out, MarshalAs(UnmanagedType.LPArray)] ICorDebugType[] values, out uint pceltFetched); + void __Next([In] uint celt, [Out, MarshalAs(UnmanagedType.LPArray)] ICorDebugType[] values, out uint pceltFetched); } [ComImport, Guid("5263E909-8CB5-11D3-BD2F-0000F80849BD"), InterfaceType((short) 1)] public interface ICorDebugUnmanagedCallback { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void DebugEvent([In, ComAliasName("Debugger.Interop.CorDebug.ULONG_PTR")] uint pDebugEvent, [In] int fOutOfBand); + void __DebugEvent([In, ComAliasName("Debugger.Interop.CorDebug.ULONG_PTR")] uint pDebugEvent, [In] int fOutOfBand); } [ComImport, Guid("CC7BCAF7-8A68-11D2-983C-0000F808342D"), InterfaceType((short) 1)] public interface ICorDebugValue { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetType(out uint pType); + void __GetType(out uint pType); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetSize(out uint pSize); + void __GetSize(out uint pSize); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetAddress(out ulong pAddress); + void __GetAddress(out ulong pAddress); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CreateBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueBreakpoint ppBreakpoint); + void __CreateBreakpoint([MarshalAs(UnmanagedType.Interface)] out ICorDebugValueBreakpoint ppBreakpoint); } [ComImport, InterfaceType((short) 1), Guid("5E0B54E7-D88A-4626-9420-A691E0A78B49")] public interface ICorDebugValue2 { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetExactType([MarshalAs(UnmanagedType.Interface)] out ICorDebugType ppType); + void __GetExactType([MarshalAs(UnmanagedType.Interface)] out ICorDebugType ppType); } [ComImport, Guid("CC7BCAEB-8A68-11D2-983C-0000F808342D"), InterfaceType((short) 1)] public interface ICorDebugValueBreakpoint : ICorDebugBreakpoint { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Activate([In] int bActive); + void __Activate([In] int bActive); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void IsActive(out int pbActive); + void __IsActive(out int pbActive); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetValue([MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); + void __GetValue([MarshalAs(UnmanagedType.Interface)] out ICorDebugValue ppValue); } [ComImport, InterfaceType((short) 1), Guid("CC7BCB0A-8A68-11D2-983C-0000F808342D"), ComConversionLoss] public interface ICorDebugValueEnum : ICorDebugEnum { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Skip([In] uint celt); + void __Skip([In] uint celt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Reset(); + void __Reset(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Clone([MarshalAs(UnmanagedType.Interface)] out ICorDebugEnum ppEnum); + void __Clone([MarshalAs(UnmanagedType.Interface)] out ICorDebugEnum ppEnum); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCount(out uint pcelt); + void __GetCount(out uint pcelt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Next([In] uint celt, [Out] IntPtr values, out uint pceltFetched); + void __Next([In] uint celt, [Out] IntPtr values, out uint pceltFetched); } [ComImport, Guid("0C733A30-2A1C-11CE-ADE5-00AA0044773D"), InterfaceType((short) 1)] public interface ISequentialStream { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void RemoteRead(out byte pv, [In] uint cb, out uint pcbRead); + void __RemoteRead(out byte pv, [In] uint cb, out uint pcbRead); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void RemoteWrite([In] ref byte pv, [In] uint cb, out uint pcbWritten); + void __RemoteWrite([In] ref byte pv, [In] uint cb, out uint pcbWritten); } [ComImport, Guid("0000000C-0000-0000-C000-000000000046"), InterfaceType((short) 1)] public interface IStream : ISequentialStream { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void RemoteRead(out byte pv, [In] uint cb, out uint pcbRead); + void __RemoteRead(out byte pv, [In] uint cb, out uint pcbRead); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void RemoteWrite([In] ref byte pv, [In] uint cb, out uint pcbWritten); + void __RemoteWrite([In] ref byte pv, [In] uint cb, out uint pcbWritten); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void RemoteSeek([In] _LARGE_INTEGER dlibMove, [In] uint dwOrigin, out _ULARGE_INTEGER plibNewPosition); + void __RemoteSeek([In] _LARGE_INTEGER dlibMove, [In] uint dwOrigin, out _ULARGE_INTEGER plibNewPosition); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetSize([In] _ULARGE_INTEGER libNewSize); + void __SetSize([In] _ULARGE_INTEGER libNewSize); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void RemoteCopyTo([In, MarshalAs(UnmanagedType.Interface)] IStream pstm, [In] _ULARGE_INTEGER cb, out _ULARGE_INTEGER pcbRead, out _ULARGE_INTEGER pcbWritten); + void __RemoteCopyTo([In, MarshalAs(UnmanagedType.Interface)] IStream pstm, [In] _ULARGE_INTEGER cb, out _ULARGE_INTEGER pcbRead, out _ULARGE_INTEGER pcbWritten); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Commit([In] uint grfCommitFlags); + void __Commit([In] uint grfCommitFlags); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Revert(); + void __Revert(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void LockRegion([In] _ULARGE_INTEGER libOffset, [In] _ULARGE_INTEGER cb, [In] uint dwLockType); + void __LockRegion([In] _ULARGE_INTEGER libOffset, [In] _ULARGE_INTEGER cb, [In] uint dwLockType); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void UnlockRegion([In] _ULARGE_INTEGER libOffset, [In] _ULARGE_INTEGER cb, [In] uint dwLockType); + void __UnlockRegion([In] _ULARGE_INTEGER libOffset, [In] _ULARGE_INTEGER cb, [In] uint dwLockType); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Stat(out tagSTATSTG pstatstg, [In] uint grfStatFlag); + void __Stat(out tagSTATSTG pstatstg, [In] uint grfStatFlag); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Clone([MarshalAs(UnmanagedType.Interface)] out IStream ppstm); + void __Clone([MarshalAs(UnmanagedType.Interface)] out IStream ppstm); } [StructLayout(LayoutKind.Sequential, Pack=8)] diff --git a/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Interop/CorDebugExtensionMethods.generated.cs b/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Interop/CorDebugExtensionMethods.generated.cs index 5082a591b7..e68fdbab79 100644 --- a/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Interop/CorDebugExtensionMethods.generated.cs +++ b/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Interop/CorDebugExtensionMethods.generated.cs @@ -19,14 +19,14 @@ namespace Debugger.Interop.CorDebug public static void CanLaunchOrAttach(this CorDebugClass instance, uint dwProcessId, int win32DebuggingEnabled) { - instance.CanLaunchOrAttach(dwProcessId, 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, + instance.__CreateProcess(lpApplicationName, lpCommandLine, ref lpProcessAttributes, ref lpThreadAttributes, bInheritHandles, dwCreationFlags, lpEnvironment, lpCurrentDirectory, lpStartupInfo, lpProcessInformation, debuggingFlags, out ppProcess); ProcessOutParameter(lpProcessAttributes); ProcessOutParameter(lpThreadAttributes); @@ -37,7 +37,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugProcess DebugActiveProcess(this CorDebugClass instance, uint id, int win32Attach) { ICorDebugProcess ppProcess; - instance.DebugActiveProcess(id, win32Attach, out ppProcess); + instance.__DebugActiveProcess(id, win32Attach, out ppProcess); ProcessOutParameter(ppProcess); return ppProcess; } @@ -45,7 +45,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugProcessEnum EnumerateProcesses(this CorDebugClass instance) { ICorDebugProcessEnum ppProcess; - instance.EnumerateProcesses(out ppProcess); + instance.__EnumerateProcesses(out ppProcess); ProcessOutParameter(ppProcess); return ppProcess; } @@ -53,41 +53,41 @@ namespace Debugger.Interop.CorDebug public static ICorDebugProcess GetProcess(this CorDebugClass instance, uint dwProcessId) { ICorDebugProcess ppProcess; - instance.GetProcess(dwProcessId, out ppProcess); + instance.__GetProcess(dwProcessId, out ppProcess); ProcessOutParameter(ppProcess); return ppProcess; } public static void Initialize(this CorDebugClass instance) { - instance.Initialize(); + instance.__Initialize(); } public static void SetManagedHandler(this CorDebugClass instance, ICorDebugManagedCallback pCallback) { - instance.SetManagedHandler(pCallback); + instance.__SetManagedHandler(pCallback); } public static void SetUnmanagedHandler(this CorDebugClass instance, ICorDebugUnmanagedCallback pCallback) { - instance.SetUnmanagedHandler(pCallback); + instance.__SetUnmanagedHandler(pCallback); } public static void Terminate(this CorDebugClass instance) { - instance.Terminate(); + instance.__Terminate(); } public static void CanLaunchOrAttach(this EmbeddedCLRCorDebugClass instance, uint dwProcessId, int win32DebuggingEnabled) { - instance.CanLaunchOrAttach(dwProcessId, 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, + instance.__CreateProcess(lpApplicationName, lpCommandLine, ref lpProcessAttributes, ref lpThreadAttributes, bInheritHandles, dwCreationFlags, lpEnvironment, lpCurrentDirectory, lpStartupInfo, lpProcessInformation, debuggingFlags, out ppProcess); ProcessOutParameter(lpProcessAttributes); ProcessOutParameter(lpThreadAttributes); @@ -98,7 +98,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugProcess DebugActiveProcess(this EmbeddedCLRCorDebugClass instance, uint id, int win32Attach) { ICorDebugProcess ppProcess; - instance.DebugActiveProcess(id, win32Attach, out ppProcess); + instance.__DebugActiveProcess(id, win32Attach, out ppProcess); ProcessOutParameter(ppProcess); return ppProcess; } @@ -106,7 +106,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugProcessEnum EnumerateProcesses(this EmbeddedCLRCorDebugClass instance) { ICorDebugProcessEnum ppProcess; - instance.EnumerateProcesses(out ppProcess); + instance.__EnumerateProcesses(out ppProcess); ProcessOutParameter(ppProcess); return ppProcess; } @@ -114,56 +114,56 @@ namespace Debugger.Interop.CorDebug public static ICorDebugProcess GetProcess(this EmbeddedCLRCorDebugClass instance, uint dwProcessId) { ICorDebugProcess ppProcess; - instance.GetProcess(dwProcessId, out ppProcess); + instance.__GetProcess(dwProcessId, out ppProcess); ProcessOutParameter(ppProcess); return ppProcess; } public static void Initialize(this EmbeddedCLRCorDebugClass instance) { - instance.Initialize(); + instance.__Initialize(); } public static void SetManagedHandler(this EmbeddedCLRCorDebugClass instance, ICorDebugManagedCallback pCallback) { - instance.SetManagedHandler(pCallback); + instance.__SetManagedHandler(pCallback); } public static void SetUnmanagedHandler(this EmbeddedCLRCorDebugClass instance, ICorDebugUnmanagedCallback pCallback) { - instance.SetUnmanagedHandler(pCallback); + instance.__SetUnmanagedHandler(pCallback); } public static void Terminate(this EmbeddedCLRCorDebugClass instance) { - instance.Terminate(); + instance.__Terminate(); } public static void Initialize(this ICorDebug instance) { - instance.Initialize(); + instance.__Initialize(); } public static void Terminate(this ICorDebug instance) { - instance.Terminate(); + instance.__Terminate(); } public static void SetManagedHandler(this ICorDebug instance, ICorDebugManagedCallback pCallback) { - instance.SetManagedHandler(pCallback); + instance.__SetManagedHandler(pCallback); } public static void SetUnmanagedHandler(this ICorDebug instance, ICorDebugUnmanagedCallback pCallback) { - instance.SetUnmanagedHandler(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, + instance.__CreateProcess(lpApplicationName, lpCommandLine, ref lpProcessAttributes, ref lpThreadAttributes, bInheritHandles, dwCreationFlags, lpEnvironment, lpCurrentDirectory, lpStartupInfo, lpProcessInformation, debuggingFlags, out ppProcess); ProcessOutParameter(lpProcessAttributes); ProcessOutParameter(lpThreadAttributes); @@ -174,7 +174,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugProcess DebugActiveProcess(this ICorDebug instance, uint id, int win32Attach) { ICorDebugProcess ppProcess; - instance.DebugActiveProcess(id, win32Attach, out ppProcess); + instance.__DebugActiveProcess(id, win32Attach, out ppProcess); ProcessOutParameter(ppProcess); return ppProcess; } @@ -182,7 +182,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugProcessEnum EnumerateProcesses(this ICorDebug instance) { ICorDebugProcessEnum ppProcess; - instance.EnumerateProcesses(out ppProcess); + instance.__EnumerateProcesses(out ppProcess); ProcessOutParameter(ppProcess); return ppProcess; } @@ -190,67 +190,67 @@ namespace Debugger.Interop.CorDebug public static ICorDebugProcess GetProcess(this ICorDebug instance, uint dwProcessId) { ICorDebugProcess ppProcess; - instance.GetProcess(dwProcessId, out 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); + instance.__CanLaunchOrAttach(dwProcessId, win32DebuggingEnabled); } public static void Stop(this ICorDebugAppDomain instance, uint dwTimeoutIgnored) { - instance.Stop(dwTimeoutIgnored); + instance.__Stop(dwTimeoutIgnored); } public static void Continue(this ICorDebugAppDomain instance, int fIsOutOfBand) { - instance.Continue(fIsOutOfBand); + instance.__Continue(fIsOutOfBand); } public static int IsRunning(this ICorDebugAppDomain instance) { int pbRunning; - instance.IsRunning(out pbRunning); + instance.__IsRunning(out pbRunning); return pbRunning; } public static int HasQueuedCallbacks(this ICorDebugAppDomain instance, ICorDebugThread pThread) { int pbQueued; - instance.HasQueuedCallbacks(pThread, out pbQueued); + instance.__HasQueuedCallbacks(pThread, out pbQueued); return pbQueued; } public static ICorDebugThreadEnum EnumerateThreads(this ICorDebugAppDomain instance) { ICorDebugThreadEnum ppThreads; - instance.EnumerateThreads(out ppThreads); + instance.__EnumerateThreads(out ppThreads); ProcessOutParameter(ppThreads); return ppThreads; } public static void SetAllThreadsDebugState(this ICorDebugAppDomain instance, CorDebugThreadState state, ICorDebugThread pExceptThisThread) { - instance.SetAllThreadsDebugState(state, pExceptThisThread); + instance.__SetAllThreadsDebugState(state, pExceptThisThread); } public static void Detach(this ICorDebugAppDomain instance) { - instance.Detach(); + instance.__Detach(); } public static void Terminate(this ICorDebugAppDomain instance, uint exitCode) { - instance.Terminate(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); + instance.__CanCommitChanges(cSnapshots, ref pSnapshots, out pError); ProcessOutParameter(pSnapshots); ProcessOutParameter(pError); return pError; @@ -259,7 +259,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugErrorInfoEnum CommitChanges(this ICorDebugAppDomain instance, uint cSnapshots, ref ICorDebugEditAndContinueSnapshot pSnapshots) { ICorDebugErrorInfoEnum pError; - instance.CommitChanges(cSnapshots, ref pSnapshots, out pError); + instance.__CommitChanges(cSnapshots, ref pSnapshots, out pError); ProcessOutParameter(pSnapshots); ProcessOutParameter(pError); return pError; @@ -268,7 +268,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugProcess GetProcess(this ICorDebugAppDomain instance) { ICorDebugProcess ppProcess; - instance.GetProcess(out ppProcess); + instance.__GetProcess(out ppProcess); ProcessOutParameter(ppProcess); return ppProcess; } @@ -276,7 +276,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugAssemblyEnum EnumerateAssemblies(this ICorDebugAppDomain instance) { ICorDebugAssemblyEnum ppAssemblies; - instance.EnumerateAssemblies(out ppAssemblies); + instance.__EnumerateAssemblies(out ppAssemblies); ProcessOutParameter(ppAssemblies); return ppAssemblies; } @@ -284,7 +284,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugModule GetModuleFromMetaDataInterface(this ICorDebugAppDomain instance, object pIMetaData) { ICorDebugModule ppModule; - instance.GetModuleFromMetaDataInterface(pIMetaData, out ppModule); + instance.__GetModuleFromMetaDataInterface(pIMetaData, out ppModule); ProcessOutParameter(ppModule); return ppModule; } @@ -292,7 +292,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugBreakpointEnum EnumerateBreakpoints(this ICorDebugAppDomain instance) { ICorDebugBreakpointEnum ppBreakpoints; - instance.EnumerateBreakpoints(out ppBreakpoints); + instance.__EnumerateBreakpoints(out ppBreakpoints); ProcessOutParameter(ppBreakpoints); return ppBreakpoints; } @@ -300,7 +300,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugStepperEnum EnumerateSteppers(this ICorDebugAppDomain instance) { ICorDebugStepperEnum ppSteppers; - instance.EnumerateSteppers(out ppSteppers); + instance.__EnumerateSteppers(out ppSteppers); ProcessOutParameter(ppSteppers); return ppSteppers; } @@ -308,39 +308,39 @@ namespace Debugger.Interop.CorDebug public static int IsAttached(this ICorDebugAppDomain instance) { int pbAttached; - instance.IsAttached(out 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); + instance.__GetName(cchName, out pcchName, szName); } public static ICorDebugValue GetObject(this ICorDebugAppDomain instance) { ICorDebugValue ppObject; - instance.GetObject(out ppObject); + instance.__GetObject(out ppObject); ProcessOutParameter(ppObject); return ppObject; } public static void Attach(this ICorDebugAppDomain instance) { - instance.Attach(); + instance.__Attach(); } public static uint GetID(this ICorDebugAppDomain instance) { uint pId; - instance.GetID(out 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); + instance.__GetArrayOrPointerType(elementType, nRank, pTypeArg, out ppType); ProcessOutParameter(ppType); return ppType; } @@ -348,7 +348,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugType GetFunctionPointerType(this ICorDebugAppDomain2 instance, uint nTypeArgs, ref ICorDebugType ppTypeArgs) { ICorDebugType ppType; - instance.GetFunctionPointerType(nTypeArgs, ref ppTypeArgs, out ppType); + instance.__GetFunctionPointerType(nTypeArgs, ref ppTypeArgs, out ppType); ProcessOutParameter(ppTypeArgs); ProcessOutParameter(ppType); return ppType; @@ -356,18 +356,18 @@ namespace Debugger.Interop.CorDebug public static void Skip(this ICorDebugAppDomainEnum instance, uint celt) { - instance.Skip(celt); + instance.__Skip(celt); } public static void Reset(this ICorDebugAppDomainEnum instance) { - instance.Reset(); + instance.__Reset(); } public static ICorDebugEnum Clone(this ICorDebugAppDomainEnum instance) { ICorDebugEnum ppEnum; - instance.Clone(out ppEnum); + instance.__Clone(out ppEnum); ProcessOutParameter(ppEnum); return ppEnum; } @@ -375,42 +375,42 @@ namespace Debugger.Interop.CorDebug public static uint GetCount(this ICorDebugAppDomainEnum instance) { uint pcelt; - instance.GetCount(out 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); + instance.__Next(celt, values, out pceltFetched); return pceltFetched; } public static uint GetType(this ICorDebugArrayValue instance) { uint pType; - instance.GetType(out pType); + instance.__GetType(out pType); return pType; } public static uint GetSize(this ICorDebugArrayValue instance) { uint pSize; - instance.GetSize(out pSize); + instance.__GetSize(out pSize); return pSize; } public static ulong GetAddress(this ICorDebugArrayValue instance) { ulong pAddress; - instance.GetAddress(out pAddress); + instance.__GetAddress(out pAddress); return pAddress; } public static ICorDebugValueBreakpoint CreateBreakpoint(this ICorDebugArrayValue instance) { ICorDebugValueBreakpoint ppBreakpoint; - instance.CreateBreakpoint(out ppBreakpoint); + instance.__CreateBreakpoint(out ppBreakpoint); ProcessOutParameter(ppBreakpoint); return ppBreakpoint; } @@ -418,14 +418,14 @@ namespace Debugger.Interop.CorDebug public static int IsValid(this ICorDebugArrayValue instance) { int pbValid; - instance.IsValid(out pbValid); + instance.__IsValid(out pbValid); return pbValid; } public static ICorDebugValueBreakpoint CreateRelocBreakpoint(this ICorDebugArrayValue instance) { ICorDebugValueBreakpoint ppBreakpoint; - instance.CreateRelocBreakpoint(out ppBreakpoint); + instance.__CreateRelocBreakpoint(out ppBreakpoint); ProcessOutParameter(ppBreakpoint); return ppBreakpoint; } @@ -433,45 +433,45 @@ namespace Debugger.Interop.CorDebug public static uint GetElementType(this ICorDebugArrayValue instance) { uint pType; - instance.GetElementType(out pType); + instance.__GetElementType(out pType); return pType; } public static uint GetRank(this ICorDebugArrayValue instance) { uint pnRank; - instance.GetRank(out pnRank); + instance.__GetRank(out pnRank); return pnRank; } public static uint GetCount(this ICorDebugArrayValue instance) { uint pnCount; - instance.GetCount(out pnCount); + instance.__GetCount(out pnCount); return pnCount; } public static void GetDimensions(this ICorDebugArrayValue instance, uint cdim, IntPtr dims) { - instance.GetDimensions(cdim, dims); + instance.__GetDimensions(cdim, dims); } public static int HasBaseIndicies(this ICorDebugArrayValue instance) { int pbHasBaseIndicies; - instance.HasBaseIndicies(out pbHasBaseIndicies); + instance.__HasBaseIndicies(out pbHasBaseIndicies); return pbHasBaseIndicies; } public static void GetBaseIndicies(this ICorDebugArrayValue instance, uint cdim, IntPtr indicies) { - instance.GetBaseIndicies(cdim, indicies); + instance.__GetBaseIndicies(cdim, indicies); } public static ICorDebugValue GetElement(this ICorDebugArrayValue instance, uint cdim, IntPtr indices) { ICorDebugValue ppValue; - instance.GetElement(cdim, indices, out ppValue); + instance.__GetElement(cdim, indices, out ppValue); ProcessOutParameter(ppValue); return ppValue; } @@ -479,7 +479,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugValue GetElementAtPosition(this ICorDebugArrayValue instance, uint nPosition) { ICorDebugValue ppValue; - instance.GetElementAtPosition(nPosition, out ppValue); + instance.__GetElementAtPosition(nPosition, out ppValue); ProcessOutParameter(ppValue); return ppValue; } @@ -487,7 +487,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugProcess GetProcess(this ICorDebugAssembly instance) { ICorDebugProcess ppProcess; - instance.GetProcess(out ppProcess); + instance.__GetProcess(out ppProcess); ProcessOutParameter(ppProcess); return ppProcess; } @@ -495,7 +495,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugAppDomain GetAppDomain(this ICorDebugAssembly instance) { ICorDebugAppDomain ppAppDomain; - instance.GetAppDomain(out ppAppDomain); + instance.__GetAppDomain(out ppAppDomain); ProcessOutParameter(ppAppDomain); return ppAppDomain; } @@ -503,42 +503,42 @@ namespace Debugger.Interop.CorDebug public static ICorDebugModuleEnum EnumerateModules(this ICorDebugAssembly instance) { ICorDebugModuleEnum ppModules; - instance.EnumerateModules(out 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); + 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); + instance.__GetName(cchName, out pcchName, szName); } public static int IsFullyTrusted(this ICorDebugAssembly2 instance) { int pbFullyTrusted; - instance.IsFullyTrusted(out pbFullyTrusted); + instance.__IsFullyTrusted(out pbFullyTrusted); return pbFullyTrusted; } public static void Skip(this ICorDebugAssemblyEnum instance, uint celt) { - instance.Skip(celt); + instance.__Skip(celt); } public static void Reset(this ICorDebugAssemblyEnum instance) { - instance.Reset(); + instance.__Reset(); } public static ICorDebugEnum Clone(this ICorDebugAssemblyEnum instance) { ICorDebugEnum ppEnum; - instance.Clone(out ppEnum); + instance.__Clone(out ppEnum); ProcessOutParameter(ppEnum); return ppEnum; } @@ -546,42 +546,42 @@ namespace Debugger.Interop.CorDebug public static uint GetCount(this ICorDebugAssemblyEnum instance) { uint pcelt; - instance.GetCount(out 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); + instance.__Next(celt, values, out pceltFetched); return pceltFetched; } public static uint GetType(this ICorDebugBoxValue instance) { uint pType; - instance.GetType(out pType); + instance.__GetType(out pType); return pType; } public static uint GetSize(this ICorDebugBoxValue instance) { uint pSize; - instance.GetSize(out pSize); + instance.__GetSize(out pSize); return pSize; } public static ulong GetAddress(this ICorDebugBoxValue instance) { ulong pAddress; - instance.GetAddress(out pAddress); + instance.__GetAddress(out pAddress); return pAddress; } public static ICorDebugValueBreakpoint CreateBreakpoint(this ICorDebugBoxValue instance) { ICorDebugValueBreakpoint ppBreakpoint; - instance.CreateBreakpoint(out ppBreakpoint); + instance.__CreateBreakpoint(out ppBreakpoint); ProcessOutParameter(ppBreakpoint); return ppBreakpoint; } @@ -589,14 +589,14 @@ namespace Debugger.Interop.CorDebug public static int IsValid(this ICorDebugBoxValue instance) { int pbValid; - instance.IsValid(out pbValid); + instance.__IsValid(out pbValid); return pbValid; } public static ICorDebugValueBreakpoint CreateRelocBreakpoint(this ICorDebugBoxValue instance) { ICorDebugValueBreakpoint ppBreakpoint; - instance.CreateRelocBreakpoint(out ppBreakpoint); + instance.__CreateRelocBreakpoint(out ppBreakpoint); ProcessOutParameter(ppBreakpoint); return ppBreakpoint; } @@ -604,37 +604,37 @@ namespace Debugger.Interop.CorDebug public static ICorDebugObjectValue GetObject(this ICorDebugBoxValue instance) { ICorDebugObjectValue ppObject; - instance.GetObject(out ppObject); + instance.__GetObject(out ppObject); ProcessOutParameter(ppObject); return ppObject; } public static void Activate(this ICorDebugBreakpoint instance, int bActive) { - instance.Activate(bActive); + instance.__Activate(bActive); } public static int IsActive(this ICorDebugBreakpoint instance) { int pbActive; - instance.IsActive(out pbActive); + instance.__IsActive(out pbActive); return pbActive; } public static void Skip(this ICorDebugBreakpointEnum instance, uint celt) { - instance.Skip(celt); + instance.__Skip(celt); } public static void Reset(this ICorDebugBreakpointEnum instance) { - instance.Reset(); + instance.__Reset(); } public static ICorDebugEnum Clone(this ICorDebugBreakpointEnum instance) { ICorDebugEnum ppEnum; - instance.Clone(out ppEnum); + instance.__Clone(out ppEnum); ProcessOutParameter(ppEnum); return ppEnum; } @@ -642,34 +642,34 @@ namespace Debugger.Interop.CorDebug public static uint GetCount(this ICorDebugBreakpointEnum instance) { uint pcelt; - instance.GetCount(out 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); + instance.__Next(celt, breakpoints, out pceltFetched); return pceltFetched; } public static ICorDebugThread GetThread(this ICorDebugChain instance) { ICorDebugThread ppThread; - instance.GetThread(out 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); + instance.__GetStackRange(out pStart, out pEnd); } public static ICorDebugContext GetContext(this ICorDebugChain instance) { ICorDebugContext ppContext; - instance.GetContext(out ppContext); + instance.__GetContext(out ppContext); ProcessOutParameter(ppContext); return ppContext; } @@ -677,7 +677,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugChain GetCaller(this ICorDebugChain instance) { ICorDebugChain ppChain; - instance.GetCaller(out ppChain); + instance.__GetCaller(out ppChain); ProcessOutParameter(ppChain); return ppChain; } @@ -685,7 +685,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugChain GetCallee(this ICorDebugChain instance) { ICorDebugChain ppChain; - instance.GetCallee(out ppChain); + instance.__GetCallee(out ppChain); ProcessOutParameter(ppChain); return ppChain; } @@ -693,7 +693,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugChain GetPrevious(this ICorDebugChain instance) { ICorDebugChain ppChain; - instance.GetPrevious(out ppChain); + instance.__GetPrevious(out ppChain); ProcessOutParameter(ppChain); return ppChain; } @@ -701,7 +701,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugChain GetNext(this ICorDebugChain instance) { ICorDebugChain ppChain; - instance.GetNext(out ppChain); + instance.__GetNext(out ppChain); ProcessOutParameter(ppChain); return ppChain; } @@ -709,14 +709,14 @@ namespace Debugger.Interop.CorDebug public static int IsManaged(this ICorDebugChain instance) { int pManaged; - instance.IsManaged(out pManaged); + instance.__IsManaged(out pManaged); return pManaged; } public static ICorDebugFrameEnum EnumerateFrames(this ICorDebugChain instance) { ICorDebugFrameEnum ppFrames; - instance.EnumerateFrames(out ppFrames); + instance.__EnumerateFrames(out ppFrames); ProcessOutParameter(ppFrames); return ppFrames; } @@ -724,7 +724,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugFrame GetActiveFrame(this ICorDebugChain instance) { ICorDebugFrame ppFrame; - instance.GetActiveFrame(out ppFrame); + instance.__GetActiveFrame(out ppFrame); ProcessOutParameter(ppFrame); return ppFrame; } @@ -732,7 +732,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugRegisterSet GetRegisterSet(this ICorDebugChain instance) { ICorDebugRegisterSet ppRegisters; - instance.GetRegisterSet(out ppRegisters); + instance.__GetRegisterSet(out ppRegisters); ProcessOutParameter(ppRegisters); return ppRegisters; } @@ -740,25 +740,25 @@ namespace Debugger.Interop.CorDebug public static CorDebugChainReason GetReason(this ICorDebugChain instance) { CorDebugChainReason pReason; - instance.GetReason(out pReason); + instance.__GetReason(out pReason); ProcessOutParameter(pReason); return pReason; } public static void Skip(this ICorDebugChainEnum instance, uint celt) { - instance.Skip(celt); + instance.__Skip(celt); } public static void Reset(this ICorDebugChainEnum instance) { - instance.Reset(); + instance.__Reset(); } public static ICorDebugEnum Clone(this ICorDebugChainEnum instance) { ICorDebugEnum ppEnum; - instance.Clone(out ppEnum); + instance.__Clone(out ppEnum); ProcessOutParameter(ppEnum); return ppEnum; } @@ -766,14 +766,14 @@ namespace Debugger.Interop.CorDebug public static uint GetCount(this ICorDebugChainEnum instance) { uint pcelt; - instance.GetCount(out 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); + instance.__Next(celt, chains, out pceltFetched); ProcessOutParameter(chains); return pceltFetched; } @@ -781,7 +781,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugModule GetModule(this ICorDebugClass instance) { ICorDebugModule pModule; - instance.GetModule(out pModule); + instance.__GetModule(out pModule); ProcessOutParameter(pModule); return pModule; } @@ -789,14 +789,14 @@ namespace Debugger.Interop.CorDebug public static uint GetToken(this ICorDebugClass instance) { uint pTypeDef; - instance.GetToken(out 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); + instance.__GetStaticFieldValue(fieldDef, pFrame, out ppValue); ProcessOutParameter(ppValue); return ppValue; } @@ -804,7 +804,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugType GetParameterizedType(this ICorDebugClass2 instance, uint elementType, uint nTypeArgs, ICorDebugType[] ppTypeArgs) { ICorDebugType ppType; - instance.GetParameterizedType(elementType, nTypeArgs, ppTypeArgs, out ppType); + instance.__GetParameterizedType(elementType, nTypeArgs, ppTypeArgs, out ppType); ProcessOutParameter(ppTypeArgs); ProcessOutParameter(ppType); return ppType; @@ -812,20 +812,20 @@ namespace Debugger.Interop.CorDebug public static void SetJMCStatus(this ICorDebugClass2 instance, int bIsJustMyCode) { - instance.SetJMCStatus(bIsJustMyCode); + instance.__SetJMCStatus(bIsJustMyCode); } public static int IsIL(this ICorDebugCode instance) { int pbIL; - instance.IsIL(out pbIL); + instance.__IsIL(out pbIL); return pbIL; } public static ICorDebugFunction GetFunction(this ICorDebugCode instance) { ICorDebugFunction ppFunction; - instance.GetFunction(out ppFunction); + instance.__GetFunction(out ppFunction); ProcessOutParameter(ppFunction); return ppFunction; } @@ -833,21 +833,21 @@ namespace Debugger.Interop.CorDebug public static ulong GetAddress(this ICorDebugCode instance) { ulong pStart; - instance.GetAddress(out pStart); + instance.__GetAddress(out pStart); return pStart; } public static uint GetSize(this ICorDebugCode instance) { uint pcBytes; - instance.GetSize(out pcBytes); + instance.__GetSize(out pcBytes); return pcBytes; } public static ICorDebugFunctionBreakpoint CreateBreakpoint(this ICorDebugCode instance, uint offset) { ICorDebugFunctionBreakpoint ppBreakpoint; - instance.CreateBreakpoint(offset, out ppBreakpoint); + instance.__CreateBreakpoint(offset, out ppBreakpoint); ProcessOutParameter(ppBreakpoint); return ppBreakpoint; } @@ -855,41 +855,41 @@ namespace Debugger.Interop.CorDebug 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); + instance.__GetCode(startOffset, endOffset, cBufferAlloc, buffer, out pcBufferSize); return pcBufferSize; } public static uint GetVersionNumber(this ICorDebugCode instance) { uint nVersion; - instance.GetVersionNumber(out 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); + 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); + instance.__GetEnCRemapSequencePoints(cMap, out pcMap, offsets); } public static void Skip(this ICorDebugCodeEnum instance, uint celt) { - instance.Skip(celt); + instance.__Skip(celt); } public static void Reset(this ICorDebugCodeEnum instance) { - instance.Reset(); + instance.__Reset(); } public static ICorDebugEnum Clone(this ICorDebugCodeEnum instance) { ICorDebugEnum ppEnum; - instance.Clone(out ppEnum); + instance.__Clone(out ppEnum); ProcessOutParameter(ppEnum); return ppEnum; } @@ -897,42 +897,42 @@ namespace Debugger.Interop.CorDebug public static uint GetCount(this ICorDebugCodeEnum instance) { uint pcelt; - instance.GetCount(out 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); + instance.__Next(celt, values, out pceltFetched); return pceltFetched; } public static uint GetType(this ICorDebugContext instance) { uint pType; - instance.GetType(out pType); + instance.__GetType(out pType); return pType; } public static uint GetSize(this ICorDebugContext instance) { uint pSize; - instance.GetSize(out pSize); + instance.__GetSize(out pSize); return pSize; } public static ulong GetAddress(this ICorDebugContext instance) { ulong pAddress; - instance.GetAddress(out pAddress); + instance.__GetAddress(out pAddress); return pAddress; } public static ICorDebugValueBreakpoint CreateBreakpoint(this ICorDebugContext instance) { ICorDebugValueBreakpoint ppBreakpoint; - instance.CreateBreakpoint(out ppBreakpoint); + instance.__CreateBreakpoint(out ppBreakpoint); ProcessOutParameter(ppBreakpoint); return ppBreakpoint; } @@ -940,7 +940,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugClass GetClass(this ICorDebugContext instance) { ICorDebugClass ppClass; - instance.GetClass(out ppClass); + instance.__GetClass(out ppClass); ProcessOutParameter(ppClass); return ppClass; } @@ -948,7 +948,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugValue GetFieldValue(this ICorDebugContext instance, ICorDebugClass pClass, uint fieldDef) { ICorDebugValue ppValue; - instance.GetFieldValue(pClass, fieldDef, out ppValue); + instance.__GetFieldValue(pClass, fieldDef, out ppValue); ProcessOutParameter(ppValue); return ppValue; } @@ -956,7 +956,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugFunction GetVirtualMethod(this ICorDebugContext instance, uint memberRef) { ICorDebugFunction ppFunction; - instance.GetVirtualMethod(memberRef, out ppFunction); + instance.__GetVirtualMethod(memberRef, out ppFunction); ProcessOutParameter(ppFunction); return ppFunction; } @@ -964,7 +964,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugContext GetContext(this ICorDebugContext instance) { ICorDebugContext ppContext; - instance.GetContext(out ppContext); + instance.__GetContext(out ppContext); ProcessOutParameter(ppContext); return ppContext; } @@ -972,74 +972,74 @@ namespace Debugger.Interop.CorDebug public static int IsValueClass(this ICorDebugContext instance) { int pbIsValueClass; - instance.IsValueClass(out pbIsValueClass); + instance.__IsValueClass(out pbIsValueClass); return pbIsValueClass; } public static object GetManagedCopy(this ICorDebugContext instance) { object ppObject; - instance.GetManagedCopy(out ppObject); + instance.__GetManagedCopy(out ppObject); ProcessOutParameter(ppObject); return ppObject; } public static void SetFromManagedCopy(this ICorDebugContext instance, object pObject) { - instance.SetFromManagedCopy(pObject); + instance.__SetFromManagedCopy(pObject); } public static void Stop(this ICorDebugController instance, uint dwTimeoutIgnored) { - instance.Stop(dwTimeoutIgnored); + instance.__Stop(dwTimeoutIgnored); } public static void Continue(this ICorDebugController instance, int fIsOutOfBand) { - instance.Continue(fIsOutOfBand); + instance.__Continue(fIsOutOfBand); } public static int IsRunning(this ICorDebugController instance) { int pbRunning; - instance.IsRunning(out pbRunning); + instance.__IsRunning(out pbRunning); return pbRunning; } public static int HasQueuedCallbacks(this ICorDebugController instance, ICorDebugThread pThread) { int pbQueued; - instance.HasQueuedCallbacks(pThread, out pbQueued); + instance.__HasQueuedCallbacks(pThread, out pbQueued); return pbQueued; } public static ICorDebugThreadEnum EnumerateThreads(this ICorDebugController instance) { ICorDebugThreadEnum ppThreads; - instance.EnumerateThreads(out ppThreads); + instance.__EnumerateThreads(out ppThreads); ProcessOutParameter(ppThreads); return ppThreads; } public static void SetAllThreadsDebugState(this ICorDebugController instance, CorDebugThreadState state, ICorDebugThread pExceptThisThread) { - instance.SetAllThreadsDebugState(state, pExceptThisThread); + instance.__SetAllThreadsDebugState(state, pExceptThisThread); } public static void Detach(this ICorDebugController instance) { - instance.Detach(); + instance.__Detach(); } public static void Terminate(this ICorDebugController instance, uint exitCode) { - instance.Terminate(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); + instance.__CanCommitChanges(cSnapshots, ref pSnapshots, out pError); ProcessOutParameter(pSnapshots); ProcessOutParameter(pError); return pError; @@ -1048,7 +1048,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugErrorInfoEnum CommitChanges(this ICorDebugController instance, uint cSnapshots, ref ICorDebugEditAndContinueSnapshot pSnapshots) { ICorDebugErrorInfoEnum pError; - instance.CommitChanges(cSnapshots, ref pSnapshots, out pError); + instance.__CommitChanges(cSnapshots, ref pSnapshots, out pError); ProcessOutParameter(pSnapshots); ProcessOutParameter(pError); return pError; @@ -1057,61 +1057,61 @@ namespace Debugger.Interop.CorDebug public static Guid CopyMetaData(this ICorDebugEditAndContinueSnapshot instance, IStream pIStream) { Guid pMvid; - instance.CopyMetaData(pIStream, out pMvid); + instance.__CopyMetaData(pIStream, out pMvid); return pMvid; } public static Guid GetMvid(this ICorDebugEditAndContinueSnapshot instance) { Guid pMvid; - instance.GetMvid(out pMvid); + instance.__GetMvid(out pMvid); return pMvid; } public static uint GetRoDataRVA(this ICorDebugEditAndContinueSnapshot instance) { uint pRoDataRVA; - instance.GetRoDataRVA(out pRoDataRVA); + instance.__GetRoDataRVA(out pRoDataRVA); return pRoDataRVA; } public static uint GetRwDataRVA(this ICorDebugEditAndContinueSnapshot instance) { uint pRwDataRVA; - instance.GetRwDataRVA(out pRwDataRVA); + instance.__GetRwDataRVA(out pRwDataRVA); return pRwDataRVA; } public static void SetPEBytes(this ICorDebugEditAndContinueSnapshot instance, IStream pIStream) { - instance.SetPEBytes(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); + instance.__SetILMap(mdFunction, cMapSize, ref map); ProcessOutParameter(map); } public static void SetPESymbolBytes(this ICorDebugEditAndContinueSnapshot instance, IStream pIStream) { - instance.SetPESymbolBytes(pIStream); + instance.__SetPESymbolBytes(pIStream); } public static void Skip(this ICorDebugEnum instance, uint celt) { - instance.Skip(celt); + instance.__Skip(celt); } public static void Reset(this ICorDebugEnum instance) { - instance.Reset(); + instance.__Reset(); } public static ICorDebugEnum Clone(this ICorDebugEnum instance) { ICorDebugEnum ppEnum; - instance.Clone(out ppEnum); + instance.__Clone(out ppEnum); ProcessOutParameter(ppEnum); return ppEnum; } @@ -1119,24 +1119,24 @@ namespace Debugger.Interop.CorDebug public static uint GetCount(this ICorDebugEnum instance) { uint pcelt; - instance.GetCount(out pcelt); + instance.__GetCount(out pcelt); return pcelt; } public static void Skip(this ICorDebugErrorInfoEnum instance, uint celt) { - instance.Skip(celt); + instance.__Skip(celt); } public static void Reset(this ICorDebugErrorInfoEnum instance) { - instance.Reset(); + instance.__Reset(); } public static ICorDebugEnum Clone(this ICorDebugErrorInfoEnum instance) { ICorDebugEnum ppEnum; - instance.Clone(out ppEnum); + instance.__Clone(out ppEnum); ProcessOutParameter(ppEnum); return ppEnum; } @@ -1144,60 +1144,60 @@ namespace Debugger.Interop.CorDebug public static uint GetCount(this ICorDebugErrorInfoEnum instance) { uint pcelt; - instance.GetCount(out 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); + 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); + 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); + instance.__NewObject(pConstructor, nArgs, ref ppArgs); ProcessOutParameter(ppArgs); } public static void NewObjectNoConstructor(this ICorDebugEval instance, ICorDebugClass pClass) { - instance.NewObjectNoConstructor(pClass); + instance.__NewObjectNoConstructor(pClass); } public static void NewString(this ICorDebugEval instance, string @string) { - instance.NewString(@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); + instance.__NewArray(elementType, pElementClass, rank, ref dims, ref lowBounds); } public static int IsActive(this ICorDebugEval instance) { int pbActive; - instance.IsActive(out pbActive); + instance.__IsActive(out pbActive); return pbActive; } public static void Abort(this ICorDebugEval instance) { - instance.Abort(); + instance.__Abort(); } public static ICorDebugValue GetResult(this ICorDebugEval instance) { ICorDebugValue ppResult; - instance.GetResult(out ppResult); + instance.__GetResult(out ppResult); ProcessOutParameter(ppResult); return ppResult; } @@ -1205,7 +1205,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugThread GetThread(this ICorDebugEval instance) { ICorDebugThread ppThread; - instance.GetThread(out ppThread); + instance.__GetThread(out ppThread); ProcessOutParameter(ppThread); return ppThread; } @@ -1213,14 +1213,14 @@ namespace Debugger.Interop.CorDebug public static ICorDebugValue CreateValue(this ICorDebugEval instance, uint elementType, ICorDebugClass pElementClass) { ICorDebugValue ppValue; - instance.CreateValue(elementType, pElementClass, out 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); + instance.__CallParameterizedFunction(pFunction, nTypeArgs, ppTypeArgs, nArgs, ppArgs); ProcessOutParameter(ppTypeArgs); ProcessOutParameter(ppArgs); } @@ -1228,43 +1228,43 @@ namespace Debugger.Interop.CorDebug public static ICorDebugValue CreateValueForType(this ICorDebugEval2 instance, ICorDebugType pType) { ICorDebugValue ppValue; - instance.CreateValueForType(pType, out 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); + 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); + instance.__NewParameterizedObjectNoConstructor(pClass, nTypeArgs, ppTypeArgs); ProcessOutParameter(ppTypeArgs); } public static void NewParameterizedArray(this ICorDebugEval2 instance, ICorDebugType pElementType, uint rank, ref uint dims, ref uint lowBounds) { - instance.NewParameterizedArray(pElementType, rank, ref dims, ref lowBounds); + instance.__NewParameterizedArray(pElementType, rank, ref dims, ref lowBounds); } public static void NewStringWithLength(this ICorDebugEval2 instance, string @string, uint uiLength) { - instance.NewStringWithLength(@string, uiLength); + instance.__NewStringWithLength(@string, uiLength); } public static void RudeAbort(this ICorDebugEval2 instance) { - instance.RudeAbort(); + instance.__RudeAbort(); } public static ICorDebugChain GetChain(this ICorDebugFrame instance) { ICorDebugChain ppChain; - instance.GetChain(out ppChain); + instance.__GetChain(out ppChain); ProcessOutParameter(ppChain); return ppChain; } @@ -1272,7 +1272,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugCode GetCode(this ICorDebugFrame instance) { ICorDebugCode ppCode; - instance.GetCode(out ppCode); + instance.__GetCode(out ppCode); ProcessOutParameter(ppCode); return ppCode; } @@ -1280,7 +1280,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugFunction GetFunction(this ICorDebugFrame instance) { ICorDebugFunction ppFunction; - instance.GetFunction(out ppFunction); + instance.__GetFunction(out ppFunction); ProcessOutParameter(ppFunction); return ppFunction; } @@ -1288,19 +1288,19 @@ namespace Debugger.Interop.CorDebug public static uint GetFunctionToken(this ICorDebugFrame instance) { uint pToken; - instance.GetFunctionToken(out 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); + instance.__GetStackRange(out pStart, out pEnd); } public static ICorDebugFrame GetCaller(this ICorDebugFrame instance) { ICorDebugFrame ppFrame; - instance.GetCaller(out ppFrame); + instance.__GetCaller(out ppFrame); ProcessOutParameter(ppFrame); return ppFrame; } @@ -1308,7 +1308,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugFrame GetCallee(this ICorDebugFrame instance) { ICorDebugFrame ppFrame; - instance.GetCallee(out ppFrame); + instance.__GetCallee(out ppFrame); ProcessOutParameter(ppFrame); return ppFrame; } @@ -1316,25 +1316,25 @@ namespace Debugger.Interop.CorDebug public static ICorDebugStepper CreateStepper(this ICorDebugFrame instance) { ICorDebugStepper ppStepper; - instance.CreateStepper(out ppStepper); + instance.__CreateStepper(out ppStepper); ProcessOutParameter(ppStepper); return ppStepper; } public static void Skip(this ICorDebugFrameEnum instance, uint celt) { - instance.Skip(celt); + instance.__Skip(celt); } public static void Reset(this ICorDebugFrameEnum instance) { - instance.Reset(); + instance.__Reset(); } public static ICorDebugEnum Clone(this ICorDebugFrameEnum instance) { ICorDebugEnum ppEnum; - instance.Clone(out ppEnum); + instance.__Clone(out ppEnum); ProcessOutParameter(ppEnum); return ppEnum; } @@ -1342,14 +1342,14 @@ namespace Debugger.Interop.CorDebug public static uint GetCount(this ICorDebugFrameEnum instance) { uint pcelt; - instance.GetCount(out 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); + instance.__Next(celt, frames, out pceltFetched); ProcessOutParameter(frames); return pceltFetched; } @@ -1357,7 +1357,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugModule GetModule(this ICorDebugFunction instance) { ICorDebugModule ppModule; - instance.GetModule(out ppModule); + instance.__GetModule(out ppModule); ProcessOutParameter(ppModule); return ppModule; } @@ -1365,7 +1365,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugClass GetClass(this ICorDebugFunction instance) { ICorDebugClass ppClass; - instance.GetClass(out ppClass); + instance.__GetClass(out ppClass); ProcessOutParameter(ppClass); return ppClass; } @@ -1373,14 +1373,14 @@ namespace Debugger.Interop.CorDebug public static uint GetToken(this ICorDebugFunction instance) { uint pMethodDef; - instance.GetToken(out pMethodDef); + instance.__GetToken(out pMethodDef); return pMethodDef; } public static ICorDebugCode GetILCode(this ICorDebugFunction instance) { ICorDebugCode ppCode; - instance.GetILCode(out ppCode); + instance.__GetILCode(out ppCode); ProcessOutParameter(ppCode); return ppCode; } @@ -1388,7 +1388,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugCode GetNativeCode(this ICorDebugFunction instance) { ICorDebugCode ppCode; - instance.GetNativeCode(out ppCode); + instance.__GetNativeCode(out ppCode); ProcessOutParameter(ppCode); return ppCode; } @@ -1396,7 +1396,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugFunctionBreakpoint CreateBreakpoint(this ICorDebugFunction instance) { ICorDebugFunctionBreakpoint ppBreakpoint; - instance.CreateBreakpoint(out ppBreakpoint); + instance.__CreateBreakpoint(out ppBreakpoint); ProcessOutParameter(ppBreakpoint); return ppBreakpoint; } @@ -1404,33 +1404,33 @@ namespace Debugger.Interop.CorDebug public static uint GetLocalVarSigToken(this ICorDebugFunction instance) { uint pmdSig; - instance.GetLocalVarSigToken(out pmdSig); + instance.__GetLocalVarSigToken(out pmdSig); return pmdSig; } public static uint GetCurrentVersionNumber(this ICorDebugFunction instance) { uint pnCurrentVersion; - instance.GetCurrentVersionNumber(out pnCurrentVersion); + instance.__GetCurrentVersionNumber(out pnCurrentVersion); return pnCurrentVersion; } public static void SetJMCStatus(this ICorDebugFunction2 instance, int bIsJustMyCode) { - instance.SetJMCStatus(bIsJustMyCode); + instance.__SetJMCStatus(bIsJustMyCode); } public static int GetJMCStatus(this ICorDebugFunction2 instance) { int pbIsJustMyCode; - instance.GetJMCStatus(out pbIsJustMyCode); + instance.__GetJMCStatus(out pbIsJustMyCode); return pbIsJustMyCode; } public static ICorDebugCodeEnum EnumerateNativeCode(this ICorDebugFunction2 instance) { ICorDebugCodeEnum ppCodeEnum; - instance.EnumerateNativeCode(out ppCodeEnum); + instance.__EnumerateNativeCode(out ppCodeEnum); ProcessOutParameter(ppCodeEnum); return ppCodeEnum; } @@ -1438,26 +1438,26 @@ namespace Debugger.Interop.CorDebug public static uint GetVersionNumber(this ICorDebugFunction2 instance) { uint pnVersion; - instance.GetVersionNumber(out pnVersion); + instance.__GetVersionNumber(out pnVersion); return pnVersion; } public static void Activate(this ICorDebugFunctionBreakpoint instance, int bActive) { - instance.Activate(bActive); + instance.__Activate(bActive); } public static int IsActive(this ICorDebugFunctionBreakpoint instance) { int pbActive; - instance.IsActive(out pbActive); + instance.__IsActive(out pbActive); return pbActive; } public static ICorDebugFunction GetFunction(this ICorDebugFunctionBreakpoint instance) { ICorDebugFunction ppFunction; - instance.GetFunction(out ppFunction); + instance.__GetFunction(out ppFunction); ProcessOutParameter(ppFunction); return ppFunction; } @@ -1465,74 +1465,74 @@ namespace Debugger.Interop.CorDebug public static uint GetOffset(this ICorDebugFunctionBreakpoint instance) { uint pnOffset; - instance.GetOffset(out pnOffset); + instance.__GetOffset(out pnOffset); return pnOffset; } public static uint GetType(this ICorDebugGenericValue instance) { uint pType; - instance.GetType(out pType); + instance.__GetType(out pType); return pType; } public static uint GetSize(this ICorDebugGenericValue instance) { uint pSize; - instance.GetSize(out pSize); + instance.__GetSize(out pSize); return pSize; } public static ulong GetAddress(this ICorDebugGenericValue instance) { ulong pAddress; - instance.GetAddress(out pAddress); + instance.__GetAddress(out pAddress); return pAddress; } public static ICorDebugValueBreakpoint CreateBreakpoint(this ICorDebugGenericValue instance) { ICorDebugValueBreakpoint ppBreakpoint; - instance.CreateBreakpoint(out ppBreakpoint); + instance.__CreateBreakpoint(out ppBreakpoint); ProcessOutParameter(ppBreakpoint); return ppBreakpoint; } public static void GetValue(this ICorDebugGenericValue instance, IntPtr pTo) { - instance.GetValue(pTo); + instance.__GetValue(pTo); } public static void SetValue(this ICorDebugGenericValue instance, IntPtr pFrom) { - instance.SetValue(pFrom); + instance.__SetValue(pFrom); } public static uint GetType(this ICorDebugHandleValue instance) { uint pType; - instance.GetType(out pType); + instance.__GetType(out pType); return pType; } public static uint GetSize(this ICorDebugHandleValue instance) { uint pSize; - instance.GetSize(out pSize); + instance.__GetSize(out pSize); return pSize; } public static ulong GetAddress(this ICorDebugHandleValue instance) { ulong pAddress; - instance.GetAddress(out pAddress); + instance.__GetAddress(out pAddress); return pAddress; } public static ICorDebugValueBreakpoint CreateBreakpoint(this ICorDebugHandleValue instance) { ICorDebugValueBreakpoint ppBreakpoint; - instance.CreateBreakpoint(out ppBreakpoint); + instance.__CreateBreakpoint(out ppBreakpoint); ProcessOutParameter(ppBreakpoint); return ppBreakpoint; } @@ -1540,26 +1540,26 @@ namespace Debugger.Interop.CorDebug public static int IsNull(this ICorDebugHandleValue instance) { int pbNull; - instance.IsNull(out pbNull); + instance.__IsNull(out pbNull); return pbNull; } public static ulong GetValue(this ICorDebugHandleValue instance) { ulong pValue; - instance.GetValue(out pValue); + instance.__GetValue(out pValue); return pValue; } public static void SetValue(this ICorDebugHandleValue instance, ulong value) { - instance.SetValue(value); + instance.__SetValue(value); } public static ICorDebugValue Dereference(this ICorDebugHandleValue instance) { ICorDebugValue ppValue; - instance.Dereference(out ppValue); + instance.__Dereference(out ppValue); ProcessOutParameter(ppValue); return ppValue; } @@ -1567,7 +1567,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugValue DereferenceStrong(this ICorDebugHandleValue instance) { ICorDebugValue ppValue; - instance.DereferenceStrong(out ppValue); + instance.__DereferenceStrong(out ppValue); ProcessOutParameter(ppValue); return ppValue; } @@ -1575,41 +1575,41 @@ namespace Debugger.Interop.CorDebug public static CorDebugHandleType GetHandleType(this ICorDebugHandleValue instance) { CorDebugHandleType pType; - instance.GetHandleType(out pType); + instance.__GetHandleType(out pType); ProcessOutParameter(pType); return pType; } public static void Dispose(this ICorDebugHandleValue instance) { - instance.Dispose(); + instance.__Dispose(); } public static uint GetType(this ICorDebugHeapValue instance) { uint pType; - instance.GetType(out pType); + instance.__GetType(out pType); return pType; } public static uint GetSize(this ICorDebugHeapValue instance) { uint pSize; - instance.GetSize(out pSize); + instance.__GetSize(out pSize); return pSize; } public static ulong GetAddress(this ICorDebugHeapValue instance) { ulong pAddress; - instance.GetAddress(out pAddress); + instance.__GetAddress(out pAddress); return pAddress; } public static ICorDebugValueBreakpoint CreateBreakpoint(this ICorDebugHeapValue instance) { ICorDebugValueBreakpoint ppBreakpoint; - instance.CreateBreakpoint(out ppBreakpoint); + instance.__CreateBreakpoint(out ppBreakpoint); ProcessOutParameter(ppBreakpoint); return ppBreakpoint; } @@ -1617,14 +1617,14 @@ namespace Debugger.Interop.CorDebug public static int IsValid(this ICorDebugHeapValue instance) { int pbValid; - instance.IsValid(out pbValid); + instance.__IsValid(out pbValid); return pbValid; } public static ICorDebugValueBreakpoint CreateRelocBreakpoint(this ICorDebugHeapValue instance) { ICorDebugValueBreakpoint ppBreakpoint; - instance.CreateRelocBreakpoint(out ppBreakpoint); + instance.__CreateRelocBreakpoint(out ppBreakpoint); ProcessOutParameter(ppBreakpoint); return ppBreakpoint; } @@ -1632,7 +1632,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugHandleValue CreateHandle(this ICorDebugHeapValue2 instance, CorDebugHandleType type) { ICorDebugHandleValue ppHandle; - instance.CreateHandle(type, out ppHandle); + instance.__CreateHandle(type, out ppHandle); ProcessOutParameter(ppHandle); return ppHandle; } @@ -1640,7 +1640,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugChain GetChain(this ICorDebugILFrame instance) { ICorDebugChain ppChain; - instance.GetChain(out ppChain); + instance.__GetChain(out ppChain); ProcessOutParameter(ppChain); return ppChain; } @@ -1648,7 +1648,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugCode GetCode(this ICorDebugILFrame instance) { ICorDebugCode ppCode; - instance.GetCode(out ppCode); + instance.__GetCode(out ppCode); ProcessOutParameter(ppCode); return ppCode; } @@ -1656,7 +1656,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugFunction GetFunction(this ICorDebugILFrame instance) { ICorDebugFunction ppFunction; - instance.GetFunction(out ppFunction); + instance.__GetFunction(out ppFunction); ProcessOutParameter(ppFunction); return ppFunction; } @@ -1664,19 +1664,19 @@ namespace Debugger.Interop.CorDebug public static uint GetFunctionToken(this ICorDebugILFrame instance) { uint pToken; - instance.GetFunctionToken(out 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); + instance.__GetStackRange(out pStart, out pEnd); } public static ICorDebugFrame GetCaller(this ICorDebugILFrame instance) { ICorDebugFrame ppFrame; - instance.GetCaller(out ppFrame); + instance.__GetCaller(out ppFrame); ProcessOutParameter(ppFrame); return ppFrame; } @@ -1684,7 +1684,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugFrame GetCallee(this ICorDebugILFrame instance) { ICorDebugFrame ppFrame; - instance.GetCallee(out ppFrame); + instance.__GetCallee(out ppFrame); ProcessOutParameter(ppFrame); return ppFrame; } @@ -1692,26 +1692,26 @@ namespace Debugger.Interop.CorDebug public static ICorDebugStepper CreateStepper(this ICorDebugILFrame instance) { ICorDebugStepper ppStepper; - instance.CreateStepper(out 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); + instance.__GetIP(out pnOffset, out pMappingResult); ProcessOutParameter(pMappingResult); } public static void SetIP(this ICorDebugILFrame instance, uint nOffset) { - instance.SetIP(nOffset); + instance.__SetIP(nOffset); } public static ICorDebugValueEnum EnumerateLocalVariables(this ICorDebugILFrame instance) { ICorDebugValueEnum ppValueEnum; - instance.EnumerateLocalVariables(out ppValueEnum); + instance.__EnumerateLocalVariables(out ppValueEnum); ProcessOutParameter(ppValueEnum); return ppValueEnum; } @@ -1719,7 +1719,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugValue GetLocalVariable(this ICorDebugILFrame instance, uint dwIndex) { ICorDebugValue ppValue; - instance.GetLocalVariable(dwIndex, out ppValue); + instance.__GetLocalVariable(dwIndex, out ppValue); ProcessOutParameter(ppValue); return ppValue; } @@ -1727,7 +1727,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugValueEnum EnumerateArguments(this ICorDebugILFrame instance) { ICorDebugValueEnum ppValueEnum; - instance.EnumerateArguments(out ppValueEnum); + instance.__EnumerateArguments(out ppValueEnum); ProcessOutParameter(ppValueEnum); return ppValueEnum; } @@ -1735,7 +1735,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugValue GetArgument(this ICorDebugILFrame instance, uint dwIndex) { ICorDebugValue ppValue; - instance.GetArgument(dwIndex, out ppValue); + instance.__GetArgument(dwIndex, out ppValue); ProcessOutParameter(ppValue); return ppValue; } @@ -1743,32 +1743,32 @@ namespace Debugger.Interop.CorDebug public static uint GetStackDepth(this ICorDebugILFrame instance) { uint pDepth; - instance.GetStackDepth(out pDepth); + instance.__GetStackDepth(out pDepth); return pDepth; } public static ICorDebugValue GetStackValue(this ICorDebugILFrame instance, uint dwIndex) { ICorDebugValue ppValue; - instance.GetStackValue(dwIndex, out ppValue); + instance.__GetStackValue(dwIndex, out ppValue); ProcessOutParameter(ppValue); return ppValue; } public static void CanSetIP(this ICorDebugILFrame instance, uint nOffset) { - instance.CanSetIP(nOffset); + instance.__CanSetIP(nOffset); } public static void RemapFunction(this ICorDebugILFrame2 instance, uint newILOffset) { - instance.RemapFunction(newILOffset); + instance.__RemapFunction(newILOffset); } public static ICorDebugTypeEnum EnumerateTypeParameters(this ICorDebugILFrame2 instance) { ICorDebugTypeEnum ppTyParEnum; - instance.EnumerateTypeParameters(out ppTyParEnum); + instance.__EnumerateTypeParameters(out ppTyParEnum); ProcessOutParameter(ppTyParEnum); return ppTyParEnum; } @@ -1776,7 +1776,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugChain GetChain(this ICorDebugInternalFrame instance) { ICorDebugChain ppChain; - instance.GetChain(out ppChain); + instance.__GetChain(out ppChain); ProcessOutParameter(ppChain); return ppChain; } @@ -1784,7 +1784,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugCode GetCode(this ICorDebugInternalFrame instance) { ICorDebugCode ppCode; - instance.GetCode(out ppCode); + instance.__GetCode(out ppCode); ProcessOutParameter(ppCode); return ppCode; } @@ -1792,7 +1792,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugFunction GetFunction(this ICorDebugInternalFrame instance) { ICorDebugFunction ppFunction; - instance.GetFunction(out ppFunction); + instance.__GetFunction(out ppFunction); ProcessOutParameter(ppFunction); return ppFunction; } @@ -1800,19 +1800,19 @@ namespace Debugger.Interop.CorDebug public static uint GetFunctionToken(this ICorDebugInternalFrame instance) { uint pToken; - instance.GetFunctionToken(out pToken); + instance.__GetFunctionToken(out pToken); return pToken; } public static void GetStackRange(this ICorDebugInternalFrame instance, out ulong pStart, out ulong pEnd) { - instance.GetStackRange(out pStart, out pEnd); + instance.__GetStackRange(out pStart, out pEnd); } public static ICorDebugFrame GetCaller(this ICorDebugInternalFrame instance) { ICorDebugFrame ppFrame; - instance.GetCaller(out ppFrame); + instance.__GetCaller(out ppFrame); ProcessOutParameter(ppFrame); return ppFrame; } @@ -1820,7 +1820,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugFrame GetCallee(this ICorDebugInternalFrame instance) { ICorDebugFrame ppFrame; - instance.GetCallee(out ppFrame); + instance.__GetCallee(out ppFrame); ProcessOutParameter(ppFrame); return ppFrame; } @@ -1828,7 +1828,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugStepper CreateStepper(this ICorDebugInternalFrame instance) { ICorDebugStepper ppStepper; - instance.CreateStepper(out ppStepper); + instance.__CreateStepper(out ppStepper); ProcessOutParameter(ppStepper); return ppStepper; } @@ -1836,36 +1836,36 @@ namespace Debugger.Interop.CorDebug public static CorDebugInternalFrameType GetFrameType(this ICorDebugInternalFrame instance) { CorDebugInternalFrameType pType; - instance.GetFrameType(out pType); + instance.__GetFrameType(out pType); ProcessOutParameter(pType); return pType; } public static void GetName(this ICorDebugMDA instance, uint cchName, out uint pcchName, IntPtr szName) { - instance.GetName(cchName, out pcchName, szName); + instance.__GetName(cchName, out pcchName, szName); } public static void GetDescription(this ICorDebugMDA instance, uint cchName, out uint pcchName, IntPtr szName) { - instance.GetDescription(cchName, out pcchName, szName); + instance.__GetDescription(cchName, out pcchName, szName); } public static void GetXML(this ICorDebugMDA instance, uint cchName, out uint pcchName, IntPtr szName) { - instance.GetXML(cchName, out pcchName, szName); + instance.__GetXML(cchName, out pcchName, szName); } public static void GetFlags(this ICorDebugMDA instance, ref CorDebugMDAFlags pFlags) { - instance.GetFlags(ref pFlags); + instance.__GetFlags(ref pFlags); ProcessOutParameter(pFlags); } public static uint GetOSThreadId(this ICorDebugMDA instance) { uint pOsTid; - instance.GetOSThreadId(out pOsTid); + instance.__GetOSThreadId(out pOsTid); return pOsTid; } @@ -2042,7 +2042,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugProcess GetProcess(this ICorDebugModule instance) { ICorDebugProcess ppProcess; - instance.GetProcess(out ppProcess); + instance.__GetProcess(out ppProcess); ProcessOutParameter(ppProcess); return ppProcess; } @@ -2050,37 +2050,37 @@ namespace Debugger.Interop.CorDebug public static ulong GetBaseAddress(this ICorDebugModule instance) { ulong pAddress; - instance.GetBaseAddress(out pAddress); + instance.__GetBaseAddress(out pAddress); return pAddress; } public static ICorDebugAssembly GetAssembly(this ICorDebugModule instance) { ICorDebugAssembly ppAssembly; - instance.GetAssembly(out ppAssembly); + instance.__GetAssembly(out ppAssembly); ProcessOutParameter(ppAssembly); return ppAssembly; } public static void GetName(this ICorDebugModule instance, uint cchName, out uint pcchName, IntPtr szName) { - instance.GetName(cchName, out pcchName, szName); + instance.__GetName(cchName, out pcchName, szName); } public static void EnableJITDebugging(this ICorDebugModule instance, int bTrackJITInfo, int bAllowJitOpts) { - instance.EnableJITDebugging(bTrackJITInfo, bAllowJitOpts); + instance.__EnableJITDebugging(bTrackJITInfo, bAllowJitOpts); } public static void EnableClassLoadCallbacks(this ICorDebugModule instance, int bClassLoadCallbacks) { - instance.EnableClassLoadCallbacks(bClassLoadCallbacks); + instance.__EnableClassLoadCallbacks(bClassLoadCallbacks); } public static ICorDebugFunction GetFunctionFromToken(this ICorDebugModule instance, uint methodDef) { ICorDebugFunction ppFunction; - instance.GetFunctionFromToken(methodDef, out ppFunction); + instance.__GetFunctionFromToken(methodDef, out ppFunction); ProcessOutParameter(ppFunction); return ppFunction; } @@ -2088,7 +2088,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugFunction GetFunctionFromRVA(this ICorDebugModule instance, ulong rva) { ICorDebugFunction ppFunction; - instance.GetFunctionFromRVA(rva, out ppFunction); + instance.__GetFunctionFromRVA(rva, out ppFunction); ProcessOutParameter(ppFunction); return ppFunction; } @@ -2096,7 +2096,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugClass GetClassFromToken(this ICorDebugModule instance, uint typeDef) { ICorDebugClass ppClass; - instance.GetClassFromToken(typeDef, out ppClass); + instance.__GetClassFromToken(typeDef, out ppClass); ProcessOutParameter(ppClass); return ppClass; } @@ -2104,7 +2104,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugModuleBreakpoint CreateBreakpoint(this ICorDebugModule instance) { ICorDebugModuleBreakpoint ppBreakpoint; - instance.CreateBreakpoint(out ppBreakpoint); + instance.__CreateBreakpoint(out ppBreakpoint); ProcessOutParameter(ppBreakpoint); return ppBreakpoint; } @@ -2112,7 +2112,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugEditAndContinueSnapshot GetEditAndContinueSnapshot(this ICorDebugModule instance) { ICorDebugEditAndContinueSnapshot ppEditAndContinueSnapshot; - instance.GetEditAndContinueSnapshot(out ppEditAndContinueSnapshot); + instance.__GetEditAndContinueSnapshot(out ppEditAndContinueSnapshot); ProcessOutParameter(ppEditAndContinueSnapshot); return ppEditAndContinueSnapshot; } @@ -2120,7 +2120,7 @@ namespace Debugger.Interop.CorDebug public static object GetMetaDataInterface(this ICorDebugModule instance, ref Guid riid) { object ppObj; - instance.GetMetaDataInterface(ref riid, out ppObj); + instance.__GetMetaDataInterface(ref riid, out ppObj); ProcessOutParameter(ppObj); return ppObj; } @@ -2128,21 +2128,21 @@ namespace Debugger.Interop.CorDebug public static uint GetToken(this ICorDebugModule instance) { uint pToken; - instance.GetToken(out pToken); + instance.__GetToken(out pToken); return pToken; } public static int IsDynamic(this ICorDebugModule instance) { int pDynamic; - instance.IsDynamic(out pDynamic); + instance.__IsDynamic(out pDynamic); return pDynamic; } public static ICorDebugValue GetGlobalVariableValue(this ICorDebugModule instance, uint fieldDef) { ICorDebugValue ppValue; - instance.GetGlobalVariableValue(fieldDef, out ppValue); + instance.__GetGlobalVariableValue(fieldDef, out ppValue); ProcessOutParameter(ppValue); return ppValue; } @@ -2150,81 +2150,81 @@ namespace Debugger.Interop.CorDebug public static uint GetSize(this ICorDebugModule instance) { uint pcBytes; - instance.GetSize(out pcBytes); + instance.__GetSize(out pcBytes); return pcBytes; } public static int IsInMemory(this ICorDebugModule instance) { int pInMemory; - instance.IsInMemory(out pInMemory); + instance.__IsInMemory(out pInMemory); return pInMemory; } public static void SetJMCStatus(this ICorDebugModule2 instance, int bIsJustMyCode, uint cTokens, ref uint pTokens) { - instance.SetJMCStatus(bIsJustMyCode, cTokens, ref pTokens); + instance.__SetJMCStatus(bIsJustMyCode, cTokens, ref pTokens); } public static void ApplyChanges(this ICorDebugModule2 instance, uint cbMetadata, byte[] pbMetadata, uint cbIL, byte[] pbIL) { - instance.ApplyChanges(cbMetadata, pbMetadata, cbIL, pbIL); + instance.__ApplyChanges(cbMetadata, pbMetadata, cbIL, pbIL); ProcessOutParameter(pbMetadata); ProcessOutParameter(pbIL); } public static void SetJITCompilerFlags(this ICorDebugModule2 instance, uint dwFlags) { - instance.SetJITCompilerFlags(dwFlags); + instance.__SetJITCompilerFlags(dwFlags); } public static uint GetJITCompilerFlags(this ICorDebugModule2 instance) { uint pdwFlags; - instance.GetJITCompilerFlags(out pdwFlags); + instance.__GetJITCompilerFlags(out pdwFlags); return pdwFlags; } public static void ResolveAssembly(this ICorDebugModule2 instance, uint tkAssemblyRef, ref ICorDebugAssembly ppAssembly) { - instance.ResolveAssembly(tkAssemblyRef, ref ppAssembly); + instance.__ResolveAssembly(tkAssemblyRef, ref ppAssembly); ProcessOutParameter(ppAssembly); } public static void Activate(this ICorDebugModuleBreakpoint instance, int bActive) { - instance.Activate(bActive); + instance.__Activate(bActive); } public static int IsActive(this ICorDebugModuleBreakpoint instance) { int pbActive; - instance.IsActive(out pbActive); + instance.__IsActive(out pbActive); return pbActive; } public static ICorDebugModule GetModule(this ICorDebugModuleBreakpoint instance) { ICorDebugModule ppModule; - instance.GetModule(out ppModule); + instance.__GetModule(out ppModule); ProcessOutParameter(ppModule); return ppModule; } public static void Skip(this ICorDebugModuleEnum instance, uint celt) { - instance.Skip(celt); + instance.__Skip(celt); } public static void Reset(this ICorDebugModuleEnum instance) { - instance.Reset(); + instance.__Reset(); } public static ICorDebugEnum Clone(this ICorDebugModuleEnum instance) { ICorDebugEnum ppEnum; - instance.Clone(out ppEnum); + instance.__Clone(out ppEnum); ProcessOutParameter(ppEnum); return ppEnum; } @@ -2232,21 +2232,21 @@ namespace Debugger.Interop.CorDebug public static uint GetCount(this ICorDebugModuleEnum instance) { uint pcelt; - instance.GetCount(out pcelt); + instance.__GetCount(out pcelt); return pcelt; } public static uint Next(this ICorDebugModuleEnum instance, uint celt, IntPtr modules) { uint pceltFetched; - instance.Next(celt, modules, out pceltFetched); + instance.__Next(celt, modules, out pceltFetched); return pceltFetched; } public static ICorDebugChain GetChain(this ICorDebugNativeFrame instance) { ICorDebugChain ppChain; - instance.GetChain(out ppChain); + instance.__GetChain(out ppChain); ProcessOutParameter(ppChain); return ppChain; } @@ -2254,7 +2254,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugCode GetCode(this ICorDebugNativeFrame instance) { ICorDebugCode ppCode; - instance.GetCode(out ppCode); + instance.__GetCode(out ppCode); ProcessOutParameter(ppCode); return ppCode; } @@ -2262,7 +2262,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugFunction GetFunction(this ICorDebugNativeFrame instance) { ICorDebugFunction ppFunction; - instance.GetFunction(out ppFunction); + instance.__GetFunction(out ppFunction); ProcessOutParameter(ppFunction); return ppFunction; } @@ -2270,19 +2270,19 @@ namespace Debugger.Interop.CorDebug public static uint GetFunctionToken(this ICorDebugNativeFrame instance) { uint pToken; - instance.GetFunctionToken(out pToken); + instance.__GetFunctionToken(out pToken); return pToken; } public static void GetStackRange(this ICorDebugNativeFrame instance, out ulong pStart, out ulong pEnd) { - instance.GetStackRange(out pStart, out pEnd); + instance.__GetStackRange(out pStart, out pEnd); } public static ICorDebugFrame GetCaller(this ICorDebugNativeFrame instance) { ICorDebugFrame ppFrame; - instance.GetCaller(out ppFrame); + instance.__GetCaller(out ppFrame); ProcessOutParameter(ppFrame); return ppFrame; } @@ -2290,7 +2290,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugFrame GetCallee(this ICorDebugNativeFrame instance) { ICorDebugFrame ppFrame; - instance.GetCallee(out ppFrame); + instance.__GetCallee(out ppFrame); ProcessOutParameter(ppFrame); return ppFrame; } @@ -2298,7 +2298,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugStepper CreateStepper(this ICorDebugNativeFrame instance) { ICorDebugStepper ppStepper; - instance.CreateStepper(out ppStepper); + instance.__CreateStepper(out ppStepper); ProcessOutParameter(ppStepper); return ppStepper; } @@ -2306,19 +2306,19 @@ namespace Debugger.Interop.CorDebug public static uint GetIP(this ICorDebugNativeFrame instance) { uint pnOffset; - instance.GetIP(out pnOffset); + instance.__GetIP(out pnOffset); return pnOffset; } public static void SetIP(this ICorDebugNativeFrame instance, uint nOffset) { - instance.SetIP(nOffset); + instance.__SetIP(nOffset); } public static ICorDebugRegisterSet GetRegisterSet(this ICorDebugNativeFrame instance) { ICorDebugRegisterSet ppRegisters; - instance.GetRegisterSet(out ppRegisters); + instance.__GetRegisterSet(out ppRegisters); ProcessOutParameter(ppRegisters); return ppRegisters; } @@ -2326,7 +2326,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugValue GetLocalRegisterValue(this ICorDebugNativeFrame instance, CorDebugRegister reg, uint cbSigBlob, uint pvSigBlob) { ICorDebugValue ppValue; - instance.GetLocalRegisterValue(reg, cbSigBlob, pvSigBlob, out ppValue); + instance.__GetLocalRegisterValue(reg, cbSigBlob, pvSigBlob, out ppValue); ProcessOutParameter(ppValue); return ppValue; } @@ -2334,7 +2334,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugValue GetLocalDoubleRegisterValue(this ICorDebugNativeFrame instance, CorDebugRegister highWordReg, CorDebugRegister lowWordReg, uint cbSigBlob, uint pvSigBlob) { ICorDebugValue ppValue; - instance.GetLocalDoubleRegisterValue(highWordReg, lowWordReg, cbSigBlob, pvSigBlob, out ppValue); + instance.__GetLocalDoubleRegisterValue(highWordReg, lowWordReg, cbSigBlob, pvSigBlob, out ppValue); ProcessOutParameter(ppValue); return ppValue; } @@ -2342,7 +2342,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugValue GetLocalMemoryValue(this ICorDebugNativeFrame instance, ulong address, uint cbSigBlob, uint pvSigBlob) { ICorDebugValue ppValue; - instance.GetLocalMemoryValue(address, cbSigBlob, pvSigBlob, out ppValue); + instance.__GetLocalMemoryValue(address, cbSigBlob, pvSigBlob, out ppValue); ProcessOutParameter(ppValue); return ppValue; } @@ -2350,7 +2350,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugValue GetLocalRegisterMemoryValue(this ICorDebugNativeFrame instance, CorDebugRegister highWordReg, ulong lowWordAddress, uint cbSigBlob, uint pvSigBlob) { ICorDebugValue ppValue; - instance.GetLocalRegisterMemoryValue(highWordReg, lowWordAddress, cbSigBlob, pvSigBlob, out ppValue); + instance.__GetLocalRegisterMemoryValue(highWordReg, lowWordAddress, cbSigBlob, pvSigBlob, out ppValue); ProcessOutParameter(ppValue); return ppValue; } @@ -2358,30 +2358,30 @@ namespace Debugger.Interop.CorDebug public static ICorDebugValue GetLocalMemoryRegisterValue(this ICorDebugNativeFrame instance, ulong highWordAddress, CorDebugRegister lowWordRegister, uint cbSigBlob, uint pvSigBlob) { ICorDebugValue ppValue; - instance.GetLocalMemoryRegisterValue(highWordAddress, lowWordRegister, cbSigBlob, pvSigBlob, out ppValue); + instance.__GetLocalMemoryRegisterValue(highWordAddress, lowWordRegister, cbSigBlob, pvSigBlob, out ppValue); ProcessOutParameter(ppValue); return ppValue; } public static void CanSetIP(this ICorDebugNativeFrame instance, uint nOffset) { - instance.CanSetIP(nOffset); + instance.__CanSetIP(nOffset); } public static void Skip(this ICorDebugObjectEnum instance, uint celt) { - instance.Skip(celt); + instance.__Skip(celt); } public static void Reset(this ICorDebugObjectEnum instance) { - instance.Reset(); + instance.__Reset(); } public static ICorDebugEnum Clone(this ICorDebugObjectEnum instance) { ICorDebugEnum ppEnum; - instance.Clone(out ppEnum); + instance.__Clone(out ppEnum); ProcessOutParameter(ppEnum); return ppEnum; } @@ -2389,42 +2389,42 @@ namespace Debugger.Interop.CorDebug public static uint GetCount(this ICorDebugObjectEnum instance) { uint pcelt; - instance.GetCount(out pcelt); + instance.__GetCount(out pcelt); return pcelt; } public static uint Next(this ICorDebugObjectEnum instance, uint celt, IntPtr objects) { uint pceltFetched; - instance.Next(celt, objects, out pceltFetched); + instance.__Next(celt, objects, out pceltFetched); return pceltFetched; } public static uint GetType(this ICorDebugObjectValue instance) { uint pType; - instance.GetType(out pType); + instance.__GetType(out pType); return pType; } public static uint GetSize(this ICorDebugObjectValue instance) { uint pSize; - instance.GetSize(out pSize); + instance.__GetSize(out pSize); return pSize; } public static ulong GetAddress(this ICorDebugObjectValue instance) { ulong pAddress; - instance.GetAddress(out pAddress); + instance.__GetAddress(out pAddress); return pAddress; } public static ICorDebugValueBreakpoint CreateBreakpoint(this ICorDebugObjectValue instance) { ICorDebugValueBreakpoint ppBreakpoint; - instance.CreateBreakpoint(out ppBreakpoint); + instance.__CreateBreakpoint(out ppBreakpoint); ProcessOutParameter(ppBreakpoint); return ppBreakpoint; } @@ -2432,7 +2432,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugClass GetClass(this ICorDebugObjectValue instance) { ICorDebugClass ppClass; - instance.GetClass(out ppClass); + instance.__GetClass(out ppClass); ProcessOutParameter(ppClass); return ppClass; } @@ -2440,7 +2440,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugValue GetFieldValue(this ICorDebugObjectValue instance, ICorDebugClass pClass, uint fieldDef) { ICorDebugValue ppValue; - instance.GetFieldValue(pClass, fieldDef, out ppValue); + instance.__GetFieldValue(pClass, fieldDef, out ppValue); ProcessOutParameter(ppValue); return ppValue; } @@ -2448,7 +2448,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugFunction GetVirtualMethod(this ICorDebugObjectValue instance, uint memberRef) { ICorDebugFunction ppFunction; - instance.GetVirtualMethod(memberRef, out ppFunction); + instance.__GetVirtualMethod(memberRef, out ppFunction); ProcessOutParameter(ppFunction); return ppFunction; } @@ -2456,7 +2456,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugContext GetContext(this ICorDebugObjectValue instance) { ICorDebugContext ppContext; - instance.GetContext(out ppContext); + instance.__GetContext(out ppContext); ProcessOutParameter(ppContext); return ppContext; } @@ -2464,81 +2464,81 @@ namespace Debugger.Interop.CorDebug public static int IsValueClass(this ICorDebugObjectValue instance) { int pbIsValueClass; - instance.IsValueClass(out pbIsValueClass); + instance.__IsValueClass(out pbIsValueClass); return pbIsValueClass; } public static object GetManagedCopy(this ICorDebugObjectValue instance) { object ppObject; - instance.GetManagedCopy(out ppObject); + instance.__GetManagedCopy(out ppObject); ProcessOutParameter(ppObject); return ppObject; } public static void SetFromManagedCopy(this ICorDebugObjectValue instance, object pObject) { - instance.SetFromManagedCopy(pObject); + instance.__SetFromManagedCopy(pObject); } public static void GetVirtualMethodAndType(this ICorDebugObjectValue2 instance, uint memberRef, out ICorDebugFunction ppFunction, out ICorDebugType ppType) { - instance.GetVirtualMethodAndType(memberRef, out ppFunction, out ppType); + instance.__GetVirtualMethodAndType(memberRef, out ppFunction, out ppType); ProcessOutParameter(ppFunction); ProcessOutParameter(ppType); } public static void Stop(this ICorDebugProcess instance, uint dwTimeoutIgnored) { - instance.Stop(dwTimeoutIgnored); + instance.__Stop(dwTimeoutIgnored); } public static void Continue(this ICorDebugProcess instance, int fIsOutOfBand) { - instance.Continue(fIsOutOfBand); + instance.__Continue(fIsOutOfBand); } public static int IsRunning(this ICorDebugProcess instance) { int pbRunning; - instance.IsRunning(out pbRunning); + instance.__IsRunning(out pbRunning); return pbRunning; } public static int HasQueuedCallbacks(this ICorDebugProcess instance, ICorDebugThread pThread) { int pbQueued; - instance.HasQueuedCallbacks(pThread, out pbQueued); + instance.__HasQueuedCallbacks(pThread, out pbQueued); return pbQueued; } public static ICorDebugThreadEnum EnumerateThreads(this ICorDebugProcess instance) { ICorDebugThreadEnum ppThreads; - instance.EnumerateThreads(out ppThreads); + instance.__EnumerateThreads(out ppThreads); ProcessOutParameter(ppThreads); return ppThreads; } public static void SetAllThreadsDebugState(this ICorDebugProcess instance, CorDebugThreadState state, ICorDebugThread pExceptThisThread) { - instance.SetAllThreadsDebugState(state, pExceptThisThread); + instance.__SetAllThreadsDebugState(state, pExceptThisThread); } public static void Detach(this ICorDebugProcess instance) { - instance.Detach(); + instance.__Detach(); } public static void Terminate(this ICorDebugProcess instance, uint exitCode) { - instance.Terminate(exitCode); + instance.__Terminate(exitCode); } public static ICorDebugErrorInfoEnum CanCommitChanges(this ICorDebugProcess instance, uint cSnapshots, ref ICorDebugEditAndContinueSnapshot pSnapshots) { ICorDebugErrorInfoEnum pError; - instance.CanCommitChanges(cSnapshots, ref pSnapshots, out pError); + instance.__CanCommitChanges(cSnapshots, ref pSnapshots, out pError); ProcessOutParameter(pSnapshots); ProcessOutParameter(pError); return pError; @@ -2547,7 +2547,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugErrorInfoEnum CommitChanges(this ICorDebugProcess instance, uint cSnapshots, ref ICorDebugEditAndContinueSnapshot pSnapshots) { ICorDebugErrorInfoEnum pError; - instance.CommitChanges(cSnapshots, ref pSnapshots, out pError); + instance.__CommitChanges(cSnapshots, ref pSnapshots, out pError); ProcessOutParameter(pSnapshots); ProcessOutParameter(pError); return pError; @@ -2556,21 +2556,21 @@ namespace Debugger.Interop.CorDebug public static uint GetID(this ICorDebugProcess instance) { uint pdwProcessId; - instance.GetID(out pdwProcessId); + instance.__GetID(out pdwProcessId); return pdwProcessId; } public static uint GetHandle(this ICorDebugProcess instance) { uint phProcessHandle; - instance.GetHandle(out phProcessHandle); + instance.__GetHandle(out phProcessHandle); return phProcessHandle; } public static ICorDebugThread GetThread(this ICorDebugProcess instance, uint dwThreadId) { ICorDebugThread ppThread; - instance.GetThread(dwThreadId, out ppThread); + instance.__GetThread(dwThreadId, out ppThread); ProcessOutParameter(ppThread); return ppThread; } @@ -2578,7 +2578,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugObjectEnum EnumerateObjects(this ICorDebugProcess instance) { ICorDebugObjectEnum ppObjects; - instance.EnumerateObjects(out ppObjects); + instance.__EnumerateObjects(out ppObjects); ProcessOutParameter(ppObjects); return ppObjects; } @@ -2586,60 +2586,60 @@ namespace Debugger.Interop.CorDebug public static int IsTransitionStub(this ICorDebugProcess instance, ulong address) { int pbTransitionStub; - instance.IsTransitionStub(address, out pbTransitionStub); + instance.__IsTransitionStub(address, out pbTransitionStub); return pbTransitionStub; } public static int IsOSSuspended(this ICorDebugProcess instance, uint threadID) { int pbSuspended; - instance.IsOSSuspended(threadID, out pbSuspended); + instance.__IsOSSuspended(threadID, out pbSuspended); return pbSuspended; } public static void GetThreadContext(this ICorDebugProcess instance, uint threadID, uint contextSize, IntPtr context) { - instance.GetThreadContext(threadID, contextSize, context); + instance.__GetThreadContext(threadID, contextSize, context); } public static void SetThreadContext(this ICorDebugProcess instance, uint threadID, uint contextSize, IntPtr context) { - instance.SetThreadContext(threadID, contextSize, context); + instance.__SetThreadContext(threadID, contextSize, context); } public static uint ReadMemory(this ICorDebugProcess instance, ulong address, uint size, IntPtr buffer) { uint read; - instance.ReadMemory(address, size, buffer, out read); + instance.__ReadMemory(address, size, buffer, out read); return read; } public static uint WriteMemory(this ICorDebugProcess instance, ulong address, uint size, IntPtr buffer) { uint written; - instance.WriteMemory(address, size, buffer, out written); + instance.__WriteMemory(address, size, buffer, out written); return written; } public static void ClearCurrentException(this ICorDebugProcess instance, uint threadID) { - instance.ClearCurrentException(threadID); + instance.__ClearCurrentException(threadID); } public static void EnableLogMessages(this ICorDebugProcess instance, int fOnOff) { - instance.EnableLogMessages(fOnOff); + instance.__EnableLogMessages(fOnOff); } public static void ModifyLogSwitch(this ICorDebugProcess instance, IntPtr pLogSwitchName, int lLevel) { - instance.ModifyLogSwitch(pLogSwitchName, lLevel); + instance.__ModifyLogSwitch(pLogSwitchName, lLevel); } public static ICorDebugAppDomainEnum EnumerateAppDomains(this ICorDebugProcess instance) { ICorDebugAppDomainEnum ppAppDomains; - instance.EnumerateAppDomains(out ppAppDomains); + instance.__EnumerateAppDomains(out ppAppDomains); ProcessOutParameter(ppAppDomains); return ppAppDomains; } @@ -2647,7 +2647,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugValue GetObject(this ICorDebugProcess instance) { ICorDebugValue ppObject; - instance.GetObject(out ppObject); + instance.__GetObject(out ppObject); ProcessOutParameter(ppObject); return ppObject; } @@ -2655,7 +2655,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugThread ThreadForFiberCookie(this ICorDebugProcess instance, uint fiberCookie) { ICorDebugThread ppThread; - instance.ThreadForFiberCookie(fiberCookie, out ppThread); + instance.__ThreadForFiberCookie(fiberCookie, out ppThread); ProcessOutParameter(ppThread); return ppThread; } @@ -2663,14 +2663,14 @@ namespace Debugger.Interop.CorDebug public static uint GetHelperThreadID(this ICorDebugProcess instance) { uint pThreadID; - instance.GetHelperThreadID(out pThreadID); + instance.__GetHelperThreadID(out pThreadID); return pThreadID; } public static ICorDebugThread2 GetThreadForTaskID(this ICorDebugProcess2 instance, ulong taskid) { ICorDebugThread2 ppThread; - instance.GetThreadForTaskID(taskid, out ppThread); + instance.__GetThreadForTaskID(taskid, out ppThread); ProcessOutParameter(ppThread); return ppThread; } @@ -2678,7 +2678,7 @@ namespace Debugger.Interop.CorDebug public static _COR_VERSION GetVersion(this ICorDebugProcess2 instance) { _COR_VERSION version; - instance.GetVersion(out version); + instance.__GetVersion(out version); ProcessOutParameter(version); return version; } @@ -2686,49 +2686,49 @@ namespace Debugger.Interop.CorDebug public static uint SetUnmanagedBreakpoint(this ICorDebugProcess2 instance, ulong address, uint bufsize, IntPtr buffer) { uint bufLen; - instance.SetUnmanagedBreakpoint(address, bufsize, buffer, out bufLen); + instance.__SetUnmanagedBreakpoint(address, bufsize, buffer, out bufLen); return bufLen; } public static void ClearUnmanagedBreakpoint(this ICorDebugProcess2 instance, ulong address) { - instance.ClearUnmanagedBreakpoint(address); + instance.__ClearUnmanagedBreakpoint(address); } public static void SetDesiredNGENCompilerFlags(this ICorDebugProcess2 instance, uint pdwFlags) { - instance.SetDesiredNGENCompilerFlags(pdwFlags); + instance.__SetDesiredNGENCompilerFlags(pdwFlags); } public static uint GetDesiredNGENCompilerFlags(this ICorDebugProcess2 instance) { uint pdwFlags; - instance.GetDesiredNGENCompilerFlags(out pdwFlags); + instance.__GetDesiredNGENCompilerFlags(out pdwFlags); return pdwFlags; } public static ICorDebugReferenceValue GetReferenceValueFromGCHandle(this ICorDebugProcess2 instance, uint handle) { ICorDebugReferenceValue pOutValue; - instance.GetReferenceValueFromGCHandle(handle, out pOutValue); + instance.__GetReferenceValueFromGCHandle(handle, out pOutValue); ProcessOutParameter(pOutValue); return pOutValue; } public static void Skip(this ICorDebugProcessEnum instance, uint celt) { - instance.Skip(celt); + instance.__Skip(celt); } public static void Reset(this ICorDebugProcessEnum instance) { - instance.Reset(); + instance.__Reset(); } public static ICorDebugEnum Clone(this ICorDebugProcessEnum instance) { ICorDebugEnum ppEnum; - instance.Clone(out ppEnum); + instance.__Clone(out ppEnum); ProcessOutParameter(ppEnum); return ppEnum; } @@ -2736,42 +2736,42 @@ namespace Debugger.Interop.CorDebug public static uint GetCount(this ICorDebugProcessEnum instance) { uint pcelt; - instance.GetCount(out pcelt); + instance.__GetCount(out pcelt); return pcelt; } public static uint Next(this ICorDebugProcessEnum instance, uint celt, IntPtr processes) { uint pceltFetched; - instance.Next(celt, processes, out pceltFetched); + instance.__Next(celt, processes, out pceltFetched); return pceltFetched; } public static uint GetType(this ICorDebugReferenceValue instance) { uint pType; - instance.GetType(out pType); + instance.__GetType(out pType); return pType; } public static uint GetSize(this ICorDebugReferenceValue instance) { uint pSize; - instance.GetSize(out pSize); + instance.__GetSize(out pSize); return pSize; } public static ulong GetAddress(this ICorDebugReferenceValue instance) { ulong pAddress; - instance.GetAddress(out pAddress); + instance.__GetAddress(out pAddress); return pAddress; } public static ICorDebugValueBreakpoint CreateBreakpoint(this ICorDebugReferenceValue instance) { ICorDebugValueBreakpoint ppBreakpoint; - instance.CreateBreakpoint(out ppBreakpoint); + instance.__CreateBreakpoint(out ppBreakpoint); ProcessOutParameter(ppBreakpoint); return ppBreakpoint; } @@ -2779,26 +2779,26 @@ namespace Debugger.Interop.CorDebug public static int IsNull(this ICorDebugReferenceValue instance) { int pbNull; - instance.IsNull(out pbNull); + instance.__IsNull(out pbNull); return pbNull; } public static ulong GetValue(this ICorDebugReferenceValue instance) { ulong pValue; - instance.GetValue(out pValue); + instance.__GetValue(out pValue); return pValue; } public static void SetValue(this ICorDebugReferenceValue instance, ulong value) { - instance.SetValue(value); + instance.__SetValue(value); } public static ICorDebugValue Dereference(this ICorDebugReferenceValue instance) { ICorDebugValue ppValue; - instance.Dereference(out ppValue); + instance.__Dereference(out ppValue); ProcessOutParameter(ppValue); return ppValue; } @@ -2806,7 +2806,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugValue DereferenceStrong(this ICorDebugReferenceValue instance) { ICorDebugValue ppValue; - instance.DereferenceStrong(out ppValue); + instance.__DereferenceStrong(out ppValue); ProcessOutParameter(ppValue); return ppValue; } @@ -2814,91 +2814,91 @@ namespace Debugger.Interop.CorDebug public static ulong GetRegistersAvailable(this ICorDebugRegisterSet instance) { ulong pAvailable; - instance.GetRegistersAvailable(out pAvailable); + instance.__GetRegistersAvailable(out pAvailable); return pAvailable; } public static void GetRegisters(this ICorDebugRegisterSet instance, ulong mask, uint regCount, IntPtr regBuffer) { - instance.GetRegisters(mask, regCount, regBuffer); + instance.__GetRegisters(mask, regCount, regBuffer); } public static void SetRegisters(this ICorDebugRegisterSet instance, ulong mask, uint regCount, ref ulong regBuffer) { - instance.SetRegisters(mask, regCount, ref regBuffer); + instance.__SetRegisters(mask, regCount, ref regBuffer); } public static void GetThreadContext(this ICorDebugRegisterSet instance, uint contextSize, IntPtr context) { - instance.GetThreadContext(contextSize, context); + instance.__GetThreadContext(contextSize, context); } public static void SetThreadContext(this ICorDebugRegisterSet instance, uint contextSize, IntPtr context) { - instance.SetThreadContext(contextSize, context); + instance.__SetThreadContext(contextSize, context); } public static int IsActive(this ICorDebugStepper instance) { int pbActive; - instance.IsActive(out pbActive); + instance.__IsActive(out pbActive); return pbActive; } public static void Deactivate(this ICorDebugStepper instance) { - instance.Deactivate(); + instance.__Deactivate(); } public static void SetInterceptMask(this ICorDebugStepper instance, CorDebugIntercept mask) { - instance.SetInterceptMask(mask); + instance.__SetInterceptMask(mask); } public static void SetUnmappedStopMask(this ICorDebugStepper instance, CorDebugUnmappedStop mask) { - instance.SetUnmappedStopMask(mask); + instance.__SetUnmappedStopMask(mask); } public static void Step(this ICorDebugStepper instance, int bStepIn) { - instance.Step(bStepIn); + instance.__Step(bStepIn); } public static void StepRange(this ICorDebugStepper instance, int bStepIn, IntPtr ranges, uint cRangeCount) { - instance.StepRange(bStepIn, ranges, cRangeCount); + instance.__StepRange(bStepIn, ranges, cRangeCount); } public static void StepOut(this ICorDebugStepper instance) { - instance.StepOut(); + instance.__StepOut(); } public static void SetRangeIL(this ICorDebugStepper instance, int bIL) { - instance.SetRangeIL(bIL); + instance.__SetRangeIL(bIL); } public static void SetJMC(this ICorDebugStepper2 instance, int fIsJMCStepper) { - instance.SetJMC(fIsJMCStepper); + instance.__SetJMC(fIsJMCStepper); } public static void Skip(this ICorDebugStepperEnum instance, uint celt) { - instance.Skip(celt); + instance.__Skip(celt); } public static void Reset(this ICorDebugStepperEnum instance) { - instance.Reset(); + instance.__Reset(); } public static ICorDebugEnum Clone(this ICorDebugStepperEnum instance) { ICorDebugEnum ppEnum; - instance.Clone(out ppEnum); + instance.__Clone(out ppEnum); ProcessOutParameter(ppEnum); return ppEnum; } @@ -2906,42 +2906,42 @@ namespace Debugger.Interop.CorDebug public static uint GetCount(this ICorDebugStepperEnum instance) { uint pcelt; - instance.GetCount(out pcelt); + instance.__GetCount(out pcelt); return pcelt; } public static uint Next(this ICorDebugStepperEnum instance, uint celt, IntPtr steppers) { uint pceltFetched; - instance.Next(celt, steppers, out pceltFetched); + instance.__Next(celt, steppers, out pceltFetched); return pceltFetched; } public static uint GetType(this ICorDebugStringValue instance) { uint pType; - instance.GetType(out pType); + instance.__GetType(out pType); return pType; } public static uint GetSize(this ICorDebugStringValue instance) { uint pSize; - instance.GetSize(out pSize); + instance.__GetSize(out pSize); return pSize; } public static ulong GetAddress(this ICorDebugStringValue instance) { ulong pAddress; - instance.GetAddress(out pAddress); + instance.__GetAddress(out pAddress); return pAddress; } public static ICorDebugValueBreakpoint CreateBreakpoint(this ICorDebugStringValue instance) { ICorDebugValueBreakpoint ppBreakpoint; - instance.CreateBreakpoint(out ppBreakpoint); + instance.__CreateBreakpoint(out ppBreakpoint); ProcessOutParameter(ppBreakpoint); return ppBreakpoint; } @@ -2949,14 +2949,14 @@ namespace Debugger.Interop.CorDebug public static int IsValid(this ICorDebugStringValue instance) { int pbValid; - instance.IsValid(out pbValid); + instance.__IsValid(out pbValid); return pbValid; } public static ICorDebugValueBreakpoint CreateRelocBreakpoint(this ICorDebugStringValue instance) { ICorDebugValueBreakpoint ppBreakpoint; - instance.CreateRelocBreakpoint(out ppBreakpoint); + instance.__CreateRelocBreakpoint(out ppBreakpoint); ProcessOutParameter(ppBreakpoint); return ppBreakpoint; } @@ -2964,19 +2964,19 @@ namespace Debugger.Interop.CorDebug public static uint GetLength(this ICorDebugStringValue instance) { uint pcchString; - instance.GetLength(out pcchString); + instance.__GetLength(out pcchString); return pcchString; } public static void GetString(this ICorDebugStringValue instance, uint cchString, out uint pcchString, IntPtr szString) { - instance.GetString(cchString, out pcchString, szString); + instance.__GetString(cchString, out pcchString, szString); } public static ICorDebugProcess GetProcess(this ICorDebugThread instance) { ICorDebugProcess ppProcess; - instance.GetProcess(out ppProcess); + instance.__GetProcess(out ppProcess); ProcessOutParameter(ppProcess); return ppProcess; } @@ -2984,34 +2984,34 @@ namespace Debugger.Interop.CorDebug public static uint GetID(this ICorDebugThread instance) { uint pdwThreadId; - instance.GetID(out pdwThreadId); + instance.__GetID(out pdwThreadId); return pdwThreadId; } public static uint GetHandle(this ICorDebugThread instance) { uint phThreadHandle; - instance.GetHandle(out phThreadHandle); + instance.__GetHandle(out phThreadHandle); return phThreadHandle; } public static ICorDebugAppDomain GetAppDomain(this ICorDebugThread instance) { ICorDebugAppDomain ppAppDomain; - instance.GetAppDomain(out ppAppDomain); + instance.__GetAppDomain(out ppAppDomain); ProcessOutParameter(ppAppDomain); return ppAppDomain; } public static void SetDebugState(this ICorDebugThread instance, CorDebugThreadState state) { - instance.SetDebugState(state); + instance.__SetDebugState(state); } public static CorDebugThreadState GetDebugState(this ICorDebugThread instance) { CorDebugThreadState pState; - instance.GetDebugState(out pState); + instance.__GetDebugState(out pState); ProcessOutParameter(pState); return pState; } @@ -3019,7 +3019,7 @@ namespace Debugger.Interop.CorDebug public static CorDebugUserState GetUserState(this ICorDebugThread instance) { CorDebugUserState pState; - instance.GetUserState(out pState); + instance.__GetUserState(out pState); ProcessOutParameter(pState); return pState; } @@ -3027,20 +3027,20 @@ namespace Debugger.Interop.CorDebug public static ICorDebugValue GetCurrentException(this ICorDebugThread instance) { ICorDebugValue ppExceptionObject; - instance.GetCurrentException(out ppExceptionObject); + instance.__GetCurrentException(out ppExceptionObject); ProcessOutParameter(ppExceptionObject); return ppExceptionObject; } public static void ClearCurrentException(this ICorDebugThread instance) { - instance.ClearCurrentException(); + instance.__ClearCurrentException(); } public static ICorDebugStepper CreateStepper(this ICorDebugThread instance) { ICorDebugStepper ppStepper; - instance.CreateStepper(out ppStepper); + instance.__CreateStepper(out ppStepper); ProcessOutParameter(ppStepper); return ppStepper; } @@ -3048,7 +3048,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugChainEnum EnumerateChains(this ICorDebugThread instance) { ICorDebugChainEnum ppChains; - instance.EnumerateChains(out ppChains); + instance.__EnumerateChains(out ppChains); ProcessOutParameter(ppChains); return ppChains; } @@ -3056,7 +3056,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugChain GetActiveChain(this ICorDebugThread instance) { ICorDebugChain ppChain; - instance.GetActiveChain(out ppChain); + instance.__GetActiveChain(out ppChain); ProcessOutParameter(ppChain); return ppChain; } @@ -3064,7 +3064,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugFrame GetActiveFrame(this ICorDebugThread instance) { ICorDebugFrame ppFrame; - instance.GetActiveFrame(out ppFrame); + instance.__GetActiveFrame(out ppFrame); ProcessOutParameter(ppFrame); return ppFrame; } @@ -3072,7 +3072,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugRegisterSet GetRegisterSet(this ICorDebugThread instance) { ICorDebugRegisterSet ppRegisters; - instance.GetRegisterSet(out ppRegisters); + instance.__GetRegisterSet(out ppRegisters); ProcessOutParameter(ppRegisters); return ppRegisters; } @@ -3080,7 +3080,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugEval CreateEval(this ICorDebugThread instance) { ICorDebugEval ppEval; - instance.CreateEval(out ppEval); + instance.__CreateEval(out ppEval); ProcessOutParameter(ppEval); return ppEval; } @@ -3088,56 +3088,56 @@ namespace Debugger.Interop.CorDebug public static ICorDebugValue GetObject(this ICorDebugThread instance) { ICorDebugValue ppObject; - instance.GetObject(out ppObject); + instance.__GetObject(out ppObject); ProcessOutParameter(ppObject); return ppObject; } public static void GetActiveFunctions(this ICorDebugThread2 instance, uint cFunctions, out uint pcFunctions, IntPtr pFunctions) { - instance.GetActiveFunctions(cFunctions, out pcFunctions, pFunctions); + instance.__GetActiveFunctions(cFunctions, out pcFunctions, pFunctions); } public static uint GetConnectionID(this ICorDebugThread2 instance) { uint pdwConnectionId; - instance.GetConnectionID(out pdwConnectionId); + instance.__GetConnectionID(out pdwConnectionId); return pdwConnectionId; } public static ulong GetTaskID(this ICorDebugThread2 instance) { ulong pTaskId; - instance.GetTaskID(out pTaskId); + instance.__GetTaskID(out pTaskId); return pTaskId; } public static uint GetVolatileOSThreadID(this ICorDebugThread2 instance) { uint pdwTid; - instance.GetVolatileOSThreadID(out pdwTid); + instance.__GetVolatileOSThreadID(out pdwTid); return pdwTid; } public static void InterceptCurrentException(this ICorDebugThread2 instance, ICorDebugFrame pFrame) { - instance.InterceptCurrentException(pFrame); + instance.__InterceptCurrentException(pFrame); } public static void Skip(this ICorDebugThreadEnum instance, uint celt) { - instance.Skip(celt); + instance.__Skip(celt); } public static void Reset(this ICorDebugThreadEnum instance) { - instance.Reset(); + instance.__Reset(); } public static ICorDebugEnum Clone(this ICorDebugThreadEnum instance) { ICorDebugEnum ppEnum; - instance.Clone(out ppEnum); + instance.__Clone(out ppEnum); ProcessOutParameter(ppEnum); return ppEnum; } @@ -3145,28 +3145,28 @@ namespace Debugger.Interop.CorDebug public static uint GetCount(this ICorDebugThreadEnum instance) { uint pcelt; - instance.GetCount(out pcelt); + instance.__GetCount(out pcelt); return pcelt; } public static uint Next(this ICorDebugThreadEnum instance, uint celt, IntPtr threads) { uint pceltFetched; - instance.Next(celt, threads, out pceltFetched); + instance.__Next(celt, threads, out pceltFetched); return pceltFetched; } public static uint GetType(this ICorDebugType instance) { uint ty; - instance.GetType(out ty); + instance.__GetType(out ty); return ty; } public static ICorDebugClass GetClass(this ICorDebugType instance) { ICorDebugClass ppClass; - instance.GetClass(out ppClass); + instance.__GetClass(out ppClass); ProcessOutParameter(ppClass); return ppClass; } @@ -3174,7 +3174,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugTypeEnum EnumerateTypeParameters(this ICorDebugType instance) { ICorDebugTypeEnum ppTyParEnum; - instance.EnumerateTypeParameters(out ppTyParEnum); + instance.__EnumerateTypeParameters(out ppTyParEnum); ProcessOutParameter(ppTyParEnum); return ppTyParEnum; } @@ -3182,7 +3182,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugType GetFirstTypeParameter(this ICorDebugType instance) { ICorDebugType value; - instance.GetFirstTypeParameter(out value); + instance.__GetFirstTypeParameter(out value); ProcessOutParameter(value); return value; } @@ -3190,7 +3190,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugType GetBase(this ICorDebugType instance) { ICorDebugType pBase; - instance.GetBase(out pBase); + instance.__GetBase(out pBase); ProcessOutParameter(pBase); return pBase; } @@ -3198,7 +3198,7 @@ namespace Debugger.Interop.CorDebug public static ICorDebugValue GetStaticFieldValue(this ICorDebugType instance, uint fieldDef, ICorDebugFrame pFrame) { ICorDebugValue ppValue; - instance.GetStaticFieldValue(fieldDef, pFrame, out ppValue); + instance.__GetStaticFieldValue(fieldDef, pFrame, out ppValue); ProcessOutParameter(ppValue); return ppValue; } @@ -3206,24 +3206,24 @@ namespace Debugger.Interop.CorDebug public static uint GetRank(this ICorDebugType instance) { uint pnRank; - instance.GetRank(out pnRank); + instance.__GetRank(out pnRank); return pnRank; } public static void Skip(this ICorDebugTypeEnum instance, uint celt) { - instance.Skip(celt); + instance.__Skip(celt); } public static void Reset(this ICorDebugTypeEnum instance) { - instance.Reset(); + instance.__Reset(); } public static ICorDebugEnum Clone(this ICorDebugTypeEnum instance) { ICorDebugEnum ppEnum; - instance.Clone(out ppEnum); + instance.__Clone(out ppEnum); ProcessOutParameter(ppEnum); return ppEnum; } @@ -3231,48 +3231,48 @@ namespace Debugger.Interop.CorDebug public static uint GetCount(this ICorDebugTypeEnum instance) { uint pcelt; - instance.GetCount(out pcelt); + instance.__GetCount(out pcelt); return pcelt; } public static uint Next(this ICorDebugTypeEnum instance, uint celt, ICorDebugType[] values) { uint pceltFetched; - instance.Next(celt, values, out pceltFetched); + instance.__Next(celt, values, out pceltFetched); ProcessOutParameter(values); return pceltFetched; } public static void DebugEvent(this ICorDebugUnmanagedCallback instance, uint pDebugEvent, int fOutOfBand) { - instance.DebugEvent(pDebugEvent, fOutOfBand); + instance.__DebugEvent(pDebugEvent, fOutOfBand); } public static uint GetType(this ICorDebugValue instance) { uint pType; - instance.GetType(out pType); + instance.__GetType(out pType); return pType; } public static uint GetSize(this ICorDebugValue instance) { uint pSize; - instance.GetSize(out pSize); + instance.__GetSize(out pSize); return pSize; } public static ulong GetAddress(this ICorDebugValue instance) { ulong pAddress; - instance.GetAddress(out pAddress); + instance.__GetAddress(out pAddress); return pAddress; } public static ICorDebugValueBreakpoint CreateBreakpoint(this ICorDebugValue instance) { ICorDebugValueBreakpoint ppBreakpoint; - instance.CreateBreakpoint(out ppBreakpoint); + instance.__CreateBreakpoint(out ppBreakpoint); ProcessOutParameter(ppBreakpoint); return ppBreakpoint; } @@ -3280,45 +3280,45 @@ namespace Debugger.Interop.CorDebug public static ICorDebugType GetExactType(this ICorDebugValue2 instance) { ICorDebugType ppType; - instance.GetExactType(out ppType); + instance.__GetExactType(out ppType); ProcessOutParameter(ppType); return ppType; } public static void Activate(this ICorDebugValueBreakpoint instance, int bActive) { - instance.Activate(bActive); + instance.__Activate(bActive); } public static int IsActive(this ICorDebugValueBreakpoint instance) { int pbActive; - instance.IsActive(out pbActive); + instance.__IsActive(out pbActive); return pbActive; } public static ICorDebugValue GetValue(this ICorDebugValueBreakpoint instance) { ICorDebugValue ppValue; - instance.GetValue(out ppValue); + instance.__GetValue(out ppValue); ProcessOutParameter(ppValue); return ppValue; } public static void Skip(this ICorDebugValueEnum instance, uint celt) { - instance.Skip(celt); + instance.__Skip(celt); } public static void Reset(this ICorDebugValueEnum instance) { - instance.Reset(); + instance.__Reset(); } public static ICorDebugEnum Clone(this ICorDebugValueEnum instance) { ICorDebugEnum ppEnum; - instance.Clone(out ppEnum); + instance.__Clone(out ppEnum); ProcessOutParameter(ppEnum); return ppEnum; } @@ -3326,41 +3326,41 @@ namespace Debugger.Interop.CorDebug public static uint GetCount(this ICorDebugValueEnum instance) { uint pcelt; - instance.GetCount(out pcelt); + instance.__GetCount(out pcelt); return pcelt; } public static uint Next(this ICorDebugValueEnum instance, uint celt, IntPtr values) { uint pceltFetched; - instance.Next(celt, values, out pceltFetched); + instance.__Next(celt, values, out pceltFetched); return pceltFetched; } public static void RemoteRead(this ISequentialStream instance, out byte pv, uint cb, out uint pcbRead) { - instance.RemoteRead(out pv, cb, out pcbRead); + instance.__RemoteRead(out pv, cb, out pcbRead); ProcessOutParameter(pv); } public static uint RemoteWrite(this ISequentialStream instance, ref byte pv, uint cb) { uint pcbWritten; - instance.RemoteWrite(ref pv, cb, out pcbWritten); + instance.__RemoteWrite(ref pv, cb, out pcbWritten); ProcessOutParameter(pv); return pcbWritten; } public static void RemoteRead(this IStream instance, out byte pv, uint cb, out uint pcbRead) { - instance.RemoteRead(out pv, cb, out pcbRead); + instance.__RemoteRead(out pv, cb, out pcbRead); ProcessOutParameter(pv); } public static uint RemoteWrite(this IStream instance, ref byte pv, uint cb) { uint pcbWritten; - instance.RemoteWrite(ref pv, cb, out pcbWritten); + instance.__RemoteWrite(ref pv, cb, out pcbWritten); ProcessOutParameter(pv); return pcbWritten; } @@ -3368,53 +3368,53 @@ namespace Debugger.Interop.CorDebug public static _ULARGE_INTEGER RemoteSeek(this IStream instance, _LARGE_INTEGER dlibMove, uint dwOrigin) { _ULARGE_INTEGER plibNewPosition; - instance.RemoteSeek(dlibMove, dwOrigin, out plibNewPosition); + instance.__RemoteSeek(dlibMove, dwOrigin, out plibNewPosition); ProcessOutParameter(plibNewPosition); return plibNewPosition; } public static void SetSize(this IStream instance, _ULARGE_INTEGER libNewSize) { - instance.SetSize(libNewSize); + instance.__SetSize(libNewSize); } public static void RemoteCopyTo(this IStream instance, IStream pstm, _ULARGE_INTEGER cb, out _ULARGE_INTEGER pcbRead, out _ULARGE_INTEGER pcbWritten) { - instance.RemoteCopyTo(pstm, cb, out pcbRead, out pcbWritten); + instance.__RemoteCopyTo(pstm, cb, out pcbRead, out pcbWritten); ProcessOutParameter(pcbRead); ProcessOutParameter(pcbWritten); } public static void Commit(this IStream instance, uint grfCommitFlags) { - instance.Commit(grfCommitFlags); + instance.__Commit(grfCommitFlags); } public static void Revert(this IStream instance) { - instance.Revert(); + instance.__Revert(); } public static void LockRegion(this IStream instance, _ULARGE_INTEGER libOffset, _ULARGE_INTEGER cb, uint dwLockType) { - instance.LockRegion(libOffset, cb, dwLockType); + instance.__LockRegion(libOffset, cb, dwLockType); } public static void UnlockRegion(this IStream instance, _ULARGE_INTEGER libOffset, _ULARGE_INTEGER cb, uint dwLockType) { - instance.UnlockRegion(libOffset, cb, dwLockType); + instance.__UnlockRegion(libOffset, cb, dwLockType); } public static void Stat(this IStream instance, out tagSTATSTG pstatstg, uint grfStatFlag) { - instance.Stat(out pstatstg, grfStatFlag); + instance.__Stat(out pstatstg, grfStatFlag); ProcessOutParameter(pstatstg); } public static IStream Clone(this IStream instance) { IStream ppstm; - instance.Clone(out ppstm); + instance.__Clone(out ppstm); ProcessOutParameter(ppstm); return ppstm; } diff --git a/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Interop/CorPublish.cs b/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Interop/CorPublish.cs index beed41a9e1..64fc922f97 100644 --- a/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Interop/CorPublish.cs +++ b/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Interop/CorPublish.cs @@ -19,41 +19,41 @@ namespace Debugger.Interop.CorPublish { // Methods [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void Clone([MarshalAs(UnmanagedType.Interface)] out ICorPublishEnum ppEnum); + public virtual extern void __Clone([MarshalAs(UnmanagedType.Interface)] out ICorPublishEnum ppEnum); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void EnumAppDomains([MarshalAs(UnmanagedType.Interface)] out ICorPublishAppDomainEnum ppEnum); + public virtual extern void __EnumAppDomains([MarshalAs(UnmanagedType.Interface)] out ICorPublishAppDomainEnum ppEnum); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void EnumProcesses([In, ComAliasName("CorpubProcessLib.COR_PUB_ENUMPROCESS")] COR_PUB_ENUMPROCESS Type, [MarshalAs(UnmanagedType.Interface)] out ICorPublishProcessEnum ppIEnum); + public virtual extern void __EnumProcesses([In, ComAliasName("CorpubProcessLib.COR_PUB_ENUMPROCESS")] COR_PUB_ENUMPROCESS Type, [MarshalAs(UnmanagedType.Interface)] out ICorPublishProcessEnum ppIEnum); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void GetCount(out uint pcelt); + public virtual extern void __GetCount(out uint pcelt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void GetDisplayName([In] uint cchName, out uint pcchName, [Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder szName); + public virtual extern void __GetDisplayName([In] uint cchName, out uint pcchName, [Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder szName); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void GetID(out uint puId); + public virtual extern void __GetID(out uint puId); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void GetName([In] uint cchName, out uint pcchName, [Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder szName); + public virtual extern void __GetName([In] uint cchName, out uint pcchName, [Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder szName); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void GetProcess([In] uint pid, [MarshalAs(UnmanagedType.Interface)] out ICorPublishProcess ppProcess); + public virtual extern void __GetProcess([In] uint pid, [MarshalAs(UnmanagedType.Interface)] out ICorPublishProcess ppProcess); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void GetProcessID(out uint pid); + public virtual extern void __GetProcessID(out uint pid); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void ICorPublishAppDomainEnum_Clone([MarshalAs(UnmanagedType.Interface)] out ICorPublishEnum ppEnum); + public virtual extern void __ICorPublishAppDomainEnum_Clone([MarshalAs(UnmanagedType.Interface)] out ICorPublishEnum ppEnum); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void ICorPublishAppDomainEnum_GetCount(out uint pcelt); + public virtual extern void __ICorPublishAppDomainEnum_GetCount(out uint pcelt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void ICorPublishAppDomainEnum_Reset(); + public virtual extern void __ICorPublishAppDomainEnum_Reset(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void ICorPublishAppDomainEnum_Skip([In] uint celt); + public virtual extern void __ICorPublishAppDomainEnum_Skip([In] uint celt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void IsManaged(out int pbManaged); + public virtual extern void __IsManaged(out int pbManaged); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void Next([In] uint celt, [MarshalAs(UnmanagedType.Interface)] out ICorPublishAppDomain objects, out uint pceltFetched); + public virtual extern void __Next([In] uint celt, [MarshalAs(UnmanagedType.Interface)] out ICorPublishAppDomain objects, out uint pceltFetched); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void Next([In] uint celt, [MarshalAs(UnmanagedType.Interface)] out ICorPublishProcess objects, out uint pceltFetched); + public virtual extern void __Next([In] uint celt, [MarshalAs(UnmanagedType.Interface)] out ICorPublishProcess objects, out uint pceltFetched); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void Reset(); + public virtual extern void __Reset(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void Skip([In] uint celt); + public virtual extern void __Skip([In] uint celt); } [ComImport, CoClass(typeof(CorpubPublishClass)), Guid("9613A0E7-5A68-11D3-8F84-00A0C9B4D50C")] @@ -70,73 +70,73 @@ namespace Debugger.Interop.CorPublish public interface ICorPublish { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void EnumProcesses([In, ComAliasName("CorpubProcessLib.COR_PUB_ENUMPROCESS")] COR_PUB_ENUMPROCESS Type, [MarshalAs(UnmanagedType.Interface)] out ICorPublishProcessEnum ppIEnum); + void __EnumProcesses([In, ComAliasName("CorpubProcessLib.COR_PUB_ENUMPROCESS")] COR_PUB_ENUMPROCESS Type, [MarshalAs(UnmanagedType.Interface)] out ICorPublishProcessEnum ppIEnum); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetProcess([In] uint pid, [MarshalAs(UnmanagedType.Interface)] out ICorPublishProcess ppProcess); + void __GetProcess([In] uint pid, [MarshalAs(UnmanagedType.Interface)] out ICorPublishProcess ppProcess); } [ComImport, Guid("D6315C8F-5A6A-11D3-8F84-00A0C9B4D50C"), InterfaceType((short) 1)] public interface ICorPublishAppDomain { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetID(out uint puId); + void __GetID(out uint puId); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetName([In] uint cchName, out uint pcchName, [Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder szName); + void __GetName([In] uint cchName, out uint pcchName, [Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder szName); } [ComImport, Guid("9F0C98F5-5A6A-11D3-8F84-00A0C9B4D50C"), InterfaceType((short) 1),] public interface ICorPublishAppDomainEnum : ICorPublishEnum { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Skip([In] uint celt); + void __Skip([In] uint celt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Reset(); + void __Reset(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Clone([MarshalAs(UnmanagedType.Interface)] out ICorPublishEnum ppEnum); + void __Clone([MarshalAs(UnmanagedType.Interface)] out ICorPublishEnum ppEnum); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCount(out uint pcelt); + void __GetCount(out uint pcelt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Next([In] uint celt, [MarshalAs(UnmanagedType.Interface)] out ICorPublishAppDomain objects, out uint pceltFetched); + void __Next([In] uint celt, [MarshalAs(UnmanagedType.Interface)] out ICorPublishAppDomain objects, out uint pceltFetched); } [ComImport, Guid("C0B22967-5A69-11D3-8F84-00A0C9B4D50C"), InterfaceType((short) 1)] public interface ICorPublishEnum { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Skip([In] uint celt); + void __Skip([In] uint celt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Reset(); + void __Reset(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Clone([MarshalAs(UnmanagedType.Interface)] out ICorPublishEnum ppEnum); + void __Clone([MarshalAs(UnmanagedType.Interface)] out ICorPublishEnum ppEnum); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCount(out uint pcelt); + void __GetCount(out uint pcelt); } [ComImport, Guid("18D87AF1-5A6A-11D3-8F84-00A0C9B4D50C"), InterfaceType((short) 1)] public interface ICorPublishProcess { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void IsManaged(out int pbManaged); + void __IsManaged(out int pbManaged); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void EnumAppDomains([MarshalAs(UnmanagedType.Interface)] out ICorPublishAppDomainEnum ppEnum); + void __EnumAppDomains([MarshalAs(UnmanagedType.Interface)] out ICorPublishAppDomainEnum ppEnum); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetProcessID(out uint pid); + void __GetProcessID(out uint pid); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetDisplayName([In] uint cchName, out uint pcchName, [Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder szName); + void __GetDisplayName([In] uint cchName, out uint pcchName, [Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder szName); } [ComImport, Guid("A37FBD41-5A69-11D3-8F84-00A0C9B4D50C"), InterfaceType((short) 1)] public interface ICorPublishProcessEnum : ICorPublishEnum { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Skip([In] uint celt); + void __Skip([In] uint celt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Reset(); + void __Reset(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Clone([MarshalAs(UnmanagedType.Interface)] out ICorPublishEnum ppEnum); + void __Clone([MarshalAs(UnmanagedType.Interface)] out ICorPublishEnum ppEnum); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCount(out uint pcelt); + void __GetCount(out uint pcelt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Next([In] uint celt, [MarshalAs(UnmanagedType.Interface)] out ICorPublishProcess objects, out uint pceltFetched); + void __Next([In] uint celt, [MarshalAs(UnmanagedType.Interface)] out ICorPublishProcess objects, out uint pceltFetched); } } diff --git a/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Interop/CorPublishExtensionMethods.generated.cs b/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Interop/CorPublishExtensionMethods.generated.cs index 770a5c6fde..349ac72b7b 100644 --- a/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Interop/CorPublishExtensionMethods.generated.cs +++ b/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Interop/CorPublishExtensionMethods.generated.cs @@ -21,7 +21,7 @@ namespace Debugger.Interop.CorPublish public static ICorPublishEnum Clone(this CorpubPublishClass instance) { ICorPublishEnum ppEnum; - instance.Clone(out ppEnum); + instance.__Clone(out ppEnum); ProcessOutParameter(ppEnum); return ppEnum; } @@ -29,7 +29,7 @@ namespace Debugger.Interop.CorPublish public static ICorPublishAppDomainEnum EnumAppDomains(this CorpubPublishClass instance) { ICorPublishAppDomainEnum ppEnum; - instance.EnumAppDomains(out ppEnum); + instance.__EnumAppDomains(out ppEnum); ProcessOutParameter(ppEnum); return ppEnum; } @@ -37,7 +37,7 @@ namespace Debugger.Interop.CorPublish public static ICorPublishProcessEnum EnumProcesses(this CorpubPublishClass instance, COR_PUB_ENUMPROCESS Type) { ICorPublishProcessEnum ppIEnum; - instance.EnumProcesses(Type, out ppIEnum); + instance.__EnumProcesses(Type, out ppIEnum); ProcessOutParameter(ppIEnum); return ppIEnum; } @@ -45,31 +45,31 @@ namespace Debugger.Interop.CorPublish public static uint GetCount(this CorpubPublishClass instance) { uint pcelt; - instance.GetCount(out pcelt); + instance.__GetCount(out pcelt); return pcelt; } public static void GetDisplayName(this CorpubPublishClass instance, uint cchName, out uint pcchName, StringBuilder szName) { - instance.GetDisplayName(cchName, out pcchName, szName); + instance.__GetDisplayName(cchName, out pcchName, szName); } public static uint GetID(this CorpubPublishClass instance) { uint puId; - instance.GetID(out puId); + instance.__GetID(out puId); return puId; } public static void GetName(this CorpubPublishClass instance, uint cchName, out uint pcchName, StringBuilder szName) { - instance.GetName(cchName, out pcchName, szName); + instance.__GetName(cchName, out pcchName, szName); } public static ICorPublishProcess GetProcess(this CorpubPublishClass instance, uint pid) { ICorPublishProcess ppProcess; - instance.GetProcess(pid, out ppProcess); + instance.__GetProcess(pid, out ppProcess); ProcessOutParameter(ppProcess); return ppProcess; } @@ -77,14 +77,14 @@ namespace Debugger.Interop.CorPublish public static uint GetProcessID(this CorpubPublishClass instance) { uint pid; - instance.GetProcessID(out pid); + instance.__GetProcessID(out pid); return pid; } public static ICorPublishEnum ICorPublishAppDomainEnum_Clone(this CorpubPublishClass instance) { ICorPublishEnum ppEnum; - instance.ICorPublishAppDomainEnum_Clone(out ppEnum); + instance.__ICorPublishAppDomainEnum_Clone(out ppEnum); ProcessOutParameter(ppEnum); return ppEnum; } @@ -92,53 +92,53 @@ namespace Debugger.Interop.CorPublish public static uint ICorPublishAppDomainEnum_GetCount(this CorpubPublishClass instance) { uint pcelt; - instance.ICorPublishAppDomainEnum_GetCount(out pcelt); + instance.__ICorPublishAppDomainEnum_GetCount(out pcelt); return pcelt; } public static void ICorPublishAppDomainEnum_Reset(this CorpubPublishClass instance) { - instance.ICorPublishAppDomainEnum_Reset(); + instance.__ICorPublishAppDomainEnum_Reset(); } public static void ICorPublishAppDomainEnum_Skip(this CorpubPublishClass instance, uint celt) { - instance.ICorPublishAppDomainEnum_Skip(celt); + instance.__ICorPublishAppDomainEnum_Skip(celt); } public static int IsManaged(this CorpubPublishClass instance) { int pbManaged; - instance.IsManaged(out pbManaged); + instance.__IsManaged(out pbManaged); return pbManaged; } public static void Next(this CorpubPublishClass instance, uint celt, out ICorPublishAppDomain objects, out uint pceltFetched) { - instance.Next(celt, out objects, out pceltFetched); + instance.__Next(celt, out objects, out pceltFetched); ProcessOutParameter(objects); } public static void Next(this CorpubPublishClass instance, uint celt, out ICorPublishProcess objects, out uint pceltFetched) { - instance.Next(celt, out objects, out pceltFetched); + instance.__Next(celt, out objects, out pceltFetched); ProcessOutParameter(objects); } public static void Reset(this CorpubPublishClass instance) { - instance.Reset(); + instance.__Reset(); } public static void Skip(this CorpubPublishClass instance, uint celt) { - instance.Skip(celt); + instance.__Skip(celt); } public static ICorPublishProcessEnum EnumProcesses(this ICorPublish instance, COR_PUB_ENUMPROCESS Type) { ICorPublishProcessEnum ppIEnum; - instance.EnumProcesses(Type, out ppIEnum); + instance.__EnumProcesses(Type, out ppIEnum); ProcessOutParameter(ppIEnum); return ppIEnum; } @@ -146,7 +146,7 @@ namespace Debugger.Interop.CorPublish public static ICorPublishProcess GetProcess(this ICorPublish instance, uint pid) { ICorPublishProcess ppProcess; - instance.GetProcess(pid, out ppProcess); + instance.__GetProcess(pid, out ppProcess); ProcessOutParameter(ppProcess); return ppProcess; } @@ -154,29 +154,29 @@ namespace Debugger.Interop.CorPublish public static uint GetID(this ICorPublishAppDomain instance) { uint puId; - instance.GetID(out puId); + instance.__GetID(out puId); return puId; } public static void GetName(this ICorPublishAppDomain instance, uint cchName, out uint pcchName, StringBuilder szName) { - instance.GetName(cchName, out pcchName, szName); + instance.__GetName(cchName, out pcchName, szName); } public static void Skip(this ICorPublishAppDomainEnum instance, uint celt) { - instance.Skip(celt); + instance.__Skip(celt); } public static void Reset(this ICorPublishAppDomainEnum instance) { - instance.Reset(); + instance.__Reset(); } public static ICorPublishEnum Clone(this ICorPublishAppDomainEnum instance) { ICorPublishEnum ppEnum; - instance.Clone(out ppEnum); + instance.__Clone(out ppEnum); ProcessOutParameter(ppEnum); return ppEnum; } @@ -184,30 +184,30 @@ namespace Debugger.Interop.CorPublish public static uint GetCount(this ICorPublishAppDomainEnum instance) { uint pcelt; - instance.GetCount(out pcelt); + instance.__GetCount(out pcelt); return pcelt; } public static void Next(this ICorPublishAppDomainEnum instance, uint celt, out ICorPublishAppDomain objects, out uint pceltFetched) { - instance.Next(celt, out objects, out pceltFetched); + instance.__Next(celt, out objects, out pceltFetched); ProcessOutParameter(objects); } public static void Skip(this ICorPublishEnum instance, uint celt) { - instance.Skip(celt); + instance.__Skip(celt); } public static void Reset(this ICorPublishEnum instance) { - instance.Reset(); + instance.__Reset(); } public static ICorPublishEnum Clone(this ICorPublishEnum instance) { ICorPublishEnum ppEnum; - instance.Clone(out ppEnum); + instance.__Clone(out ppEnum); ProcessOutParameter(ppEnum); return ppEnum; } @@ -215,21 +215,21 @@ namespace Debugger.Interop.CorPublish public static uint GetCount(this ICorPublishEnum instance) { uint pcelt; - instance.GetCount(out pcelt); + instance.__GetCount(out pcelt); return pcelt; } public static int IsManaged(this ICorPublishProcess instance) { int pbManaged; - instance.IsManaged(out pbManaged); + instance.__IsManaged(out pbManaged); return pbManaged; } public static ICorPublishAppDomainEnum EnumAppDomains(this ICorPublishProcess instance) { ICorPublishAppDomainEnum ppEnum; - instance.EnumAppDomains(out ppEnum); + instance.__EnumAppDomains(out ppEnum); ProcessOutParameter(ppEnum); return ppEnum; } @@ -237,29 +237,29 @@ namespace Debugger.Interop.CorPublish public static uint GetProcessID(this ICorPublishProcess instance) { uint pid; - instance.GetProcessID(out pid); + instance.__GetProcessID(out pid); return pid; } public static void GetDisplayName(this ICorPublishProcess instance, uint cchName, out uint pcchName, StringBuilder szName) { - instance.GetDisplayName(cchName, out pcchName, szName); + instance.__GetDisplayName(cchName, out pcchName, szName); } public static void Skip(this ICorPublishProcessEnum instance, uint celt) { - instance.Skip(celt); + instance.__Skip(celt); } public static void Reset(this ICorPublishProcessEnum instance) { - instance.Reset(); + instance.__Reset(); } public static ICorPublishEnum Clone(this ICorPublishProcessEnum instance) { ICorPublishEnum ppEnum; - instance.Clone(out ppEnum); + instance.__Clone(out ppEnum); ProcessOutParameter(ppEnum); return ppEnum; } @@ -267,13 +267,13 @@ namespace Debugger.Interop.CorPublish public static uint GetCount(this ICorPublishProcessEnum instance) { uint pcelt; - instance.GetCount(out pcelt); + instance.__GetCount(out pcelt); return pcelt; } public static void Next(this ICorPublishProcessEnum instance, uint celt, out ICorPublishProcess objects, out uint pceltFetched) { - instance.Next(celt, out objects, out pceltFetched); + instance.__Next(celt, out objects, out pceltFetched); ProcessOutParameter(objects); } diff --git a/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Interop/CorSym.cs b/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Interop/CorSym.cs index dc307e5910..26c23e8947 100644 --- a/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Interop/CorSym.cs +++ b/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Interop/CorSym.cs @@ -39,11 +39,11 @@ namespace Debugger.Interop.CorSym // Methods [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern ISymUnmanagedReader GetReaderForFile([In, MarshalAs(UnmanagedType.IUnknown)] object importer, [In] IntPtr filename, [In] IntPtr searchPath); + public virtual extern ISymUnmanagedReader __GetReaderForFile([In, MarshalAs(UnmanagedType.IUnknown)] object importer, [In] IntPtr filename, [In] IntPtr searchPath); [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern ISymUnmanagedReader GetReaderFromStream([In, MarshalAs(UnmanagedType.IUnknown)] object importer, [In, MarshalAs(UnmanagedType.Interface)] IStream pstream); + public virtual extern ISymUnmanagedReader __GetReaderFromStream([In, MarshalAs(UnmanagedType.IUnknown)] object importer, [In, MarshalAs(UnmanagedType.Interface)] IStream pstream); } @@ -58,11 +58,11 @@ namespace Debugger.Interop.CorSym // Methods [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern ISymUnmanagedReader GetReaderForFile([In, MarshalAs(UnmanagedType.IUnknown)] object importer, [In] IntPtr filename, [In] IntPtr searchPath); + public virtual extern ISymUnmanagedReader __GetReaderForFile([In, MarshalAs(UnmanagedType.IUnknown)] object importer, [In] IntPtr filename, [In] IntPtr searchPath); [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern ISymUnmanagedReader GetReaderFromStream([In, MarshalAs(UnmanagedType.IUnknown)] object importer, [In, MarshalAs(UnmanagedType.Interface)] IStream pstream); + public virtual extern ISymUnmanagedReader __GetReaderFromStream([In, MarshalAs(UnmanagedType.IUnknown)] object importer, [In, MarshalAs(UnmanagedType.Interface)] IStream pstream); } @@ -77,58 +77,58 @@ namespace Debugger.Interop.CorSym // Methods [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern ISymUnmanagedDocument GetDocument([In] IntPtr url, [In] Guid language, [In] Guid languageVendor, [In] Guid documentType); + public virtual extern ISymUnmanagedDocument __GetDocument([In] IntPtr url, [In] Guid language, [In] Guid languageVendor, [In] Guid documentType); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void GetDocuments([In] uint cDocs, out uint pcDocs, [Out, MarshalAs(UnmanagedType.LPArray)] ISymUnmanagedDocument[] pDocs); + public virtual extern void __GetDocuments([In] uint cDocs, out uint pcDocs, [Out, MarshalAs(UnmanagedType.LPArray)] ISymUnmanagedDocument[] pDocs); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void GetDocumentVersion([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocument pDoc, out int version, out int pbCurrent); + public virtual extern void __GetDocumentVersion([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocument pDoc, out int version, out int pbCurrent); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void GetGlobalVariables([In] uint cVars, out uint pcVars, [Out] IntPtr pVars); + public virtual extern void __GetGlobalVariables([In] uint cVars, out uint pcVars, [Out] IntPtr pVars); [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern ISymUnmanagedMethod GetMethod([In] uint token); + public virtual extern ISymUnmanagedMethod __GetMethod([In] uint token); [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern ISymUnmanagedMethod GetMethodByVersion([In] uint token, [In] int version); + public virtual extern ISymUnmanagedMethod __GetMethodByVersion([In] uint token, [In] int version); [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern ISymUnmanagedMethod GetMethodFromDocumentPosition([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocument document, [In] uint line, [In] uint column); + public virtual extern ISymUnmanagedMethod __GetMethodFromDocumentPosition([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocument document, [In] uint line, [In] uint column); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void GetMethodsFromDocumentPosition([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocument document, [In] uint line, [In] uint column, [In] uint cMethod, out uint pcMethod, [Out] IntPtr pRetVal); + public virtual extern void __GetMethodsFromDocumentPosition([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocument document, [In] uint line, [In] uint column, [In] uint cMethod, out uint pcMethod, [Out] IntPtr pRetVal); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void GetMethodVersion([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedMethod pMethod, out int version); + public virtual extern void __GetMethodVersion([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedMethod pMethod, out int version); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void GetNamespaces([In] uint cNameSpaces, out uint pcNameSpaces, [Out] IntPtr namespaces); + public virtual extern void __GetNamespaces([In] uint cNameSpaces, out uint pcNameSpaces, [Out] IntPtr namespaces); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void GetSymAttribute([In] uint parent, [In] IntPtr name, [In] uint cBuffer, out uint pcBuffer, [Out] IntPtr buffer); + public virtual extern void __GetSymAttribute([In] uint parent, [In] IntPtr name, [In] uint cBuffer, out uint pcBuffer, [Out] IntPtr buffer); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void GetSymbolStoreFileName([In] uint cchName, out uint pcchName, [Out] IntPtr szName); + public virtual extern void __GetSymbolStoreFileName([In] uint cchName, out uint pcchName, [Out] IntPtr szName); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern uint GetUserEntryPoint(); + public virtual extern uint __GetUserEntryPoint(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void GetVariables([In] uint parent, [In] uint cVars, out uint pcVars, [Out] IntPtr pVars); + public virtual extern void __GetVariables([In] uint parent, [In] uint cVars, out uint pcVars, [Out] IntPtr pVars); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void Initialize([In, MarshalAs(UnmanagedType.IUnknown)] object importer, [In] IntPtr filename, [In] IntPtr searchPath, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream); + public virtual extern void __Initialize([In, MarshalAs(UnmanagedType.IUnknown)] object importer, [In] IntPtr filename, [In] IntPtr searchPath, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void ReplaceSymbolStore([In] IntPtr filename, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream); + public virtual extern void __ReplaceSymbolStore([In] IntPtr filename, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void UpdateSymbolStore([In] IntPtr filename, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream); + public virtual extern void __UpdateSymbolStore([In] IntPtr filename, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream); } @@ -143,58 +143,58 @@ namespace Debugger.Interop.CorSym // Methods [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern ISymUnmanagedDocument GetDocument([In] IntPtr url, [In] Guid language, [In] Guid languageVendor, [In] Guid documentType); + public virtual extern ISymUnmanagedDocument __GetDocument([In] IntPtr url, [In] Guid language, [In] Guid languageVendor, [In] Guid documentType); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void GetDocuments([In] uint cDocs, out uint pcDocs, [Out, MarshalAs(UnmanagedType.LPArray)] ISymUnmanagedDocument[] pDocs); + public virtual extern void __GetDocuments([In] uint cDocs, out uint pcDocs, [Out, MarshalAs(UnmanagedType.LPArray)] ISymUnmanagedDocument[] pDocs); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void GetDocumentVersion([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocument pDoc, out int version, out int pbCurrent); + public virtual extern void __GetDocumentVersion([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocument pDoc, out int version, out int pbCurrent); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void GetGlobalVariables([In] uint cVars, out uint pcVars, [Out] IntPtr pVars); + public virtual extern void __GetGlobalVariables([In] uint cVars, out uint pcVars, [Out] IntPtr pVars); [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern ISymUnmanagedMethod GetMethod([In] uint token); + public virtual extern ISymUnmanagedMethod __GetMethod([In] uint token); [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern ISymUnmanagedMethod GetMethodByVersion([In] uint token, [In] int version); + public virtual extern ISymUnmanagedMethod __GetMethodByVersion([In] uint token, [In] int version); [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern ISymUnmanagedMethod GetMethodFromDocumentPosition([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocument document, [In] uint line, [In] uint column); + public virtual extern ISymUnmanagedMethod __GetMethodFromDocumentPosition([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocument document, [In] uint line, [In] uint column); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void GetMethodsFromDocumentPosition([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocument document, [In] uint line, [In] uint column, [In] uint cMethod, out uint pcMethod, [Out] IntPtr pRetVal); + public virtual extern void __GetMethodsFromDocumentPosition([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocument document, [In] uint line, [In] uint column, [In] uint cMethod, out uint pcMethod, [Out] IntPtr pRetVal); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void GetMethodVersion([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedMethod pMethod, out int version); + public virtual extern void __GetMethodVersion([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedMethod pMethod, out int version); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void GetNamespaces([In] uint cNameSpaces, out uint pcNameSpaces, [Out] IntPtr namespaces); + public virtual extern void __GetNamespaces([In] uint cNameSpaces, out uint pcNameSpaces, [Out] IntPtr namespaces); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void GetSymAttribute([In] uint parent, [In] IntPtr name, [In] uint cBuffer, out uint pcBuffer, [Out] IntPtr buffer); + public virtual extern void __GetSymAttribute([In] uint parent, [In] IntPtr name, [In] uint cBuffer, out uint pcBuffer, [Out] IntPtr buffer); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void GetSymbolStoreFileName([In] uint cchName, out uint pcchName, [Out] IntPtr szName); + public virtual extern void __GetSymbolStoreFileName([In] uint cchName, out uint pcchName, [Out] IntPtr szName); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern uint GetUserEntryPoint(); + public virtual extern uint __GetUserEntryPoint(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void GetVariables([In] uint parent, [In] uint cVars, out uint pcVars, [Out] IntPtr pVars); + public virtual extern void __GetVariables([In] uint parent, [In] uint cVars, out uint pcVars, [Out] IntPtr pVars); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void Initialize([In, MarshalAs(UnmanagedType.IUnknown)] object importer, [In] IntPtr filename, [In] IntPtr searchPath, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream); + public virtual extern void __Initialize([In, MarshalAs(UnmanagedType.IUnknown)] object importer, [In] IntPtr filename, [In] IntPtr searchPath, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void ReplaceSymbolStore([In] IntPtr filename, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream); + public virtual extern void __ReplaceSymbolStore([In] IntPtr filename, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void UpdateSymbolStore([In] IntPtr filename, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream); + public virtual extern void __UpdateSymbolStore([In] IntPtr filename, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream); } @@ -223,77 +223,77 @@ namespace Debugger.Interop.CorSym { // Methods [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void Abort(); + public virtual extern void __Abort(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void Close(); + public virtual extern void __Close(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void CloseMethod(); + public virtual extern void __CloseMethod(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void CloseNamespace(); + public virtual extern void __CloseNamespace(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void CloseScope([In] uint endOffset); + public virtual extern void __CloseScope([In] uint endOffset); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void DefineConstant([In] IntPtr name, [In, MarshalAs(UnmanagedType.Struct)] object value, [In] uint cSig, [In] ref byte signature); + public virtual extern void __DefineConstant([In] IntPtr name, [In, MarshalAs(UnmanagedType.Struct)] object value, [In] uint cSig, [In] ref byte signature); [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern ISymUnmanagedDocumentWriter DefineDocument([In] IntPtr url, [In] ref Guid language, [In] ref Guid languageVendor, [In] ref Guid documentType); + public virtual extern ISymUnmanagedDocumentWriter __DefineDocument([In] IntPtr url, [In] ref Guid language, [In] ref Guid languageVendor, [In] ref Guid documentType); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void DefineField([In] uint parent, [In] IntPtr name, [In] uint attributes, [In] uint cSig, [In] ref byte signature, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3); + public virtual extern void __DefineField([In] uint parent, [In] IntPtr name, [In] uint attributes, [In] uint cSig, [In] ref byte signature, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void DefineGlobalVariable([In] IntPtr name, [In] uint attributes, [In] uint cSig, [In] ref byte signature, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3); + public virtual extern void __DefineGlobalVariable([In] IntPtr name, [In] uint attributes, [In] uint cSig, [In] ref byte signature, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void DefineLocalVariable([In] IntPtr name, [In] uint attributes, [In] uint cSig, [In] ref byte signature, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3, [In] uint startOffset, [In] uint endOffset); + public virtual extern void __DefineLocalVariable([In] IntPtr name, [In] uint attributes, [In] uint cSig, [In] ref byte signature, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3, [In] uint startOffset, [In] uint endOffset); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void DefineParameter([In] IntPtr name, [In] uint attributes, [In] uint sequence, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3); + public virtual extern void __DefineParameter([In] IntPtr name, [In] uint attributes, [In] uint sequence, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void DefineSequencePoints([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocumentWriter document, [In] uint spCount, [In] ref uint offsets, [In] ref uint lines, [In] ref uint columns, [In] ref uint endLines, [In] ref uint endColumns); + public virtual extern void __DefineSequencePoints([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocumentWriter document, [In] uint spCount, [In] ref uint offsets, [In] ref uint lines, [In] ref uint columns, [In] ref uint endLines, [In] ref uint endColumns); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void GetDebugInfo([In] ref uint pIDD, [In] uint cData, out uint pcData, [Out] IntPtr data); + public virtual extern void __GetDebugInfo([In] ref uint pIDD, [In] uint cData, out uint pcData, [Out] IntPtr data); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void Initialize([In, MarshalAs(UnmanagedType.IUnknown)] object emitter, [In] IntPtr filename, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream, [In] int fFullBuild); + public virtual extern void __Initialize([In, MarshalAs(UnmanagedType.IUnknown)] object emitter, [In] IntPtr filename, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream, [In] int fFullBuild); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void Initialize2([In, MarshalAs(UnmanagedType.IUnknown)] object emitter, [In] IntPtr tempfilename, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream, [In] int fFullBuild, [In] IntPtr finalfilename); + public virtual extern void __Initialize2([In, MarshalAs(UnmanagedType.IUnknown)] object emitter, [In] IntPtr tempfilename, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream, [In] int fFullBuild, [In] IntPtr finalfilename); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void OpenMethod([In] uint method); + public virtual extern void __OpenMethod([In] uint method); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void OpenNamespace([In] IntPtr name); + public virtual extern void __OpenNamespace([In] IntPtr name); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern uint OpenScope([In] uint startOffset); + public virtual extern uint __OpenScope([In] uint startOffset); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void RemapToken([In] uint oldToken, [In] uint newToken); + public virtual extern void __RemapToken([In] uint oldToken, [In] uint newToken); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void SetMethodSourceRange([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocumentWriter startDoc, [In] uint startLine, [In] uint startColumn, [In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocumentWriter endDoc, [In] uint endLine, [In] uint endColumn); + public virtual extern void __SetMethodSourceRange([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocumentWriter startDoc, [In] uint startLine, [In] uint startColumn, [In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocumentWriter endDoc, [In] uint endLine, [In] uint endColumn); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void SetScopeRange([In] uint scopeID, [In] uint startOffset, [In] uint endOffset); + public virtual extern void __SetScopeRange([In] uint scopeID, [In] uint startOffset, [In] uint endOffset); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void SetSymAttribute([In] uint parent, [In] IntPtr name, [In] uint cData, [In] ref byte data); + public virtual extern void __SetSymAttribute([In] uint parent, [In] IntPtr name, [In] uint cData, [In] ref byte data); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void SetUserEntryPoint([In] uint entryMethod); + public virtual extern void __SetUserEntryPoint([In] uint entryMethod); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void UsingNamespace([In] IntPtr fullName); + public virtual extern void __UsingNamespace([In] IntPtr fullName); } @@ -307,77 +307,77 @@ namespace Debugger.Interop.CorSym { // Methods [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void Abort(); + public virtual extern void __Abort(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void Close(); + public virtual extern void __Close(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void CloseMethod(); + public virtual extern void __CloseMethod(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void CloseNamespace(); + public virtual extern void __CloseNamespace(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void CloseScope([In] uint endOffset); + public virtual extern void __CloseScope([In] uint endOffset); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void DefineConstant([In] IntPtr name, [In, MarshalAs(UnmanagedType.Struct)] object value, [In] uint cSig, [In] ref byte signature); + public virtual extern void __DefineConstant([In] IntPtr name, [In, MarshalAs(UnmanagedType.Struct)] object value, [In] uint cSig, [In] ref byte signature); [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern ISymUnmanagedDocumentWriter DefineDocument([In] IntPtr url, [In] ref Guid language, [In] ref Guid languageVendor, [In] ref Guid documentType); + public virtual extern ISymUnmanagedDocumentWriter __DefineDocument([In] IntPtr url, [In] ref Guid language, [In] ref Guid languageVendor, [In] ref Guid documentType); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void DefineField([In] uint parent, [In] IntPtr name, [In] uint attributes, [In] uint cSig, [In] ref byte signature, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3); + public virtual extern void __DefineField([In] uint parent, [In] IntPtr name, [In] uint attributes, [In] uint cSig, [In] ref byte signature, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void DefineGlobalVariable([In] IntPtr name, [In] uint attributes, [In] uint cSig, [In] ref byte signature, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3); + public virtual extern void __DefineGlobalVariable([In] IntPtr name, [In] uint attributes, [In] uint cSig, [In] ref byte signature, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void DefineLocalVariable([In] IntPtr name, [In] uint attributes, [In] uint cSig, [In] ref byte signature, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3, [In] uint startOffset, [In] uint endOffset); + public virtual extern void __DefineLocalVariable([In] IntPtr name, [In] uint attributes, [In] uint cSig, [In] ref byte signature, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3, [In] uint startOffset, [In] uint endOffset); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void DefineParameter([In] IntPtr name, [In] uint attributes, [In] uint sequence, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3); + public virtual extern void __DefineParameter([In] IntPtr name, [In] uint attributes, [In] uint sequence, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void DefineSequencePoints([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocumentWriter document, [In] uint spCount, [In] ref uint offsets, [In] ref uint lines, [In] ref uint columns, [In] ref uint endLines, [In] ref uint endColumns); + public virtual extern void __DefineSequencePoints([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocumentWriter document, [In] uint spCount, [In] ref uint offsets, [In] ref uint lines, [In] ref uint columns, [In] ref uint endLines, [In] ref uint endColumns); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void GetDebugInfo([In] ref uint pIDD, [In] uint cData, out uint pcData, [Out] IntPtr data); + public virtual extern void __GetDebugInfo([In] ref uint pIDD, [In] uint cData, out uint pcData, [Out] IntPtr data); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void Initialize([In, MarshalAs(UnmanagedType.IUnknown)] object emitter, [In] IntPtr filename, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream, [In] int fFullBuild); + public virtual extern void __Initialize([In, MarshalAs(UnmanagedType.IUnknown)] object emitter, [In] IntPtr filename, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream, [In] int fFullBuild); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void Initialize2([In, MarshalAs(UnmanagedType.IUnknown)] object emitter, [In] IntPtr tempfilename, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream, [In] int fFullBuild, [In] IntPtr finalfilename); + public virtual extern void __Initialize2([In, MarshalAs(UnmanagedType.IUnknown)] object emitter, [In] IntPtr tempfilename, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream, [In] int fFullBuild, [In] IntPtr finalfilename); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void OpenMethod([In] uint method); + public virtual extern void __OpenMethod([In] uint method); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void OpenNamespace([In] IntPtr name); + public virtual extern void __OpenNamespace([In] IntPtr name); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern uint OpenScope([In] uint startOffset); + public virtual extern uint __OpenScope([In] uint startOffset); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void RemapToken([In] uint oldToken, [In] uint newToken); + public virtual extern void __RemapToken([In] uint oldToken, [In] uint newToken); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void SetMethodSourceRange([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocumentWriter startDoc, [In] uint startLine, [In] uint startColumn, [In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocumentWriter endDoc, [In] uint endLine, [In] uint endColumn); + public virtual extern void __SetMethodSourceRange([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocumentWriter startDoc, [In] uint startLine, [In] uint startColumn, [In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocumentWriter endDoc, [In] uint endLine, [In] uint endColumn); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void SetScopeRange([In] uint scopeID, [In] uint startOffset, [In] uint endOffset); + public virtual extern void __SetScopeRange([In] uint scopeID, [In] uint startOffset, [In] uint endOffset); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void SetSymAttribute([In] uint parent, [In] IntPtr name, [In] uint cData, [In] ref byte data); + public virtual extern void __SetSymAttribute([In] uint parent, [In] IntPtr name, [In] uint cData, [In] ref byte data); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void SetUserEntryPoint([In] uint entryMethod); + public virtual extern void __SetUserEntryPoint([In] uint entryMethod); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - public virtual extern void UsingNamespace([In] IntPtr fullName); + public virtual extern void __UsingNamespace([In] IntPtr fullName); } @@ -385,36 +385,36 @@ namespace Debugger.Interop.CorSym public interface ISequentialStream { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void RemoteRead(out byte pv, [In] uint cb, out uint pcbRead); + void __RemoteRead(out byte pv, [In] uint cb, out uint pcbRead); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void RemoteWrite([In] ref byte pv, [In] uint cb, out uint pcbWritten); + void __RemoteWrite([In] ref byte pv, [In] uint cb, out uint pcbWritten); } [ComImport, InterfaceType((short) 1), Guid("0000000C-0000-0000-C000-000000000046")] public interface IStream : ISequentialStream { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void RemoteRead(out byte pv, [In] uint cb, out uint pcbRead); + void __RemoteRead(out byte pv, [In] uint cb, out uint pcbRead); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void RemoteWrite([In] ref byte pv, [In] uint cb, out uint pcbWritten); + void __RemoteWrite([In] ref byte pv, [In] uint cb, out uint pcbWritten); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void RemoteSeek([In] _LARGE_INTEGER dlibMove, [In] uint dwOrigin, out _ULARGE_INTEGER plibNewPosition); + void __RemoteSeek([In] _LARGE_INTEGER dlibMove, [In] uint dwOrigin, out _ULARGE_INTEGER plibNewPosition); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetSize([In] _ULARGE_INTEGER libNewSize); + void __SetSize([In] _ULARGE_INTEGER libNewSize); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void RemoteCopyTo([In, MarshalAs(UnmanagedType.Interface)] IStream pstm, [In] _ULARGE_INTEGER cb, out _ULARGE_INTEGER pcbRead, out _ULARGE_INTEGER pcbWritten); + void __RemoteCopyTo([In, MarshalAs(UnmanagedType.Interface)] IStream pstm, [In] _ULARGE_INTEGER cb, out _ULARGE_INTEGER pcbRead, out _ULARGE_INTEGER pcbWritten); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Commit([In] uint grfCommitFlags); + void __Commit([In] uint grfCommitFlags); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Revert(); + void __Revert(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void LockRegion([In] _ULARGE_INTEGER libOffset, [In] _ULARGE_INTEGER cb, [In] uint dwLockType); + void __LockRegion([In] _ULARGE_INTEGER libOffset, [In] _ULARGE_INTEGER cb, [In] uint dwLockType); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void UnlockRegion([In] _ULARGE_INTEGER libOffset, [In] _ULARGE_INTEGER cb, [In] uint dwLockType); + void __UnlockRegion([In] _ULARGE_INTEGER libOffset, [In] _ULARGE_INTEGER cb, [In] uint dwLockType); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Stat(out tagSTATSTG pstatstg, [In] uint grfStatFlag); + void __Stat(out tagSTATSTG pstatstg, [In] uint grfStatFlag); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Clone([MarshalAs(UnmanagedType.Interface)] out IStream ppstm); + void __Clone([MarshalAs(UnmanagedType.Interface)] out IStream ppstm); } [ComImport, InterfaceType((short) 1), Guid("AA544D42-28CB-11D3-BD22-0000F80849BD")] @@ -422,89 +422,89 @@ namespace Debugger.Interop.CorSym { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - ISymUnmanagedReader GetReaderForFile([In, MarshalAs(UnmanagedType.IUnknown)] object importer, [In] IntPtr filename, [In] IntPtr searchPath); + ISymUnmanagedReader __GetReaderForFile([In, MarshalAs(UnmanagedType.IUnknown)] object importer, [In] IntPtr filename, [In] IntPtr searchPath); [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - ISymUnmanagedReader GetReaderFromStream([In, MarshalAs(UnmanagedType.IUnknown)] object importer, [In, MarshalAs(UnmanagedType.Interface)] IStream pstream); + ISymUnmanagedReader __GetReaderFromStream([In, MarshalAs(UnmanagedType.IUnknown)] object importer, [In, MarshalAs(UnmanagedType.Interface)] IStream pstream); } [ComImport, InterfaceType((short) 1), Guid("969708D2-05E5-4861-A3B0-96E473CDF63F")] public interface ISymUnmanagedDispose { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Destroy(); + void __Destroy(); } [ComImport, Guid("40DE4037-7C81-3E1E-B022-AE1ABFF2CA08"), ComConversionLoss, InterfaceType((short) 1)] public interface ISymUnmanagedDocument { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetURL([In] uint cchUrl, out uint pcchUrl, [Out] IntPtr szUrl); + void __GetURL([In] uint cchUrl, out uint pcchUrl, [Out] IntPtr szUrl); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - Guid GetDocumentType(); + Guid __GetDocumentType(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - Guid GetLanguage(); + Guid __GetLanguage(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - Guid GetLanguageVendor(); + Guid __GetLanguageVendor(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - Guid GetCheckSumAlgorithmId(); + Guid __GetCheckSumAlgorithmId(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetCheckSum([In] uint cData, out uint pcData, [Out] IntPtr data); + void __GetCheckSum([In] uint cData, out uint pcData, [Out] IntPtr data); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - uint FindClosestLine([In] uint line); + uint __FindClosestLine([In] uint line); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - int HasEmbeddedSource(); + int __HasEmbeddedSource(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - uint GetSourceLength(); + uint __GetSourceLength(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetSourceRange([In] uint startLine, [In] uint startColumn, [In] uint endLine, [In] uint endColumn, [In] uint cSourceBytes, out uint pcSourceBytes, [Out] IntPtr source); + void __GetSourceRange([In] uint startLine, [In] uint startColumn, [In] uint endLine, [In] uint endColumn, [In] uint cSourceBytes, out uint pcSourceBytes, [Out] IntPtr source); } [ComImport, Guid("B01FAFEB-C450-3A4D-BEEC-B4CEEC01E006"), InterfaceType((short) 1)] public interface ISymUnmanagedDocumentWriter { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetSource([In] uint sourceSize, [In] ref byte source); + void __SetSource([In] uint sourceSize, [In] ref byte source); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetCheckSum([In] Guid algorithmId, [In] uint checkSumSize, [In] ref byte checkSum); + void __SetCheckSum([In] Guid algorithmId, [In] uint checkSumSize, [In] ref byte checkSum); } [ComImport, InterfaceType((short) 1), ComConversionLoss, Guid("B62B923C-B500-3158-A543-24F307A8B7E1")] public interface ISymUnmanagedMethod { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - uint GetToken(); + uint __GetToken(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - uint GetSequencePointCount(); + uint __GetSequencePointCount(); [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - ISymUnmanagedScope GetRootScope(); + ISymUnmanagedScope __GetRootScope(); [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - ISymUnmanagedScope GetScopeFromOffset([In] uint offset); + ISymUnmanagedScope __GetScopeFromOffset([In] uint offset); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - uint GetOffset([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocument document, [In] uint line, [In] uint column); + uint __GetOffset([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocument document, [In] uint line, [In] uint column); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetRanges([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocument document, [In] uint line, [In] uint column, [In] uint cRanges, out uint pcRanges, [Out] IntPtr ranges); + void __GetRanges([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocument document, [In] uint line, [In] uint column, [In] uint cRanges, out uint pcRanges, [Out] IntPtr ranges); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetParameters([In] uint cParams, out uint pcParams, [Out] IntPtr @params); + void __GetParameters([In] uint cParams, out uint pcParams, [Out] IntPtr @params); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetNamespace([MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedNamespace pRetVal); + void __GetNamespace([MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedNamespace pRetVal); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetSourceStartEnd([In, MarshalAs(UnmanagedType.LPArray, SizeParamIndex=0, SizeConst=2)] ISymUnmanagedDocument[] docs, [In, MarshalAs(UnmanagedType.LPArray, SizeParamIndex=0, SizeConst=2)] uint[] lines, [In, MarshalAs(UnmanagedType.LPArray, SizeParamIndex=0, SizeConst=2)] uint[] columns, out int pRetVal); + void __GetSourceStartEnd([In, MarshalAs(UnmanagedType.LPArray, SizeParamIndex=0, SizeConst=2)] ISymUnmanagedDocument[] docs, [In, MarshalAs(UnmanagedType.LPArray, SizeParamIndex=0, SizeConst=2)] uint[] lines, [In, MarshalAs(UnmanagedType.LPArray, SizeParamIndex=0, SizeConst=2)] uint[] columns, out int pRetVal); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetSequencePoints([In] uint cPoints, out uint pcPoints, [Out, MarshalAs(UnmanagedType.LPArray)] uint[] offsets, [Out, MarshalAs(UnmanagedType.LPArray)] ISymUnmanagedDocument[] documents, [Out, MarshalAs(UnmanagedType.LPArray)] uint[] lines, [Out, MarshalAs(UnmanagedType.LPArray)] uint[] columns, [Out, MarshalAs(UnmanagedType.LPArray)] uint[] endLines, [Out, MarshalAs(UnmanagedType.LPArray)] uint[] endColumns); + void __GetSequencePoints([In] uint cPoints, out uint pcPoints, [Out, MarshalAs(UnmanagedType.LPArray)] uint[] offsets, [Out, MarshalAs(UnmanagedType.LPArray)] ISymUnmanagedDocument[] documents, [Out, MarshalAs(UnmanagedType.LPArray)] uint[] lines, [Out, MarshalAs(UnmanagedType.LPArray)] uint[] columns, [Out, MarshalAs(UnmanagedType.LPArray)] uint[] endLines, [Out, MarshalAs(UnmanagedType.LPArray)] uint[] endColumns); } [ComImport, InterfaceType((short) 1), ComConversionLoss, Guid("0DFF7289-54F8-11D3-BD28-0000F80849BD")] public interface ISymUnmanagedNamespace { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetName([In] uint cchName, out uint pcchName, [Out] IntPtr szName); + void __GetName([In] uint cchName, out uint pcchName, [Out] IntPtr szName); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetNamespaces([In] uint cNameSpaces, out uint pcNameSpaces, [Out] IntPtr namespaces); + void __GetNamespaces([In] uint cNameSpaces, out uint pcNameSpaces, [Out] IntPtr namespaces); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetVariables([In] uint cVars, out uint pcVars, [Out] IntPtr pVars); + void __GetVariables([In] uint cVars, out uint pcVars, [Out] IntPtr pVars); } [ComImport, InterfaceType((short) 1), ComConversionLoss, Guid("B4CE6286-2A6B-3712-A3B7-1EE1DAD467B5")] @@ -512,51 +512,51 @@ namespace Debugger.Interop.CorSym { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - ISymUnmanagedDocument GetDocument([In] IntPtr url, [In] Guid language, [In] Guid languageVendor, [In] Guid documentType); + ISymUnmanagedDocument __GetDocument([In] IntPtr url, [In] Guid language, [In] Guid languageVendor, [In] Guid documentType); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetDocuments([In] uint cDocs, out uint pcDocs, [Out, MarshalAs(UnmanagedType.LPArray)] ISymUnmanagedDocument[] pDocs); + void __GetDocuments([In] uint cDocs, out uint pcDocs, [Out, MarshalAs(UnmanagedType.LPArray)] ISymUnmanagedDocument[] pDocs); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - uint GetUserEntryPoint(); + uint __GetUserEntryPoint(); [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - ISymUnmanagedMethod GetMethod([In] uint token); + ISymUnmanagedMethod __GetMethod([In] uint token); [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - ISymUnmanagedMethod GetMethodByVersion([In] uint token, [In] int version); + ISymUnmanagedMethod __GetMethodByVersion([In] uint token, [In] int version); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetVariables([In] uint parent, [In] uint cVars, out uint pcVars, [Out] IntPtr pVars); + void __GetVariables([In] uint parent, [In] uint cVars, out uint pcVars, [Out] IntPtr pVars); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetGlobalVariables([In] uint cVars, out uint pcVars, [Out] IntPtr pVars); + void __GetGlobalVariables([In] uint cVars, out uint pcVars, [Out] IntPtr pVars); [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - ISymUnmanagedMethod GetMethodFromDocumentPosition([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocument document, [In] uint line, [In] uint column); + ISymUnmanagedMethod __GetMethodFromDocumentPosition([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocument document, [In] uint line, [In] uint column); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetSymAttribute([In] uint parent, [In] IntPtr name, [In] uint cBuffer, out uint pcBuffer, [Out] IntPtr buffer); + void __GetSymAttribute([In] uint parent, [In] IntPtr name, [In] uint cBuffer, out uint pcBuffer, [Out] IntPtr buffer); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetNamespaces([In] uint cNameSpaces, out uint pcNameSpaces, [Out] IntPtr namespaces); + void __GetNamespaces([In] uint cNameSpaces, out uint pcNameSpaces, [Out] IntPtr namespaces); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Initialize([In, MarshalAs(UnmanagedType.IUnknown)] object importer, [In] IntPtr filename, [In] IntPtr searchPath, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream); + void __Initialize([In, MarshalAs(UnmanagedType.IUnknown)] object importer, [In] IntPtr filename, [In] IntPtr searchPath, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void UpdateSymbolStore([In] IntPtr filename, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream); + void __UpdateSymbolStore([In] IntPtr filename, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void ReplaceSymbolStore([In] IntPtr filename, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream); + void __ReplaceSymbolStore([In] IntPtr filename, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetSymbolStoreFileName([In] uint cchName, out uint pcchName, [Out] IntPtr szName); + void __GetSymbolStoreFileName([In] uint cchName, out uint pcchName, [Out] IntPtr szName); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetMethodsFromDocumentPosition([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocument document, [In] uint line, [In] uint column, [In] uint cMethod, out uint pcMethod, [Out] IntPtr pRetVal); + void __GetMethodsFromDocumentPosition([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocument document, [In] uint line, [In] uint column, [In] uint cMethod, out uint pcMethod, [Out] IntPtr pRetVal); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetDocumentVersion([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocument pDoc, out int version, out int pbCurrent); + void __GetDocumentVersion([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocument pDoc, out int version, out int pbCurrent); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetMethodVersion([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedMethod pMethod, out int version); + void __GetMethodVersion([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedMethod pMethod, out int version); } [ComImport, Guid("20D9645D-03CD-4E34-9C11-9848A5B084F1"), InterfaceType((short) 1)] public interface ISymUnmanagedReaderSymbolSearchInfo { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetSymbolSearchInfoCount(out uint pcSearchInfo); + void __GetSymbolSearchInfoCount(out uint pcSearchInfo); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetSymbolSearchInfo([In] uint cSearchInfo, out uint pcSearchInfo, [MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedSymbolSearchInfo rgpSearchInfo); + void __GetSymbolSearchInfo([In] uint cSearchInfo, out uint pcSearchInfo, [MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedSymbolSearchInfo rgpSearchInfo); } [ComImport, Guid("68005D0F-B8E0-3B01-84D5-A11A94154942"), ComConversionLoss, InterfaceType((short) 1)] @@ -564,56 +564,56 @@ namespace Debugger.Interop.CorSym { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - ISymUnmanagedMethod GetMethod(); + ISymUnmanagedMethod __GetMethod(); [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - ISymUnmanagedScope GetParent(); + ISymUnmanagedScope __GetParent(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetChildren([In] uint cChildren, out uint pcChildren, [Out, MarshalAs(UnmanagedType.LPArray)] ISymUnmanagedScope[] children); + void __GetChildren([In] uint cChildren, out uint pcChildren, [Out, MarshalAs(UnmanagedType.LPArray)] ISymUnmanagedScope[] children); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - uint GetStartOffset(); + uint __GetStartOffset(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - uint GetEndOffset(); + uint __GetEndOffset(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - uint GetLocalCount(); + uint __GetLocalCount(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetLocals([In] uint cLocals, out uint pcLocals, [Out, MarshalAs(UnmanagedType.LPArray)] ISymUnmanagedVariable[] locals); + void __GetLocals([In] uint cLocals, out uint pcLocals, [Out, MarshalAs(UnmanagedType.LPArray)] ISymUnmanagedVariable[] locals); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetNamespaces([In] uint cNameSpaces, out uint pcNameSpaces, [Out, MarshalAs(UnmanagedType.LPArray)] ISymUnmanagedNamespace[] namespaces); + void __GetNamespaces([In] uint cNameSpaces, out uint pcNameSpaces, [Out, MarshalAs(UnmanagedType.LPArray)] ISymUnmanagedNamespace[] namespaces); } [ComImport, ComConversionLoss, InterfaceType((short) 1), Guid("F8B3534A-A46B-4980-B520-BEC4ACEABA8F")] public interface ISymUnmanagedSymbolSearchInfo { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetSearchPathLength(out uint pcchPath); + void __GetSearchPathLength(out uint pcchPath); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetSearchPath([In] uint cchPath, out uint pcchPath, [Out] IntPtr szPath); + void __GetSearchPath([In] uint cchPath, out uint pcchPath, [Out] IntPtr szPath); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetHRESULT([MarshalAs(UnmanagedType.Error)] out int phr); + void __GetHRESULT([MarshalAs(UnmanagedType.Error)] out int phr); } [ComImport, Guid("9F60EEBE-2D9A-3F7C-BF58-80BC991C60BB"), InterfaceType((short) 1), ComConversionLoss] public interface ISymUnmanagedVariable { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetName([In] uint cchName, out uint pcchName, [In] IntPtr szName); + void __GetName([In] uint cchName, out uint pcchName, [In] IntPtr szName); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - uint GetAttributes(); + uint __GetAttributes(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetSignature([In] uint cSig, out uint pcSig, [In] IntPtr sig); + void __GetSignature([In] uint cSig, out uint pcSig, [In] IntPtr sig); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - uint GetAddressKind(); + uint __GetAddressKind(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - uint GetAddressField1(); + uint __GetAddressField1(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - uint GetAddressField2(); + uint __GetAddressField2(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - uint GetAddressField3(); + uint __GetAddressField3(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - uint GetStartOffset(); + uint __GetStartOffset(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - uint GetEndOffset(); + uint __GetEndOffset(); } [ComImport, ComConversionLoss, InterfaceType((short) 1), Guid("ED14AA72-78E2-4884-84E2-334293AE5214")] @@ -621,53 +621,53 @@ namespace Debugger.Interop.CorSym { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - ISymUnmanagedDocumentWriter DefineDocument([In] IntPtr url, [In] ref Guid language, [In] ref Guid languageVendor, [In] ref Guid documentType); + ISymUnmanagedDocumentWriter __DefineDocument([In] IntPtr url, [In] ref Guid language, [In] ref Guid languageVendor, [In] ref Guid documentType); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetUserEntryPoint([In] uint entryMethod); + void __SetUserEntryPoint([In] uint entryMethod); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void OpenMethod([In] uint method); + void __OpenMethod([In] uint method); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CloseMethod(); + void __CloseMethod(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - uint OpenScope([In] uint startOffset); + uint __OpenScope([In] uint startOffset); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CloseScope([In] uint endOffset); + void __CloseScope([In] uint endOffset); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetScopeRange([In] uint scopeID, [In] uint startOffset, [In] uint endOffset); + void __SetScopeRange([In] uint scopeID, [In] uint startOffset, [In] uint endOffset); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void DefineLocalVariable([In] IntPtr name, [In] uint attributes, [In] uint cSig, [In] ref byte signature, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3, [In] uint startOffset, [In] uint endOffset); + void __DefineLocalVariable([In] IntPtr name, [In] uint attributes, [In] uint cSig, [In] ref byte signature, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3, [In] uint startOffset, [In] uint endOffset); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void DefineParameter([In] IntPtr name, [In] uint attributes, [In] uint sequence, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3); + void __DefineParameter([In] IntPtr name, [In] uint attributes, [In] uint sequence, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void DefineField([In] uint parent, [In] IntPtr name, [In] uint attributes, [In] uint cSig, [In] ref byte signature, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3); + void __DefineField([In] uint parent, [In] IntPtr name, [In] uint attributes, [In] uint cSig, [In] ref byte signature, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void DefineGlobalVariable([In] IntPtr name, [In] uint attributes, [In] uint cSig, [In] ref byte signature, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3); + void __DefineGlobalVariable([In] IntPtr name, [In] uint attributes, [In] uint cSig, [In] ref byte signature, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Close(); + void __Close(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetSymAttribute([In] uint parent, [In] IntPtr name, [In] uint cData, [In] ref byte data); + void __SetSymAttribute([In] uint parent, [In] IntPtr name, [In] uint cData, [In] ref byte data); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void OpenNamespace([In] IntPtr name); + void __OpenNamespace([In] IntPtr name); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CloseNamespace(); + void __CloseNamespace(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void UsingNamespace([In] IntPtr fullName); + void __UsingNamespace([In] IntPtr fullName); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetMethodSourceRange([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocumentWriter startDoc, [In] uint startLine, [In] uint startColumn, [In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocumentWriter endDoc, [In] uint endLine, [In] uint endColumn); + void __SetMethodSourceRange([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocumentWriter startDoc, [In] uint startLine, [In] uint startColumn, [In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocumentWriter endDoc, [In] uint endLine, [In] uint endColumn); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Initialize([In, MarshalAs(UnmanagedType.IUnknown)] object emitter, [In] IntPtr filename, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream, [In] int fFullBuild); + void __Initialize([In, MarshalAs(UnmanagedType.IUnknown)] object emitter, [In] IntPtr filename, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream, [In] int fFullBuild); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetDebugInfo([In] ref uint pIDD, [In] uint cData, out uint pcData, [Out] IntPtr data); + void __GetDebugInfo([In] ref uint pIDD, [In] uint cData, out uint pcData, [Out] IntPtr data); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void DefineSequencePoints([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocumentWriter document, [In] uint spCount, [In] ref uint offsets, [In] ref uint lines, [In] ref uint columns, [In] ref uint endLines, [In] ref uint endColumns); + void __DefineSequencePoints([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocumentWriter document, [In] uint spCount, [In] ref uint offsets, [In] ref uint lines, [In] ref uint columns, [In] ref uint endLines, [In] ref uint endColumns); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void RemapToken([In] uint oldToken, [In] uint newToken); + void __RemapToken([In] uint oldToken, [In] uint newToken); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Initialize2([In, MarshalAs(UnmanagedType.IUnknown)] object emitter, [In] IntPtr tempfilename, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream, [In] int fFullBuild, [In] IntPtr finalfilename); + void __Initialize2([In, MarshalAs(UnmanagedType.IUnknown)] object emitter, [In] IntPtr tempfilename, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream, [In] int fFullBuild, [In] IntPtr finalfilename); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void DefineConstant([In] IntPtr name, [In, MarshalAs(UnmanagedType.Struct)] object value, [In] uint cSig, [In] ref byte signature); + void __DefineConstant([In] IntPtr name, [In, MarshalAs(UnmanagedType.Struct)] object value, [In] uint cSig, [In] ref byte signature); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Abort(); + void __Abort(); } [ComImport, Guid("0B97726E-9E6D-4F05-9A26-424022093CAA"), InterfaceType((short) 1)] @@ -675,59 +675,59 @@ namespace Debugger.Interop.CorSym { [return: MarshalAs(UnmanagedType.Interface)] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - ISymUnmanagedDocumentWriter DefineDocument([In] IntPtr url, [In] ref Guid language, [In] ref Guid languageVendor, [In] ref Guid documentType); + ISymUnmanagedDocumentWriter __DefineDocument([In] IntPtr url, [In] ref Guid language, [In] ref Guid languageVendor, [In] ref Guid documentType); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetUserEntryPoint([In] uint entryMethod); + void __SetUserEntryPoint([In] uint entryMethod); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void OpenMethod([In] uint method); + void __OpenMethod([In] uint method); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CloseMethod(); + void __CloseMethod(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - uint OpenScope([In] uint startOffset); + uint __OpenScope([In] uint startOffset); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CloseScope([In] uint endOffset); + void __CloseScope([In] uint endOffset); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetScopeRange([In] uint scopeID, [In] uint startOffset, [In] uint endOffset); + void __SetScopeRange([In] uint scopeID, [In] uint startOffset, [In] uint endOffset); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void DefineLocalVariable([In] IntPtr name, [In] uint attributes, [In] uint cSig, [In] ref byte signature, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3, [In] uint startOffset, [In] uint endOffset); + void __DefineLocalVariable([In] IntPtr name, [In] uint attributes, [In] uint cSig, [In] ref byte signature, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3, [In] uint startOffset, [In] uint endOffset); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void DefineParameter([In] IntPtr name, [In] uint attributes, [In] uint sequence, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3); + void __DefineParameter([In] IntPtr name, [In] uint attributes, [In] uint sequence, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void DefineField([In] uint parent, [In] IntPtr name, [In] uint attributes, [In] uint cSig, [In] ref byte signature, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3); + void __DefineField([In] uint parent, [In] IntPtr name, [In] uint attributes, [In] uint cSig, [In] ref byte signature, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void DefineGlobalVariable([In] IntPtr name, [In] uint attributes, [In] uint cSig, [In] ref byte signature, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3); + void __DefineGlobalVariable([In] IntPtr name, [In] uint attributes, [In] uint cSig, [In] ref byte signature, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Close(); + void __Close(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetSymAttribute([In] uint parent, [In] IntPtr name, [In] uint cData, [In] ref byte data); + void __SetSymAttribute([In] uint parent, [In] IntPtr name, [In] uint cData, [In] ref byte data); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void OpenNamespace([In] IntPtr name); + void __OpenNamespace([In] IntPtr name); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void CloseNamespace(); + void __CloseNamespace(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void UsingNamespace([In] IntPtr fullName); + void __UsingNamespace([In] IntPtr fullName); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void SetMethodSourceRange([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocumentWriter startDoc, [In] uint startLine, [In] uint startColumn, [In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocumentWriter endDoc, [In] uint endLine, [In] uint endColumn); + void __SetMethodSourceRange([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocumentWriter startDoc, [In] uint startLine, [In] uint startColumn, [In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocumentWriter endDoc, [In] uint endLine, [In] uint endColumn); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Initialize([In, MarshalAs(UnmanagedType.IUnknown)] object emitter, [In] IntPtr filename, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream, [In] int fFullBuild); + void __Initialize([In, MarshalAs(UnmanagedType.IUnknown)] object emitter, [In] IntPtr filename, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream, [In] int fFullBuild); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void GetDebugInfo([In] ref uint pIDD, [In] uint cData, out uint pcData, [Out] IntPtr data); + void __GetDebugInfo([In] ref uint pIDD, [In] uint cData, out uint pcData, [Out] IntPtr data); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void DefineSequencePoints([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocumentWriter document, [In] uint spCount, [In] ref uint offsets, [In] ref uint lines, [In] ref uint columns, [In] ref uint endLines, [In] ref uint endColumns); + void __DefineSequencePoints([In, MarshalAs(UnmanagedType.Interface)] ISymUnmanagedDocumentWriter document, [In] uint spCount, [In] ref uint offsets, [In] ref uint lines, [In] ref uint columns, [In] ref uint endLines, [In] ref uint endColumns); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void RemapToken([In] uint oldToken, [In] uint newToken); + void __RemapToken([In] uint oldToken, [In] uint newToken); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Initialize2([In, MarshalAs(UnmanagedType.IUnknown)] object emitter, [In] IntPtr tempfilename, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream, [In] int fFullBuild, [In] IntPtr finalfilename); + void __Initialize2([In, MarshalAs(UnmanagedType.IUnknown)] object emitter, [In] IntPtr tempfilename, [In, MarshalAs(UnmanagedType.Interface)] IStream pIStream, [In] int fFullBuild, [In] IntPtr finalfilename); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void DefineConstant([In] IntPtr name, [In, MarshalAs(UnmanagedType.Struct)] object value, [In] uint cSig, [In] ref byte signature); + void __DefineConstant([In] IntPtr name, [In, MarshalAs(UnmanagedType.Struct)] object value, [In] uint cSig, [In] ref byte signature); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void Abort(); + void __Abort(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void DefineLocalVariable2([In] IntPtr name, [In] uint attributes, [In] uint sigToken, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3, [In] uint startOffset, [In] uint endOffset); + void __DefineLocalVariable2([In] IntPtr name, [In] uint attributes, [In] uint sigToken, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3, [In] uint startOffset, [In] uint endOffset); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void DefineGlobalVariable2([In] IntPtr name, [In] uint attributes, [In] uint sigToken, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3); + void __DefineGlobalVariable2([In] IntPtr name, [In] uint attributes, [In] uint sigToken, [In] uint addrKind, [In] uint addr1, [In] uint addr2, [In] uint addr3); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)] - void DefineConstant2([In] IntPtr name, [In, MarshalAs(UnmanagedType.Struct)] object value, [In] uint sigToken); + void __DefineConstant2([In] IntPtr name, [In, MarshalAs(UnmanagedType.Struct)] object value, [In] uint sigToken); } [StructLayout(LayoutKind.Sequential, Pack=4)] diff --git a/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Interop/CorSymExtensionMethods.generated.cs b/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Interop/CorSymExtensionMethods.generated.cs index f13aba0681..1ef693789c 100644 --- a/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Interop/CorSymExtensionMethods.generated.cs +++ b/src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Interop/CorSymExtensionMethods.generated.cs @@ -19,504 +19,504 @@ namespace Debugger.Interop.CorSym public static ISymUnmanagedReader GetReaderForFile(this CorSymBinder_SxSClass instance, object importer, IntPtr filename, IntPtr searchPath) { - ISymUnmanagedReader returnValue = instance.GetReaderForFile(importer, filename, searchPath); + ISymUnmanagedReader returnValue = instance.__GetReaderForFile(importer, filename, searchPath); ProcessOutParameter(returnValue); return returnValue; } public static ISymUnmanagedReader GetReaderFromStream(this CorSymBinder_SxSClass instance, object importer, IStream pstream) { - ISymUnmanagedReader returnValue = instance.GetReaderFromStream(importer, pstream); + ISymUnmanagedReader returnValue = instance.__GetReaderFromStream(importer, pstream); ProcessOutParameter(returnValue); return returnValue; } public static ISymUnmanagedReader GetReaderForFile(this CorSymBinder_deprecatedClass instance, object importer, IntPtr filename, IntPtr searchPath) { - ISymUnmanagedReader returnValue = instance.GetReaderForFile(importer, filename, searchPath); + ISymUnmanagedReader returnValue = instance.__GetReaderForFile(importer, filename, searchPath); ProcessOutParameter(returnValue); return returnValue; } public static ISymUnmanagedReader GetReaderFromStream(this CorSymBinder_deprecatedClass instance, object importer, IStream pstream) { - ISymUnmanagedReader returnValue = instance.GetReaderFromStream(importer, pstream); + ISymUnmanagedReader returnValue = instance.__GetReaderFromStream(importer, pstream); ProcessOutParameter(returnValue); return returnValue; } public static ISymUnmanagedDocument GetDocument(this CorSymReader_SxSClass instance, IntPtr url, Guid language, Guid languageVendor, Guid documentType) { - ISymUnmanagedDocument returnValue = instance.GetDocument(url, language, languageVendor, documentType); + ISymUnmanagedDocument returnValue = instance.__GetDocument(url, language, languageVendor, documentType); ProcessOutParameter(returnValue); return returnValue; } public static void GetDocuments(this CorSymReader_SxSClass instance, uint cDocs, out uint pcDocs, ISymUnmanagedDocument[] pDocs) { - instance.GetDocuments(cDocs, out pcDocs, pDocs); + instance.__GetDocuments(cDocs, out pcDocs, pDocs); ProcessOutParameter(pDocs); } public static void GetDocumentVersion(this CorSymReader_SxSClass instance, ISymUnmanagedDocument pDoc, out int version, out int pbCurrent) { - instance.GetDocumentVersion(pDoc, out version, out pbCurrent); + instance.__GetDocumentVersion(pDoc, out version, out pbCurrent); } public static void GetGlobalVariables(this CorSymReader_SxSClass instance, uint cVars, out uint pcVars, IntPtr pVars) { - instance.GetGlobalVariables(cVars, out pcVars, pVars); + instance.__GetGlobalVariables(cVars, out pcVars, pVars); } public static ISymUnmanagedMethod GetMethod(this CorSymReader_SxSClass instance, uint token) { - ISymUnmanagedMethod returnValue = instance.GetMethod(token); + ISymUnmanagedMethod returnValue = instance.__GetMethod(token); ProcessOutParameter(returnValue); return returnValue; } public static ISymUnmanagedMethod GetMethodByVersion(this CorSymReader_SxSClass instance, uint token, int version) { - ISymUnmanagedMethod returnValue = instance.GetMethodByVersion(token, version); + ISymUnmanagedMethod returnValue = instance.__GetMethodByVersion(token, version); ProcessOutParameter(returnValue); return returnValue; } public static ISymUnmanagedMethod GetMethodFromDocumentPosition(this CorSymReader_SxSClass instance, ISymUnmanagedDocument document, uint line, uint column) { - ISymUnmanagedMethod returnValue = instance.GetMethodFromDocumentPosition(document, line, column); + ISymUnmanagedMethod returnValue = instance.__GetMethodFromDocumentPosition(document, line, column); ProcessOutParameter(returnValue); return returnValue; } public static void GetMethodsFromDocumentPosition(this CorSymReader_SxSClass instance, ISymUnmanagedDocument document, uint line, uint column, uint cMethod, out uint pcMethod, IntPtr pRetVal) { - instance.GetMethodsFromDocumentPosition(document, line, column, cMethod, out pcMethod, pRetVal); + instance.__GetMethodsFromDocumentPosition(document, line, column, cMethod, out pcMethod, pRetVal); } public static int GetMethodVersion(this CorSymReader_SxSClass instance, ISymUnmanagedMethod pMethod) { int version; - instance.GetMethodVersion(pMethod, out version); + instance.__GetMethodVersion(pMethod, out version); return version; } public static void GetNamespaces(this CorSymReader_SxSClass instance, uint cNameSpaces, out uint pcNameSpaces, IntPtr namespaces) { - instance.GetNamespaces(cNameSpaces, out pcNameSpaces, namespaces); + instance.__GetNamespaces(cNameSpaces, out pcNameSpaces, namespaces); } public static void GetSymAttribute(this CorSymReader_SxSClass instance, uint parent, IntPtr name, uint cBuffer, out uint pcBuffer, IntPtr buffer) { - instance.GetSymAttribute(parent, name, cBuffer, out pcBuffer, buffer); + instance.__GetSymAttribute(parent, name, cBuffer, out pcBuffer, buffer); } public static void GetSymbolStoreFileName(this CorSymReader_SxSClass instance, uint cchName, out uint pcchName, IntPtr szName) { - instance.GetSymbolStoreFileName(cchName, out pcchName, szName); + instance.__GetSymbolStoreFileName(cchName, out pcchName, szName); } public static uint GetUserEntryPoint(this CorSymReader_SxSClass instance) { - return instance.GetUserEntryPoint(); + return instance.__GetUserEntryPoint(); } public static void GetVariables(this CorSymReader_SxSClass instance, uint parent, uint cVars, out uint pcVars, IntPtr pVars) { - instance.GetVariables(parent, cVars, out pcVars, pVars); + instance.__GetVariables(parent, cVars, out pcVars, pVars); } public static void Initialize(this CorSymReader_SxSClass instance, object importer, IntPtr filename, IntPtr searchPath, IStream pIStream) { - instance.Initialize(importer, filename, searchPath, pIStream); + instance.__Initialize(importer, filename, searchPath, pIStream); } public static void ReplaceSymbolStore(this CorSymReader_SxSClass instance, IntPtr filename, IStream pIStream) { - instance.ReplaceSymbolStore(filename, pIStream); + instance.__ReplaceSymbolStore(filename, pIStream); } public static void UpdateSymbolStore(this CorSymReader_SxSClass instance, IntPtr filename, IStream pIStream) { - instance.UpdateSymbolStore(filename, pIStream); + instance.__UpdateSymbolStore(filename, pIStream); } public static ISymUnmanagedDocument GetDocument(this CorSymReader_deprecatedClass instance, IntPtr url, Guid language, Guid languageVendor, Guid documentType) { - ISymUnmanagedDocument returnValue = instance.GetDocument(url, language, languageVendor, documentType); + ISymUnmanagedDocument returnValue = instance.__GetDocument(url, language, languageVendor, documentType); ProcessOutParameter(returnValue); return returnValue; } public static void GetDocuments(this CorSymReader_deprecatedClass instance, uint cDocs, out uint pcDocs, ISymUnmanagedDocument[] pDocs) { - instance.GetDocuments(cDocs, out pcDocs, pDocs); + instance.__GetDocuments(cDocs, out pcDocs, pDocs); ProcessOutParameter(pDocs); } public static void GetDocumentVersion(this CorSymReader_deprecatedClass instance, ISymUnmanagedDocument pDoc, out int version, out int pbCurrent) { - instance.GetDocumentVersion(pDoc, out version, out pbCurrent); + instance.__GetDocumentVersion(pDoc, out version, out pbCurrent); } public static void GetGlobalVariables(this CorSymReader_deprecatedClass instance, uint cVars, out uint pcVars, IntPtr pVars) { - instance.GetGlobalVariables(cVars, out pcVars, pVars); + instance.__GetGlobalVariables(cVars, out pcVars, pVars); } public static ISymUnmanagedMethod GetMethod(this CorSymReader_deprecatedClass instance, uint token) { - ISymUnmanagedMethod returnValue = instance.GetMethod(token); + ISymUnmanagedMethod returnValue = instance.__GetMethod(token); ProcessOutParameter(returnValue); return returnValue; } public static ISymUnmanagedMethod GetMethodByVersion(this CorSymReader_deprecatedClass instance, uint token, int version) { - ISymUnmanagedMethod returnValue = instance.GetMethodByVersion(token, version); + ISymUnmanagedMethod returnValue = instance.__GetMethodByVersion(token, version); ProcessOutParameter(returnValue); return returnValue; } public static ISymUnmanagedMethod GetMethodFromDocumentPosition(this CorSymReader_deprecatedClass instance, ISymUnmanagedDocument document, uint line, uint column) { - ISymUnmanagedMethod returnValue = instance.GetMethodFromDocumentPosition(document, line, column); + ISymUnmanagedMethod returnValue = instance.__GetMethodFromDocumentPosition(document, line, column); ProcessOutParameter(returnValue); return returnValue; } public static void GetMethodsFromDocumentPosition(this CorSymReader_deprecatedClass instance, ISymUnmanagedDocument document, uint line, uint column, uint cMethod, out uint pcMethod, IntPtr pRetVal) { - instance.GetMethodsFromDocumentPosition(document, line, column, cMethod, out pcMethod, pRetVal); + instance.__GetMethodsFromDocumentPosition(document, line, column, cMethod, out pcMethod, pRetVal); } public static int GetMethodVersion(this CorSymReader_deprecatedClass instance, ISymUnmanagedMethod pMethod) { int version; - instance.GetMethodVersion(pMethod, out version); + instance.__GetMethodVersion(pMethod, out version); return version; } public static void GetNamespaces(this CorSymReader_deprecatedClass instance, uint cNameSpaces, out uint pcNameSpaces, IntPtr namespaces) { - instance.GetNamespaces(cNameSpaces, out pcNameSpaces, namespaces); + instance.__GetNamespaces(cNameSpaces, out pcNameSpaces, namespaces); } public static void GetSymAttribute(this CorSymReader_deprecatedClass instance, uint parent, IntPtr name, uint cBuffer, out uint pcBuffer, IntPtr buffer) { - instance.GetSymAttribute(parent, name, cBuffer, out pcBuffer, buffer); + instance.__GetSymAttribute(parent, name, cBuffer, out pcBuffer, buffer); } public static void GetSymbolStoreFileName(this CorSymReader_deprecatedClass instance, uint cchName, out uint pcchName, IntPtr szName) { - instance.GetSymbolStoreFileName(cchName, out pcchName, szName); + instance.__GetSymbolStoreFileName(cchName, out pcchName, szName); } public static uint GetUserEntryPoint(this CorSymReader_deprecatedClass instance) { - return instance.GetUserEntryPoint(); + return instance.__GetUserEntryPoint(); } public static void GetVariables(this CorSymReader_deprecatedClass instance, uint parent, uint cVars, out uint pcVars, IntPtr pVars) { - instance.GetVariables(parent, cVars, out pcVars, pVars); + instance.__GetVariables(parent, cVars, out pcVars, pVars); } public static void Initialize(this CorSymReader_deprecatedClass instance, object importer, IntPtr filename, IntPtr searchPath, IStream pIStream) { - instance.Initialize(importer, filename, searchPath, pIStream); + instance.__Initialize(importer, filename, searchPath, pIStream); } public static void ReplaceSymbolStore(this CorSymReader_deprecatedClass instance, IntPtr filename, IStream pIStream) { - instance.ReplaceSymbolStore(filename, pIStream); + instance.__ReplaceSymbolStore(filename, pIStream); } public static void UpdateSymbolStore(this CorSymReader_deprecatedClass instance, IntPtr filename, IStream pIStream) { - instance.UpdateSymbolStore(filename, pIStream); + instance.__UpdateSymbolStore(filename, pIStream); } public static void Abort(this CorSymWriter_SxSClass instance) { - instance.Abort(); + instance.__Abort(); } public static void Close(this CorSymWriter_SxSClass instance) { - instance.Close(); + instance.__Close(); } public static void CloseMethod(this CorSymWriter_SxSClass instance) { - instance.CloseMethod(); + instance.__CloseMethod(); } public static void CloseNamespace(this CorSymWriter_SxSClass instance) { - instance.CloseNamespace(); + instance.__CloseNamespace(); } public static void CloseScope(this CorSymWriter_SxSClass instance, uint endOffset) { - instance.CloseScope(endOffset); + instance.__CloseScope(endOffset); } public static void DefineConstant(this CorSymWriter_SxSClass instance, IntPtr name, object value, uint cSig, ref byte signature) { - instance.DefineConstant(name, value, cSig, ref signature); + instance.__DefineConstant(name, value, cSig, ref signature); ProcessOutParameter(signature); } public static ISymUnmanagedDocumentWriter DefineDocument(this CorSymWriter_SxSClass instance, IntPtr url, ref Guid language, ref Guid languageVendor, ref Guid documentType) { - ISymUnmanagedDocumentWriter returnValue = instance.DefineDocument(url, ref language, ref languageVendor, ref documentType); + ISymUnmanagedDocumentWriter returnValue = instance.__DefineDocument(url, ref language, ref languageVendor, ref documentType); ProcessOutParameter(returnValue); return returnValue; } public static void DefineField(this CorSymWriter_SxSClass instance, uint parent, IntPtr name, uint attributes, uint cSig, ref byte signature, uint addrKind, uint addr1, uint addr2, uint addr3) { - instance.DefineField(parent, name, attributes, cSig, ref signature, addrKind, addr1, addr2, addr3); + instance.__DefineField(parent, name, attributes, cSig, ref signature, addrKind, addr1, addr2, addr3); ProcessOutParameter(signature); } public static void DefineGlobalVariable(this CorSymWriter_SxSClass instance, IntPtr name, uint attributes, uint cSig, ref byte signature, uint addrKind, uint addr1, uint addr2, uint addr3) { - instance.DefineGlobalVariable(name, attributes, cSig, ref signature, addrKind, addr1, addr2, addr3); + instance.__DefineGlobalVariable(name, attributes, cSig, ref signature, addrKind, addr1, addr2, addr3); ProcessOutParameter(signature); } public static void DefineLocalVariable(this CorSymWriter_SxSClass instance, IntPtr name, uint attributes, uint cSig, ref byte signature, uint addrKind, uint addr1, uint addr2, uint addr3, uint startOffset, uint endOffset) { - instance.DefineLocalVariable(name, attributes, cSig, ref signature, addrKind, addr1, addr2, addr3, startOffset, endOffset); + instance.__DefineLocalVariable(name, attributes, cSig, ref signature, addrKind, addr1, addr2, addr3, startOffset, endOffset); ProcessOutParameter(signature); } public static void DefineParameter(this CorSymWriter_SxSClass instance, IntPtr name, uint attributes, uint sequence, uint addrKind, uint addr1, uint addr2, uint addr3) { - instance.DefineParameter(name, attributes, sequence, addrKind, addr1, addr2, addr3); + instance.__DefineParameter(name, attributes, sequence, addrKind, addr1, addr2, addr3); } public static void DefineSequencePoints(this CorSymWriter_SxSClass instance, ISymUnmanagedDocumentWriter document, uint spCount, ref uint offsets, ref uint lines, ref uint columns, ref uint endLines, ref uint endColumns) { - instance.DefineSequencePoints(document, spCount, ref offsets, ref lines, ref columns, ref endLines, ref endColumns); + instance.__DefineSequencePoints(document, spCount, ref offsets, ref lines, ref columns, ref endLines, ref endColumns); } public static void GetDebugInfo(this CorSymWriter_SxSClass instance, ref uint pIDD, uint cData, out uint pcData, IntPtr data) { - instance.GetDebugInfo(ref pIDD, cData, out pcData, data); + instance.__GetDebugInfo(ref pIDD, cData, out pcData, data); } public static void Initialize(this CorSymWriter_SxSClass instance, object emitter, IntPtr filename, IStream pIStream, int fFullBuild) { - instance.Initialize(emitter, filename, pIStream, fFullBuild); + instance.__Initialize(emitter, filename, pIStream, fFullBuild); } public static void Initialize2(this CorSymWriter_SxSClass instance, object emitter, IntPtr tempfilename, IStream pIStream, int fFullBuild, IntPtr finalfilename) { - instance.Initialize2(emitter, tempfilename, pIStream, fFullBuild, finalfilename); + instance.__Initialize2(emitter, tempfilename, pIStream, fFullBuild, finalfilename); } public static void OpenMethod(this CorSymWriter_SxSClass instance, uint method) { - instance.OpenMethod(method); + instance.__OpenMethod(method); } public static void OpenNamespace(this CorSymWriter_SxSClass instance, IntPtr name) { - instance.OpenNamespace(name); + instance.__OpenNamespace(name); } public static uint OpenScope(this CorSymWriter_SxSClass instance, uint startOffset) { - return instance.OpenScope(startOffset); + return instance.__OpenScope(startOffset); } public static void RemapToken(this CorSymWriter_SxSClass instance, uint oldToken, uint newToken) { - instance.RemapToken(oldToken, newToken); + instance.__RemapToken(oldToken, newToken); } public static void SetMethodSourceRange(this CorSymWriter_SxSClass instance, ISymUnmanagedDocumentWriter startDoc, uint startLine, uint startColumn, ISymUnmanagedDocumentWriter endDoc, uint endLine, uint endColumn) { - instance.SetMethodSourceRange(startDoc, startLine, startColumn, endDoc, endLine, endColumn); + instance.__SetMethodSourceRange(startDoc, startLine, startColumn, endDoc, endLine, endColumn); } public static void SetScopeRange(this CorSymWriter_SxSClass instance, uint scopeID, uint startOffset, uint endOffset) { - instance.SetScopeRange(scopeID, startOffset, endOffset); + instance.__SetScopeRange(scopeID, startOffset, endOffset); } public static void SetSymAttribute(this CorSymWriter_SxSClass instance, uint parent, IntPtr name, uint cData, ref byte data) { - instance.SetSymAttribute(parent, name, cData, ref data); + instance.__SetSymAttribute(parent, name, cData, ref data); ProcessOutParameter(data); } public static void SetUserEntryPoint(this CorSymWriter_SxSClass instance, uint entryMethod) { - instance.SetUserEntryPoint(entryMethod); + instance.__SetUserEntryPoint(entryMethod); } public static void UsingNamespace(this CorSymWriter_SxSClass instance, IntPtr fullName) { - instance.UsingNamespace(fullName); + instance.__UsingNamespace(fullName); } public static void Abort(this CorSymWriter_deprecatedClass instance) { - instance.Abort(); + instance.__Abort(); } public static void Close(this CorSymWriter_deprecatedClass instance) { - instance.Close(); + instance.__Close(); } public static void CloseMethod(this CorSymWriter_deprecatedClass instance) { - instance.CloseMethod(); + instance.__CloseMethod(); } public static void CloseNamespace(this CorSymWriter_deprecatedClass instance) { - instance.CloseNamespace(); + instance.__CloseNamespace(); } public static void CloseScope(this CorSymWriter_deprecatedClass instance, uint endOffset) { - instance.CloseScope(endOffset); + instance.__CloseScope(endOffset); } public static void DefineConstant(this CorSymWriter_deprecatedClass instance, IntPtr name, object value, uint cSig, ref byte signature) { - instance.DefineConstant(name, value, cSig, ref signature); + instance.__DefineConstant(name, value, cSig, ref signature); ProcessOutParameter(signature); } public static ISymUnmanagedDocumentWriter DefineDocument(this CorSymWriter_deprecatedClass instance, IntPtr url, ref Guid language, ref Guid languageVendor, ref Guid documentType) { - ISymUnmanagedDocumentWriter returnValue = instance.DefineDocument(url, ref language, ref languageVendor, ref documentType); + ISymUnmanagedDocumentWriter returnValue = instance.__DefineDocument(url, ref language, ref languageVendor, ref documentType); ProcessOutParameter(returnValue); return returnValue; } public static void DefineField(this CorSymWriter_deprecatedClass instance, uint parent, IntPtr name, uint attributes, uint cSig, ref byte signature, uint addrKind, uint addr1, uint addr2, uint addr3) { - instance.DefineField(parent, name, attributes, cSig, ref signature, addrKind, addr1, addr2, addr3); + instance.__DefineField(parent, name, attributes, cSig, ref signature, addrKind, addr1, addr2, addr3); ProcessOutParameter(signature); } public static void DefineGlobalVariable(this CorSymWriter_deprecatedClass instance, IntPtr name, uint attributes, uint cSig, ref byte signature, uint addrKind, uint addr1, uint addr2, uint addr3) { - instance.DefineGlobalVariable(name, attributes, cSig, ref signature, addrKind, addr1, addr2, addr3); + instance.__DefineGlobalVariable(name, attributes, cSig, ref signature, addrKind, addr1, addr2, addr3); ProcessOutParameter(signature); } public static void DefineLocalVariable(this CorSymWriter_deprecatedClass instance, IntPtr name, uint attributes, uint cSig, ref byte signature, uint addrKind, uint addr1, uint addr2, uint addr3, uint startOffset, uint endOffset) { - instance.DefineLocalVariable(name, attributes, cSig, ref signature, addrKind, addr1, addr2, addr3, startOffset, endOffset); + instance.__DefineLocalVariable(name, attributes, cSig, ref signature, addrKind, addr1, addr2, addr3, startOffset, endOffset); ProcessOutParameter(signature); } public static void DefineParameter(this CorSymWriter_deprecatedClass instance, IntPtr name, uint attributes, uint sequence, uint addrKind, uint addr1, uint addr2, uint addr3) { - instance.DefineParameter(name, attributes, sequence, addrKind, addr1, addr2, addr3); + instance.__DefineParameter(name, attributes, sequence, addrKind, addr1, addr2, addr3); } public static void DefineSequencePoints(this CorSymWriter_deprecatedClass instance, ISymUnmanagedDocumentWriter document, uint spCount, ref uint offsets, ref uint lines, ref uint columns, ref uint endLines, ref uint endColumns) { - instance.DefineSequencePoints(document, spCount, ref offsets, ref lines, ref columns, ref endLines, ref endColumns); + instance.__DefineSequencePoints(document, spCount, ref offsets, ref lines, ref columns, ref endLines, ref endColumns); } public static void GetDebugInfo(this CorSymWriter_deprecatedClass instance, ref uint pIDD, uint cData, out uint pcData, IntPtr data) { - instance.GetDebugInfo(ref pIDD, cData, out pcData, data); + instance.__GetDebugInfo(ref pIDD, cData, out pcData, data); } public static void Initialize(this CorSymWriter_deprecatedClass instance, object emitter, IntPtr filename, IStream pIStream, int fFullBuild) { - instance.Initialize(emitter, filename, pIStream, fFullBuild); + instance.__Initialize(emitter, filename, pIStream, fFullBuild); } public static void Initialize2(this CorSymWriter_deprecatedClass instance, object emitter, IntPtr tempfilename, IStream pIStream, int fFullBuild, IntPtr finalfilename) { - instance.Initialize2(emitter, tempfilename, pIStream, fFullBuild, finalfilename); + instance.__Initialize2(emitter, tempfilename, pIStream, fFullBuild, finalfilename); } public static void OpenMethod(this CorSymWriter_deprecatedClass instance, uint method) { - instance.OpenMethod(method); + instance.__OpenMethod(method); } public static void OpenNamespace(this CorSymWriter_deprecatedClass instance, IntPtr name) { - instance.OpenNamespace(name); + instance.__OpenNamespace(name); } public static uint OpenScope(this CorSymWriter_deprecatedClass instance, uint startOffset) { - return instance.OpenScope(startOffset); + return instance.__OpenScope(startOffset); } public static void RemapToken(this CorSymWriter_deprecatedClass instance, uint oldToken, uint newToken) { - instance.RemapToken(oldToken, newToken); + instance.__RemapToken(oldToken, newToken); } public static void SetMethodSourceRange(this CorSymWriter_deprecatedClass instance, ISymUnmanagedDocumentWriter startDoc, uint startLine, uint startColumn, ISymUnmanagedDocumentWriter endDoc, uint endLine, uint endColumn) { - instance.SetMethodSourceRange(startDoc, startLine, startColumn, endDoc, endLine, endColumn); + instance.__SetMethodSourceRange(startDoc, startLine, startColumn, endDoc, endLine, endColumn); } public static void SetScopeRange(this CorSymWriter_deprecatedClass instance, uint scopeID, uint startOffset, uint endOffset) { - instance.SetScopeRange(scopeID, startOffset, endOffset); + instance.__SetScopeRange(scopeID, startOffset, endOffset); } public static void SetSymAttribute(this CorSymWriter_deprecatedClass instance, uint parent, IntPtr name, uint cData, ref byte data) { - instance.SetSymAttribute(parent, name, cData, ref data); + instance.__SetSymAttribute(parent, name, cData, ref data); ProcessOutParameter(data); } public static void SetUserEntryPoint(this CorSymWriter_deprecatedClass instance, uint entryMethod) { - instance.SetUserEntryPoint(entryMethod); + instance.__SetUserEntryPoint(entryMethod); } public static void UsingNamespace(this CorSymWriter_deprecatedClass instance, IntPtr fullName) { - instance.UsingNamespace(fullName); + instance.__UsingNamespace(fullName); } public static void RemoteRead(this ISequentialStream instance, out byte pv, uint cb, out uint pcbRead) { - instance.RemoteRead(out pv, cb, out pcbRead); + instance.__RemoteRead(out pv, cb, out pcbRead); ProcessOutParameter(pv); } public static uint RemoteWrite(this ISequentialStream instance, ref byte pv, uint cb) { uint pcbWritten; - instance.RemoteWrite(ref pv, cb, out pcbWritten); + instance.__RemoteWrite(ref pv, cb, out pcbWritten); ProcessOutParameter(pv); return pcbWritten; } public static void RemoteRead(this IStream instance, out byte pv, uint cb, out uint pcbRead) { - instance.RemoteRead(out pv, cb, out pcbRead); + instance.__RemoteRead(out pv, cb, out pcbRead); ProcessOutParameter(pv); } public static uint RemoteWrite(this IStream instance, ref byte pv, uint cb) { uint pcbWritten; - instance.RemoteWrite(ref pv, cb, out pcbWritten); + instance.__RemoteWrite(ref pv, cb, out pcbWritten); ProcessOutParameter(pv); return pcbWritten; } @@ -524,181 +524,181 @@ namespace Debugger.Interop.CorSym public static _ULARGE_INTEGER RemoteSeek(this IStream instance, _LARGE_INTEGER dlibMove, uint dwOrigin) { _ULARGE_INTEGER plibNewPosition; - instance.RemoteSeek(dlibMove, dwOrigin, out plibNewPosition); + instance.__RemoteSeek(dlibMove, dwOrigin, out plibNewPosition); ProcessOutParameter(plibNewPosition); return plibNewPosition; } public static void SetSize(this IStream instance, _ULARGE_INTEGER libNewSize) { - instance.SetSize(libNewSize); + instance.__SetSize(libNewSize); } public static void RemoteCopyTo(this IStream instance, IStream pstm, _ULARGE_INTEGER cb, out _ULARGE_INTEGER pcbRead, out _ULARGE_INTEGER pcbWritten) { - instance.RemoteCopyTo(pstm, cb, out pcbRead, out pcbWritten); + instance.__RemoteCopyTo(pstm, cb, out pcbRead, out pcbWritten); ProcessOutParameter(pcbRead); ProcessOutParameter(pcbWritten); } public static void Commit(this IStream instance, uint grfCommitFlags) { - instance.Commit(grfCommitFlags); + instance.__Commit(grfCommitFlags); } public static void Revert(this IStream instance) { - instance.Revert(); + instance.__Revert(); } public static void LockRegion(this IStream instance, _ULARGE_INTEGER libOffset, _ULARGE_INTEGER cb, uint dwLockType) { - instance.LockRegion(libOffset, cb, dwLockType); + instance.__LockRegion(libOffset, cb, dwLockType); } public static void UnlockRegion(this IStream instance, _ULARGE_INTEGER libOffset, _ULARGE_INTEGER cb, uint dwLockType) { - instance.UnlockRegion(libOffset, cb, dwLockType); + instance.__UnlockRegion(libOffset, cb, dwLockType); } public static void Stat(this IStream instance, out tagSTATSTG pstatstg, uint grfStatFlag) { - instance.Stat(out pstatstg, grfStatFlag); + instance.__Stat(out pstatstg, grfStatFlag); ProcessOutParameter(pstatstg); } public static IStream Clone(this IStream instance) { IStream ppstm; - instance.Clone(out ppstm); + instance.__Clone(out ppstm); ProcessOutParameter(ppstm); return ppstm; } public static ISymUnmanagedReader GetReaderForFile(this ISymUnmanagedBinder instance, object importer, IntPtr filename, IntPtr searchPath) { - ISymUnmanagedReader returnValue = instance.GetReaderForFile(importer, filename, searchPath); + ISymUnmanagedReader returnValue = instance.__GetReaderForFile(importer, filename, searchPath); ProcessOutParameter(returnValue); return returnValue; } public static ISymUnmanagedReader GetReaderFromStream(this ISymUnmanagedBinder instance, object importer, IStream pstream) { - ISymUnmanagedReader returnValue = instance.GetReaderFromStream(importer, pstream); + ISymUnmanagedReader returnValue = instance.__GetReaderFromStream(importer, pstream); ProcessOutParameter(returnValue); return returnValue; } public static void Destroy(this ISymUnmanagedDispose instance) { - instance.Destroy(); + instance.__Destroy(); } public static void GetURL(this ISymUnmanagedDocument instance, uint cchUrl, out uint pcchUrl, IntPtr szUrl) { - instance.GetURL(cchUrl, out pcchUrl, szUrl); + instance.__GetURL(cchUrl, out pcchUrl, szUrl); } public static Guid GetDocumentType(this ISymUnmanagedDocument instance) { - return instance.GetDocumentType(); + return instance.__GetDocumentType(); } public static Guid GetLanguage(this ISymUnmanagedDocument instance) { - return instance.GetLanguage(); + return instance.__GetLanguage(); } public static Guid GetLanguageVendor(this ISymUnmanagedDocument instance) { - return instance.GetLanguageVendor(); + return instance.__GetLanguageVendor(); } public static Guid GetCheckSumAlgorithmId(this ISymUnmanagedDocument instance) { - return instance.GetCheckSumAlgorithmId(); + return instance.__GetCheckSumAlgorithmId(); } public static void GetCheckSum(this ISymUnmanagedDocument instance, uint cData, out uint pcData, IntPtr data) { - instance.GetCheckSum(cData, out pcData, data); + instance.__GetCheckSum(cData, out pcData, data); } public static uint FindClosestLine(this ISymUnmanagedDocument instance, uint line) { - return instance.FindClosestLine(line); + return instance.__FindClosestLine(line); } public static int HasEmbeddedSource(this ISymUnmanagedDocument instance) { - return instance.HasEmbeddedSource(); + return instance.__HasEmbeddedSource(); } public static uint GetSourceLength(this ISymUnmanagedDocument instance) { - return instance.GetSourceLength(); + return instance.__GetSourceLength(); } public static void GetSourceRange(this ISymUnmanagedDocument instance, uint startLine, uint startColumn, uint endLine, uint endColumn, uint cSourceBytes, out uint pcSourceBytes, IntPtr source) { - instance.GetSourceRange(startLine, startColumn, endLine, endColumn, cSourceBytes, out pcSourceBytes, source); + instance.__GetSourceRange(startLine, startColumn, endLine, endColumn, cSourceBytes, out pcSourceBytes, source); } public static void SetSource(this ISymUnmanagedDocumentWriter instance, uint sourceSize, ref byte source) { - instance.SetSource(sourceSize, ref source); + instance.__SetSource(sourceSize, ref source); ProcessOutParameter(source); } public static void SetCheckSum(this ISymUnmanagedDocumentWriter instance, Guid algorithmId, uint checkSumSize, ref byte checkSum) { - instance.SetCheckSum(algorithmId, checkSumSize, ref checkSum); + instance.__SetCheckSum(algorithmId, checkSumSize, ref checkSum); ProcessOutParameter(checkSum); } public static uint GetToken(this ISymUnmanagedMethod instance) { - return instance.GetToken(); + return instance.__GetToken(); } public static uint GetSequencePointCount(this ISymUnmanagedMethod instance) { - return instance.GetSequencePointCount(); + return instance.__GetSequencePointCount(); } public static ISymUnmanagedScope GetRootScope(this ISymUnmanagedMethod instance) { - ISymUnmanagedScope returnValue = instance.GetRootScope(); + ISymUnmanagedScope returnValue = instance.__GetRootScope(); ProcessOutParameter(returnValue); return returnValue; } public static ISymUnmanagedScope GetScopeFromOffset(this ISymUnmanagedMethod instance, uint offset) { - ISymUnmanagedScope returnValue = instance.GetScopeFromOffset(offset); + ISymUnmanagedScope returnValue = instance.__GetScopeFromOffset(offset); ProcessOutParameter(returnValue); return returnValue; } public static uint GetOffset(this ISymUnmanagedMethod instance, ISymUnmanagedDocument document, uint line, uint column) { - return instance.GetOffset(document, line, column); + return instance.__GetOffset(document, line, column); } public static void GetRanges(this ISymUnmanagedMethod instance, ISymUnmanagedDocument document, uint line, uint column, uint cRanges, out uint pcRanges, IntPtr ranges) { - instance.GetRanges(document, line, column, cRanges, out pcRanges, ranges); + instance.__GetRanges(document, line, column, cRanges, out pcRanges, ranges); } public static void GetParameters(this ISymUnmanagedMethod instance, uint cParams, out uint pcParams, IntPtr @params) { - instance.GetParameters(cParams, out pcParams, @params); + instance.__GetParameters(cParams, out pcParams, @params); } public static ISymUnmanagedNamespace GetNamespace(this ISymUnmanagedMethod instance) { ISymUnmanagedNamespace pRetVal; - instance.GetNamespace(out pRetVal); + instance.__GetNamespace(out pRetVal); ProcessOutParameter(pRetVal); return pRetVal; } @@ -706,521 +706,521 @@ namespace Debugger.Interop.CorSym public static int GetSourceStartEnd(this ISymUnmanagedMethod instance, ISymUnmanagedDocument[] docs, uint[] lines, uint[] columns) { int pRetVal; - instance.GetSourceStartEnd(docs, lines, columns, out pRetVal); + instance.__GetSourceStartEnd(docs, lines, columns, out pRetVal); ProcessOutParameter(docs); return pRetVal; } public static void GetSequencePoints(this ISymUnmanagedMethod instance, uint cPoints, out uint pcPoints, uint[] offsets, ISymUnmanagedDocument[] documents, uint[] lines, uint[] columns, uint[] endLines, uint[] endColumns) { - instance.GetSequencePoints(cPoints, out pcPoints, offsets, documents, lines, columns, endLines, endColumns); + instance.__GetSequencePoints(cPoints, out pcPoints, offsets, documents, lines, columns, endLines, endColumns); ProcessOutParameter(documents); } public static void GetName(this ISymUnmanagedNamespace instance, uint cchName, out uint pcchName, IntPtr szName) { - instance.GetName(cchName, out pcchName, szName); + instance.__GetName(cchName, out pcchName, szName); } public static void GetNamespaces(this ISymUnmanagedNamespace instance, uint cNameSpaces, out uint pcNameSpaces, IntPtr namespaces) { - instance.GetNamespaces(cNameSpaces, out pcNameSpaces, namespaces); + instance.__GetNamespaces(cNameSpaces, out pcNameSpaces, namespaces); } public static void GetVariables(this ISymUnmanagedNamespace instance, uint cVars, out uint pcVars, IntPtr pVars) { - instance.GetVariables(cVars, out pcVars, pVars); + instance.__GetVariables(cVars, out pcVars, pVars); } public static ISymUnmanagedDocument GetDocument(this ISymUnmanagedReader instance, IntPtr url, Guid language, Guid languageVendor, Guid documentType) { - ISymUnmanagedDocument returnValue = instance.GetDocument(url, language, languageVendor, documentType); + ISymUnmanagedDocument returnValue = instance.__GetDocument(url, language, languageVendor, documentType); ProcessOutParameter(returnValue); return returnValue; } public static void GetDocuments(this ISymUnmanagedReader instance, uint cDocs, out uint pcDocs, ISymUnmanagedDocument[] pDocs) { - instance.GetDocuments(cDocs, out pcDocs, pDocs); + instance.__GetDocuments(cDocs, out pcDocs, pDocs); ProcessOutParameter(pDocs); } public static uint GetUserEntryPoint(this ISymUnmanagedReader instance) { - return instance.GetUserEntryPoint(); + return instance.__GetUserEntryPoint(); } public static ISymUnmanagedMethod GetMethod(this ISymUnmanagedReader instance, uint token) { - ISymUnmanagedMethod returnValue = instance.GetMethod(token); + ISymUnmanagedMethod returnValue = instance.__GetMethod(token); ProcessOutParameter(returnValue); return returnValue; } public static ISymUnmanagedMethod GetMethodByVersion(this ISymUnmanagedReader instance, uint token, int version) { - ISymUnmanagedMethod returnValue = instance.GetMethodByVersion(token, version); + ISymUnmanagedMethod returnValue = instance.__GetMethodByVersion(token, version); ProcessOutParameter(returnValue); return returnValue; } public static void GetVariables(this ISymUnmanagedReader instance, uint parent, uint cVars, out uint pcVars, IntPtr pVars) { - instance.GetVariables(parent, cVars, out pcVars, pVars); + instance.__GetVariables(parent, cVars, out pcVars, pVars); } public static void GetGlobalVariables(this ISymUnmanagedReader instance, uint cVars, out uint pcVars, IntPtr pVars) { - instance.GetGlobalVariables(cVars, out pcVars, pVars); + instance.__GetGlobalVariables(cVars, out pcVars, pVars); } public static ISymUnmanagedMethod GetMethodFromDocumentPosition(this ISymUnmanagedReader instance, ISymUnmanagedDocument document, uint line, uint column) { - ISymUnmanagedMethod returnValue = instance.GetMethodFromDocumentPosition(document, line, column); + ISymUnmanagedMethod returnValue = instance.__GetMethodFromDocumentPosition(document, line, column); ProcessOutParameter(returnValue); return returnValue; } public static void GetSymAttribute(this ISymUnmanagedReader instance, uint parent, IntPtr name, uint cBuffer, out uint pcBuffer, IntPtr buffer) { - instance.GetSymAttribute(parent, name, cBuffer, out pcBuffer, buffer); + instance.__GetSymAttribute(parent, name, cBuffer, out pcBuffer, buffer); } public static void GetNamespaces(this ISymUnmanagedReader instance, uint cNameSpaces, out uint pcNameSpaces, IntPtr namespaces) { - instance.GetNamespaces(cNameSpaces, out pcNameSpaces, namespaces); + instance.__GetNamespaces(cNameSpaces, out pcNameSpaces, namespaces); } public static void Initialize(this ISymUnmanagedReader instance, object importer, IntPtr filename, IntPtr searchPath, IStream pIStream) { - instance.Initialize(importer, filename, searchPath, pIStream); + instance.__Initialize(importer, filename, searchPath, pIStream); } public static void UpdateSymbolStore(this ISymUnmanagedReader instance, IntPtr filename, IStream pIStream) { - instance.UpdateSymbolStore(filename, pIStream); + instance.__UpdateSymbolStore(filename, pIStream); } public static void ReplaceSymbolStore(this ISymUnmanagedReader instance, IntPtr filename, IStream pIStream) { - instance.ReplaceSymbolStore(filename, pIStream); + instance.__ReplaceSymbolStore(filename, pIStream); } public static void GetSymbolStoreFileName(this ISymUnmanagedReader instance, uint cchName, out uint pcchName, IntPtr szName) { - instance.GetSymbolStoreFileName(cchName, out pcchName, szName); + instance.__GetSymbolStoreFileName(cchName, out pcchName, szName); } public static void GetMethodsFromDocumentPosition(this ISymUnmanagedReader instance, ISymUnmanagedDocument document, uint line, uint column, uint cMethod, out uint pcMethod, IntPtr pRetVal) { - instance.GetMethodsFromDocumentPosition(document, line, column, cMethod, out pcMethod, pRetVal); + instance.__GetMethodsFromDocumentPosition(document, line, column, cMethod, out pcMethod, pRetVal); } public static void GetDocumentVersion(this ISymUnmanagedReader instance, ISymUnmanagedDocument pDoc, out int version, out int pbCurrent) { - instance.GetDocumentVersion(pDoc, out version, out pbCurrent); + instance.__GetDocumentVersion(pDoc, out version, out pbCurrent); } public static int GetMethodVersion(this ISymUnmanagedReader instance, ISymUnmanagedMethod pMethod) { int version; - instance.GetMethodVersion(pMethod, out version); + instance.__GetMethodVersion(pMethod, out version); return version; } public static uint GetSymbolSearchInfoCount(this ISymUnmanagedReaderSymbolSearchInfo instance) { uint pcSearchInfo; - instance.GetSymbolSearchInfoCount(out pcSearchInfo); + instance.__GetSymbolSearchInfoCount(out pcSearchInfo); return pcSearchInfo; } public static void GetSymbolSearchInfo(this ISymUnmanagedReaderSymbolSearchInfo instance, uint cSearchInfo, out uint pcSearchInfo, out ISymUnmanagedSymbolSearchInfo rgpSearchInfo) { - instance.GetSymbolSearchInfo(cSearchInfo, out pcSearchInfo, out rgpSearchInfo); + instance.__GetSymbolSearchInfo(cSearchInfo, out pcSearchInfo, out rgpSearchInfo); ProcessOutParameter(rgpSearchInfo); } public static ISymUnmanagedMethod GetMethod(this ISymUnmanagedScope instance) { - ISymUnmanagedMethod returnValue = instance.GetMethod(); + ISymUnmanagedMethod returnValue = instance.__GetMethod(); ProcessOutParameter(returnValue); return returnValue; } public static ISymUnmanagedScope GetParent(this ISymUnmanagedScope instance) { - ISymUnmanagedScope returnValue = instance.GetParent(); + ISymUnmanagedScope returnValue = instance.__GetParent(); ProcessOutParameter(returnValue); return returnValue; } public static void GetChildren(this ISymUnmanagedScope instance, uint cChildren, out uint pcChildren, ISymUnmanagedScope[] children) { - instance.GetChildren(cChildren, out pcChildren, children); + instance.__GetChildren(cChildren, out pcChildren, children); ProcessOutParameter(children); } public static uint GetStartOffset(this ISymUnmanagedScope instance) { - return instance.GetStartOffset(); + return instance.__GetStartOffset(); } public static uint GetEndOffset(this ISymUnmanagedScope instance) { - return instance.GetEndOffset(); + return instance.__GetEndOffset(); } public static uint GetLocalCount(this ISymUnmanagedScope instance) { - return instance.GetLocalCount(); + return instance.__GetLocalCount(); } public static void GetLocals(this ISymUnmanagedScope instance, uint cLocals, out uint pcLocals, ISymUnmanagedVariable[] locals) { - instance.GetLocals(cLocals, out pcLocals, locals); + instance.__GetLocals(cLocals, out pcLocals, locals); ProcessOutParameter(locals); } public static void GetNamespaces(this ISymUnmanagedScope instance, uint cNameSpaces, out uint pcNameSpaces, ISymUnmanagedNamespace[] namespaces) { - instance.GetNamespaces(cNameSpaces, out pcNameSpaces, namespaces); + instance.__GetNamespaces(cNameSpaces, out pcNameSpaces, namespaces); ProcessOutParameter(namespaces); } public static uint GetSearchPathLength(this ISymUnmanagedSymbolSearchInfo instance) { uint pcchPath; - instance.GetSearchPathLength(out pcchPath); + instance.__GetSearchPathLength(out pcchPath); return pcchPath; } public static void GetSearchPath(this ISymUnmanagedSymbolSearchInfo instance, uint cchPath, out uint pcchPath, IntPtr szPath) { - instance.GetSearchPath(cchPath, out pcchPath, szPath); + instance.__GetSearchPath(cchPath, out pcchPath, szPath); } public static int GetHRESULT(this ISymUnmanagedSymbolSearchInfo instance) { int phr; - instance.GetHRESULT(out phr); + instance.__GetHRESULT(out phr); return phr; } public static void GetName(this ISymUnmanagedVariable instance, uint cchName, out uint pcchName, IntPtr szName) { - instance.GetName(cchName, out pcchName, szName); + instance.__GetName(cchName, out pcchName, szName); } public static uint GetAttributes(this ISymUnmanagedVariable instance) { - return instance.GetAttributes(); + return instance.__GetAttributes(); } public static void GetSignature(this ISymUnmanagedVariable instance, uint cSig, out uint pcSig, IntPtr sig) { - instance.GetSignature(cSig, out pcSig, sig); + instance.__GetSignature(cSig, out pcSig, sig); } public static uint GetAddressKind(this ISymUnmanagedVariable instance) { - return instance.GetAddressKind(); + return instance.__GetAddressKind(); } public static uint GetAddressField1(this ISymUnmanagedVariable instance) { - return instance.GetAddressField1(); + return instance.__GetAddressField1(); } public static uint GetAddressField2(this ISymUnmanagedVariable instance) { - return instance.GetAddressField2(); + return instance.__GetAddressField2(); } public static uint GetAddressField3(this ISymUnmanagedVariable instance) { - return instance.GetAddressField3(); + return instance.__GetAddressField3(); } public static uint GetStartOffset(this ISymUnmanagedVariable instance) { - return instance.GetStartOffset(); + return instance.__GetStartOffset(); } public static uint GetEndOffset(this ISymUnmanagedVariable instance) { - return instance.GetEndOffset(); + return instance.__GetEndOffset(); } public static ISymUnmanagedDocumentWriter DefineDocument(this ISymUnmanagedWriter instance, IntPtr url, ref Guid language, ref Guid languageVendor, ref Guid documentType) { - ISymUnmanagedDocumentWriter returnValue = instance.DefineDocument(url, ref language, ref languageVendor, ref documentType); + ISymUnmanagedDocumentWriter returnValue = instance.__DefineDocument(url, ref language, ref languageVendor, ref documentType); ProcessOutParameter(returnValue); return returnValue; } public static void SetUserEntryPoint(this ISymUnmanagedWriter instance, uint entryMethod) { - instance.SetUserEntryPoint(entryMethod); + instance.__SetUserEntryPoint(entryMethod); } public static void OpenMethod(this ISymUnmanagedWriter instance, uint method) { - instance.OpenMethod(method); + instance.__OpenMethod(method); } public static void CloseMethod(this ISymUnmanagedWriter instance) { - instance.CloseMethod(); + instance.__CloseMethod(); } public static uint OpenScope(this ISymUnmanagedWriter instance, uint startOffset) { - return instance.OpenScope(startOffset); + return instance.__OpenScope(startOffset); } public static void CloseScope(this ISymUnmanagedWriter instance, uint endOffset) { - instance.CloseScope(endOffset); + instance.__CloseScope(endOffset); } public static void SetScopeRange(this ISymUnmanagedWriter instance, uint scopeID, uint startOffset, uint endOffset) { - instance.SetScopeRange(scopeID, startOffset, endOffset); + instance.__SetScopeRange(scopeID, startOffset, endOffset); } public static void DefineLocalVariable(this ISymUnmanagedWriter instance, IntPtr name, uint attributes, uint cSig, ref byte signature, uint addrKind, uint addr1, uint addr2, uint addr3, uint startOffset, uint endOffset) { - instance.DefineLocalVariable(name, attributes, cSig, ref signature, addrKind, addr1, addr2, addr3, startOffset, endOffset); + instance.__DefineLocalVariable(name, attributes, cSig, ref signature, addrKind, addr1, addr2, addr3, startOffset, endOffset); ProcessOutParameter(signature); } public static void DefineParameter(this ISymUnmanagedWriter instance, IntPtr name, uint attributes, uint sequence, uint addrKind, uint addr1, uint addr2, uint addr3) { - instance.DefineParameter(name, attributes, sequence, addrKind, addr1, addr2, addr3); + instance.__DefineParameter(name, attributes, sequence, addrKind, addr1, addr2, addr3); } public static void DefineField(this ISymUnmanagedWriter instance, uint parent, IntPtr name, uint attributes, uint cSig, ref byte signature, uint addrKind, uint addr1, uint addr2, uint addr3) { - instance.DefineField(parent, name, attributes, cSig, ref signature, addrKind, addr1, addr2, addr3); + instance.__DefineField(parent, name, attributes, cSig, ref signature, addrKind, addr1, addr2, addr3); ProcessOutParameter(signature); } public static void DefineGlobalVariable(this ISymUnmanagedWriter instance, IntPtr name, uint attributes, uint cSig, ref byte signature, uint addrKind, uint addr1, uint addr2, uint addr3) { - instance.DefineGlobalVariable(name, attributes, cSig, ref signature, addrKind, addr1, addr2, addr3); + instance.__DefineGlobalVariable(name, attributes, cSig, ref signature, addrKind, addr1, addr2, addr3); ProcessOutParameter(signature); } public static void Close(this ISymUnmanagedWriter instance) { - instance.Close(); + instance.__Close(); } public static void SetSymAttribute(this ISymUnmanagedWriter instance, uint parent, IntPtr name, uint cData, ref byte data) { - instance.SetSymAttribute(parent, name, cData, ref data); + instance.__SetSymAttribute(parent, name, cData, ref data); ProcessOutParameter(data); } public static void OpenNamespace(this ISymUnmanagedWriter instance, IntPtr name) { - instance.OpenNamespace(name); + instance.__OpenNamespace(name); } public static void CloseNamespace(this ISymUnmanagedWriter instance) { - instance.CloseNamespace(); + instance.__CloseNamespace(); } public static void UsingNamespace(this ISymUnmanagedWriter instance, IntPtr fullName) { - instance.UsingNamespace(fullName); + instance.__UsingNamespace(fullName); } public static void SetMethodSourceRange(this ISymUnmanagedWriter instance, ISymUnmanagedDocumentWriter startDoc, uint startLine, uint startColumn, ISymUnmanagedDocumentWriter endDoc, uint endLine, uint endColumn) { - instance.SetMethodSourceRange(startDoc, startLine, startColumn, endDoc, endLine, endColumn); + instance.__SetMethodSourceRange(startDoc, startLine, startColumn, endDoc, endLine, endColumn); } public static void Initialize(this ISymUnmanagedWriter instance, object emitter, IntPtr filename, IStream pIStream, int fFullBuild) { - instance.Initialize(emitter, filename, pIStream, fFullBuild); + instance.__Initialize(emitter, filename, pIStream, fFullBuild); } public static void GetDebugInfo(this ISymUnmanagedWriter instance, ref uint pIDD, uint cData, out uint pcData, IntPtr data) { - instance.GetDebugInfo(ref pIDD, cData, out pcData, data); + instance.__GetDebugInfo(ref pIDD, cData, out pcData, data); } public static void DefineSequencePoints(this ISymUnmanagedWriter instance, ISymUnmanagedDocumentWriter document, uint spCount, ref uint offsets, ref uint lines, ref uint columns, ref uint endLines, ref uint endColumns) { - instance.DefineSequencePoints(document, spCount, ref offsets, ref lines, ref columns, ref endLines, ref endColumns); + instance.__DefineSequencePoints(document, spCount, ref offsets, ref lines, ref columns, ref endLines, ref endColumns); } public static void RemapToken(this ISymUnmanagedWriter instance, uint oldToken, uint newToken) { - instance.RemapToken(oldToken, newToken); + instance.__RemapToken(oldToken, newToken); } public static void Initialize2(this ISymUnmanagedWriter instance, object emitter, IntPtr tempfilename, IStream pIStream, int fFullBuild, IntPtr finalfilename) { - instance.Initialize2(emitter, tempfilename, pIStream, fFullBuild, finalfilename); + instance.__Initialize2(emitter, tempfilename, pIStream, fFullBuild, finalfilename); } public static void DefineConstant(this ISymUnmanagedWriter instance, IntPtr name, object value, uint cSig, ref byte signature) { - instance.DefineConstant(name, value, cSig, ref signature); + instance.__DefineConstant(name, value, cSig, ref signature); ProcessOutParameter(signature); } public static void Abort(this ISymUnmanagedWriter instance) { - instance.Abort(); + instance.__Abort(); } public static ISymUnmanagedDocumentWriter DefineDocument(this ISymUnmanagedWriter2 instance, IntPtr url, ref Guid language, ref Guid languageVendor, ref Guid documentType) { - ISymUnmanagedDocumentWriter returnValue = instance.DefineDocument(url, ref language, ref languageVendor, ref documentType); + ISymUnmanagedDocumentWriter returnValue = instance.__DefineDocument(url, ref language, ref languageVendor, ref documentType); ProcessOutParameter(returnValue); return returnValue; } public static void SetUserEntryPoint(this ISymUnmanagedWriter2 instance, uint entryMethod) { - instance.SetUserEntryPoint(entryMethod); + instance.__SetUserEntryPoint(entryMethod); } public static void OpenMethod(this ISymUnmanagedWriter2 instance, uint method) { - instance.OpenMethod(method); + instance.__OpenMethod(method); } public static void CloseMethod(this ISymUnmanagedWriter2 instance) { - instance.CloseMethod(); + instance.__CloseMethod(); } public static uint OpenScope(this ISymUnmanagedWriter2 instance, uint startOffset) { - return instance.OpenScope(startOffset); + return instance.__OpenScope(startOffset); } public static void CloseScope(this ISymUnmanagedWriter2 instance, uint endOffset) { - instance.CloseScope(endOffset); + instance.__CloseScope(endOffset); } public static void SetScopeRange(this ISymUnmanagedWriter2 instance, uint scopeID, uint startOffset, uint endOffset) { - instance.SetScopeRange(scopeID, startOffset, endOffset); + instance.__SetScopeRange(scopeID, startOffset, endOffset); } public static void DefineLocalVariable(this ISymUnmanagedWriter2 instance, IntPtr name, uint attributes, uint cSig, ref byte signature, uint addrKind, uint addr1, uint addr2, uint addr3, uint startOffset, uint endOffset) { - instance.DefineLocalVariable(name, attributes, cSig, ref signature, addrKind, addr1, addr2, addr3, startOffset, endOffset); + instance.__DefineLocalVariable(name, attributes, cSig, ref signature, addrKind, addr1, addr2, addr3, startOffset, endOffset); ProcessOutParameter(signature); } public static void DefineParameter(this ISymUnmanagedWriter2 instance, IntPtr name, uint attributes, uint sequence, uint addrKind, uint addr1, uint addr2, uint addr3) { - instance.DefineParameter(name, attributes, sequence, addrKind, addr1, addr2, addr3); + instance.__DefineParameter(name, attributes, sequence, addrKind, addr1, addr2, addr3); } public static void DefineField(this ISymUnmanagedWriter2 instance, uint parent, IntPtr name, uint attributes, uint cSig, ref byte signature, uint addrKind, uint addr1, uint addr2, uint addr3) { - instance.DefineField(parent, name, attributes, cSig, ref signature, addrKind, addr1, addr2, addr3); + instance.__DefineField(parent, name, attributes, cSig, ref signature, addrKind, addr1, addr2, addr3); ProcessOutParameter(signature); } public static void DefineGlobalVariable(this ISymUnmanagedWriter2 instance, IntPtr name, uint attributes, uint cSig, ref byte signature, uint addrKind, uint addr1, uint addr2, uint addr3) { - instance.DefineGlobalVariable(name, attributes, cSig, ref signature, addrKind, addr1, addr2, addr3); + instance.__DefineGlobalVariable(name, attributes, cSig, ref signature, addrKind, addr1, addr2, addr3); ProcessOutParameter(signature); } public static void Close(this ISymUnmanagedWriter2 instance) { - instance.Close(); + instance.__Close(); } public static void SetSymAttribute(this ISymUnmanagedWriter2 instance, uint parent, IntPtr name, uint cData, ref byte data) { - instance.SetSymAttribute(parent, name, cData, ref data); + instance.__SetSymAttribute(parent, name, cData, ref data); ProcessOutParameter(data); } public static void OpenNamespace(this ISymUnmanagedWriter2 instance, IntPtr name) { - instance.OpenNamespace(name); + instance.__OpenNamespace(name); } public static void CloseNamespace(this ISymUnmanagedWriter2 instance) { - instance.CloseNamespace(); + instance.__CloseNamespace(); } public static void UsingNamespace(this ISymUnmanagedWriter2 instance, IntPtr fullName) { - instance.UsingNamespace(fullName); + instance.__UsingNamespace(fullName); } public static void SetMethodSourceRange(this ISymUnmanagedWriter2 instance, ISymUnmanagedDocumentWriter startDoc, uint startLine, uint startColumn, ISymUnmanagedDocumentWriter endDoc, uint endLine, uint endColumn) { - instance.SetMethodSourceRange(startDoc, startLine, startColumn, endDoc, endLine, endColumn); + instance.__SetMethodSourceRange(startDoc, startLine, startColumn, endDoc, endLine, endColumn); } public static void Initialize(this ISymUnmanagedWriter2 instance, object emitter, IntPtr filename, IStream pIStream, int fFullBuild) { - instance.Initialize(emitter, filename, pIStream, fFullBuild); + instance.__Initialize(emitter, filename, pIStream, fFullBuild); } public static void GetDebugInfo(this ISymUnmanagedWriter2 instance, ref uint pIDD, uint cData, out uint pcData, IntPtr data) { - instance.GetDebugInfo(ref pIDD, cData, out pcData, data); + instance.__GetDebugInfo(ref pIDD, cData, out pcData, data); } public static void DefineSequencePoints(this ISymUnmanagedWriter2 instance, ISymUnmanagedDocumentWriter document, uint spCount, ref uint offsets, ref uint lines, ref uint columns, ref uint endLines, ref uint endColumns) { - instance.DefineSequencePoints(document, spCount, ref offsets, ref lines, ref columns, ref endLines, ref endColumns); + instance.__DefineSequencePoints(document, spCount, ref offsets, ref lines, ref columns, ref endLines, ref endColumns); } public static void RemapToken(this ISymUnmanagedWriter2 instance, uint oldToken, uint newToken) { - instance.RemapToken(oldToken, newToken); + instance.__RemapToken(oldToken, newToken); } public static void Initialize2(this ISymUnmanagedWriter2 instance, object emitter, IntPtr tempfilename, IStream pIStream, int fFullBuild, IntPtr finalfilename) { - instance.Initialize2(emitter, tempfilename, pIStream, fFullBuild, finalfilename); + instance.__Initialize2(emitter, tempfilename, pIStream, fFullBuild, finalfilename); } public static void DefineConstant(this ISymUnmanagedWriter2 instance, IntPtr name, object value, uint cSig, ref byte signature) { - instance.DefineConstant(name, value, cSig, ref signature); + instance.__DefineConstant(name, value, cSig, ref signature); ProcessOutParameter(signature); } public static void Abort(this ISymUnmanagedWriter2 instance) { - instance.Abort(); + instance.__Abort(); } public static void DefineLocalVariable2(this ISymUnmanagedWriter2 instance, IntPtr name, uint attributes, uint sigToken, uint addrKind, uint addr1, uint addr2, uint addr3, uint startOffset, uint endOffset) { - instance.DefineLocalVariable2(name, attributes, sigToken, addrKind, addr1, addr2, addr3, startOffset, endOffset); + instance.__DefineLocalVariable2(name, attributes, sigToken, addrKind, addr1, addr2, addr3, startOffset, endOffset); } public static void DefineGlobalVariable2(this ISymUnmanagedWriter2 instance, IntPtr name, uint attributes, uint sigToken, uint addrKind, uint addr1, uint addr2, uint addr3) { - instance.DefineGlobalVariable2(name, attributes, sigToken, addrKind, addr1, addr2, addr3); + instance.__DefineGlobalVariable2(name, attributes, sigToken, addrKind, addr1, addr2, addr3); } public static void DefineConstant2(this ISymUnmanagedWriter2 instance, IntPtr name, object value, uint sigToken) { - instance.DefineConstant2(name, value, sigToken); + instance.__DefineConstant2(name, value, sigToken); } } diff --git a/src/Tools/ComExtensionMethodGenerator/ComExtensionMethodGenerator.cs b/src/Tools/ComExtensionMethodGenerator/ComExtensionMethodGenerator.cs index 23a19a8915..bc83b1fccb 100644 --- a/src/Tools/ComExtensionMethodGenerator/ComExtensionMethodGenerator.cs +++ b/src/Tools/ComExtensionMethodGenerator/ComExtensionMethodGenerator.cs @@ -39,6 +39,7 @@ namespace ComExtensionMethodGenerator Header = header, Namespace = "Debugger.Interop." + name, TypeName = name + "ExtensionMethods", + MethodPrefix = "__", }.Generate(); } } @@ -57,6 +58,7 @@ namespace ComExtensionMethodGenerator public string[] ProcessOutParameterIgnores = new string[] { "System.Int32", "System.UInt32", "System.Int64", "System.UInt64", "System.Boolean", "Guid" }; public bool ConvertOutParameterToReturn = true; public string ReturnValueName = "returnValue"; + public string MethodPrefix = string.Empty; public string Generate() { @@ -64,6 +66,8 @@ namespace ComExtensionMethodGenerator IParser parser = ParserFactory.CreateParser(InputFile); parser.Parse(); + bool hasWarnings = false; + // Prepare the output CompilationUnit generated = new CompilationUnit(); if (Header != null) @@ -106,8 +110,16 @@ namespace ComExtensionMethodGenerator // Signature extensionMethod.Modifier = Modifiers.Public | Modifiers.Static; extensionMethod.TypeReference = method.TypeReference; - extensionMethod.Name = method.Name; extensionMethod.IsExtensionMethod = true; + if (string.IsNullOrEmpty(MethodPrefix)) { + extensionMethod.Name = method.Name; + } else if (method.Name.StartsWith(MethodPrefix)) { + extensionMethod.Name = method.Name.Substring(MethodPrefix.Length); + } else { + extensionMethod.Name = method.Name; + Console.WriteLine("Warning: {0}.{1} is missing prefix {2}.", type.Name, method.Name, MethodPrefix); + hasWarnings = true; + } // Parameters extensionMethod.Parameters.Add(new ParameterDeclarationExpression(new TypeReference(type.Name), ThisParameterName)); foreach(ParameterDeclarationExpression param in method.Parameters) { @@ -217,6 +229,11 @@ namespace ComExtensionMethodGenerator File.WriteAllText(OutputFile, output); } + if (hasWarnings) { + Console.WriteLine("Press any key to continue..."); + Console.ReadKey(); + } + return output; } }