[Monodevelop-patches-list] r2627 - in trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding: . Project
Lluis Sanchez <lluis@ximian.com>
lluis at mono-cvs.ximian.com
Mon Jul 11 10:52:07 EDT 2005
Author: lluis
Date: 2005-07-11 10:52:07 -0400 (Mon, 11 Jul 2005)
New Revision: 2627
Modified:
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/CSharpLanguageBinding.cs
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/ChangeLog
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/Project/CSharpCompilerParameters.cs
Log:
2005-07-11 Lluis Sanchez Gual <lluis at novell.com>
* Project/CSharpCompilerParameters.cs: Implement ICloneable.
* CSharpLanguageBinding.cs: CreateCompilationParameters now returns an
ICloneable.
Modified: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/CSharpLanguageBinding.cs
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/CSharpLanguageBinding.cs 2005-07-11 14:51:40 UTC (rev 2626)
+++ trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/CSharpLanguageBinding.cs 2005-07-11 14:52:07 UTC (rev 2627)
@@ -56,7 +56,7 @@
compilerManager.GenerateMakefile (project, parentCombine);
}
- public object CreateCompilationParameters (XmlElement projectOptions)
+ public ICloneable CreateCompilationParameters (XmlElement projectOptions)
{
return new CSharpCompilerParameters();
}
Modified: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/ChangeLog 2005-07-11 14:51:40 UTC (rev 2626)
+++ trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/ChangeLog 2005-07-11 14:52:07 UTC (rev 2627)
@@ -1,3 +1,9 @@
+2005-07-11 Lluis Sanchez Gual <lluis at novell.com>
+
+ * Project/CSharpCompilerParameters.cs: Implement ICloneable.
+ * CSharpLanguageBinding.cs: CreateCompilationParameters now returns an
+ ICloneable.
+
2005-05-15 Lluis Sanchez Gual <lluis at novell.com>
* CSharp.glade: Several fixes to make the dialogs more conforming
Modified: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/Project/CSharpCompilerParameters.cs
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/Project/CSharpCompilerParameters.cs 2005-07-11 14:51:40 UTC (rev 2626)
+++ trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/Project/CSharpCompilerParameters.cs 2005-07-11 14:52:07 UTC (rev 2627)
@@ -23,7 +23,7 @@
/// <summary>
/// This class handles project specific compiler parameters
/// </summary>
- public class CSharpCompilerParameters
+ public class CSharpCompilerParameters: ICloneable
{
// Configuration parameters
@@ -57,6 +57,11 @@
[ProjectPathItemProperty ("win32Icon", DefaultValue = "")]
string win32Icon = String.Empty;
+ public object Clone ()
+ {
+ return MemberwiseClone ();
+ }
+
[Browsable(false)]
public CsharpCompiler CsharpCompiler {
get {
More information about the Monodevelop-patches-list
mailing list