@@ -42,19 +42,19 @@ public class NativeCoreWrapper : ICoreProcessFunctions
4242 [ return : MarshalAs ( UnmanagedType . I1 ) ]
4343 private delegate bool SetHardwareBreakpointDelegate ( IntPtr id , IntPtr address , HardwareBreakpointRegister register , HardwareBreakpointTrigger trigger , HardwareBreakpointSize size , [ param: MarshalAs ( UnmanagedType . I1 ) ] bool set ) ;
4444
45- private EnumerateProcessesDelegate enumerateProcessesDelegate ;
46- private EnumerateRemoteSectionsAndModulesDelegate enumerateRemoteSectionsAndModulesDelegate ;
47- private OpenRemoteProcessDelegate openRemoteProcessDelegate ;
48- private IsProcessValidDelegate isProcessValidDelegate ;
49- private CloseRemoteProcessDelegate closeRemoteProcessDelegate ;
50- private ReadRemoteMemoryDelegate readRemoteMemoryDelegate ;
51- private WriteRemoteMemoryDelegate writeRemoteMemoryDelegate ;
52- private ControlRemoteProcessDelegate controlRemoteProcessDelegate ;
53- private AttachDebuggerToProcessDelegate attachDebuggerToProcessDelegate ;
54- private DetachDebuggerFromProcessDelegate detachDebuggerFromProcessDelegate ;
55- private AwaitDebugEventDelegate awaitDebugEventDelegate ;
56- private HandleDebugEventDelegate handleDebugEventDelegate ;
57- private SetHardwareBreakpointDelegate setHardwareBreakpointDelegate ;
45+ private readonly EnumerateProcessesDelegate enumerateProcessesDelegate ;
46+ private readonly EnumerateRemoteSectionsAndModulesDelegate enumerateRemoteSectionsAndModulesDelegate ;
47+ private readonly OpenRemoteProcessDelegate openRemoteProcessDelegate ;
48+ private readonly IsProcessValidDelegate isProcessValidDelegate ;
49+ private readonly CloseRemoteProcessDelegate closeRemoteProcessDelegate ;
50+ private readonly ReadRemoteMemoryDelegate readRemoteMemoryDelegate ;
51+ private readonly WriteRemoteMemoryDelegate writeRemoteMemoryDelegate ;
52+ private readonly ControlRemoteProcessDelegate controlRemoteProcessDelegate ;
53+ private readonly AttachDebuggerToProcessDelegate attachDebuggerToProcessDelegate ;
54+ private readonly DetachDebuggerFromProcessDelegate detachDebuggerFromProcessDelegate ;
55+ private readonly AwaitDebugEventDelegate awaitDebugEventDelegate ;
56+ private readonly HandleDebugEventDelegate handleDebugEventDelegate ;
57+ private readonly SetHardwareBreakpointDelegate setHardwareBreakpointDelegate ;
5858
5959 #endregion
6060
0 commit comments