Author: mkrueger
Date: 2007-10-08 08:08:12 -0400 (Mon, 08 Oct 2007)
New Revision: 87088

Modified:
   trunk/monodevelop/Extras/CSharpBinding/ChangeLog
   trunk/monodevelop/Extras/CSharpBinding/Parser/CodeGenerator.cs
Log:
* Parser/CodeGenerator.cs: fixed "Bug 325223 - Interface refactory
  doesn't implement correctly (4 bugs)".

Modified: trunk/monodevelop/Extras/CSharpBinding/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/CSharpBinding/ChangeLog    2007-10-08 12:08:00 UTC 
(rev 87087)
+++ trunk/monodevelop/Extras/CSharpBinding/ChangeLog    2007-10-08 12:08:12 UTC 
(rev 87088)
@@ -1,5 +1,10 @@
 2007-10-08  Mike Krüger <[EMAIL PROTECTED]> 
 
+       * Parser/CodeGenerator.cs: fixed "Bug 325223 - Interface refactory 
doesn't
+         implement correctly (4 bugs)".
+
+2007-10-08  Mike Krüger <[EMAIL PROTECTED]> 
+
        * Parser/ExpressionFinder.cs: Worked on "Bug 330717 - Error while 
updating
          status of command. CurrentRefactoryOperations". Need to get reply, if
          this bug is fixed (couldn't reproduce the problem).

Modified: trunk/monodevelop/Extras/CSharpBinding/Parser/CodeGenerator.cs
===================================================================
--- trunk/monodevelop/Extras/CSharpBinding/Parser/CodeGenerator.cs      
2007-10-08 12:08:00 UTC (rev 87087)
+++ trunk/monodevelop/Extras/CSharpBinding/Parser/CodeGenerator.cs      
2007-10-08 12:08:12 UTC (rev 87088)
@@ -66,6 +66,14 @@
                {
                        return csharpProvider.CreateGenerator ();
                }
+               public override string ConvertToLanguageTypeName (string 
netTypeName)
+               {
+                       Console.WriteLine ("Convert : '{0}'", netTypeName);
+                       string result = 
CSharpAmbience.TypeConversionTable[netTypeName] as string;
+                       if (result != null)
+                               return result;
+                       return netTypeName;
+               }
                
                public override IClass RenameClass (RefactorerContext ctx, 
IClass cls, string newName)
                {
@@ -818,5 +826,6 @@
                        else
                                return fullName.Substring (i+1);
                }
+               
        }
 }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to