public DebugProcessOptions CopyTo(DebugProcessOptions other) { other.CLRTypeDebugInfo = CLRTypeDebugInfo.Clone(); other.Filename = Filename; other.CommandLine = CommandLine; other.CurrentDirectory = CurrentDirectory; other.InheritHandles = InheritHandles; other.ProcessCreationFlags = ProcessCreationFlags; other.DebugMessageDispatcher = DebugMessageDispatcher; other.DebugOptions = DebugOptions == null ? null : DebugOptions.Clone(); other.BreakProcessKind = BreakProcessKind; return(other); }