Browse Source

2003-07-07 Andreas Nahr <[email protected]>

	* CodeDomProvider.cs: Removed unneccesary attribute according to corecompare
	* Executor.cs: Fixed signature with ref calls according to corecompare and made neccessary changes

svn path=/trunk/mcs/; revision=16008
Andreas N 22 years ago
parent
commit
b6687f8951

+ 5 - 0
mcs/class/System/System.CodeDom.Compiler/ChangeLog

@@ -1,3 +1,8 @@
+2003-07-07  Andreas Nahr <[email protected]>
+
+	* CodeDomProvider.cs: Removed unneccesary attribute according to corecompare
+	* Executor.cs: Fixed signature with ref calls according to corecompare and made neccessary changes
+
 2003-06-20  Andreas Nahr <[email protected]>
 
 	* CodeCompiler.cs: Nearly completely implemented

+ 1 - 1
mcs/class/System/System.CodeDom.Compiler/CodeDomProvider.cs

@@ -12,7 +12,7 @@ using System.IO;
 
 namespace System.CodeDom.Compiler
 {
-	[ToolboxItem (""), DesignerCategory ("Component")]
+	[ToolboxItem ("")]
 	public abstract class CodeDomProvider : Component
 	{
 		//

+ 10 - 8
mcs/class/System/System.CodeDom.Compiler/Executor.cs

@@ -22,28 +22,30 @@ namespace System.CodeDom.Compiler
 
 		public static void ExecWait (string cmd, TempFileCollection tempFiles)
 		{
-			ExecWaitWithCapture (IntPtr.Zero, cmd, Environment.CurrentDirectory, tempFiles, string.Empty, string.Empty);
+			string outputName = null;
+			string errorName = null;
+			ExecWaitWithCapture (IntPtr.Zero, cmd, Environment.CurrentDirectory, tempFiles, ref outputName, ref errorName);
 		}
 
 		[MonoTODO]
-		public static Int32 ExecWaitWithCapture (IntPtr userToken, string cmd, string currentDir, TempFileCollection tempFiles, string outputName, string errorName)
+		public static Int32 ExecWaitWithCapture (IntPtr userToken, string cmd, string currentDir, TempFileCollection tempFiles, ref string outputName, ref string errorName)
 		{
 			throw new NotImplementedException();
 		}
 
-		public static Int32 ExecWaitWithCapture (IntPtr userToken, string cmd, TempFileCollection tempFiles, string outputName, string errorName)
+		public static Int32 ExecWaitWithCapture (IntPtr userToken, string cmd, TempFileCollection tempFiles, ref string outputName, ref string errorName)
 		{
-			return ExecWaitWithCapture (userToken, cmd, Environment.CurrentDirectory, tempFiles, outputName, errorName);
+			return ExecWaitWithCapture (userToken, cmd, Environment.CurrentDirectory, tempFiles, ref outputName, ref errorName);
 		}
 
-		public static Int32 ExecWaitWithCapture (string cmd, string currentDir, TempFileCollection tempFiles, string outputName, string errorName )
+		public static Int32 ExecWaitWithCapture (string cmd, string currentDir, TempFileCollection tempFiles, ref string outputName, ref string errorName )
 		{
-			return ExecWaitWithCapture (IntPtr.Zero, cmd, currentDir, tempFiles, outputName, errorName);
+			return ExecWaitWithCapture (IntPtr.Zero, cmd, currentDir, tempFiles, ref outputName, ref errorName);
 		}
 
-		public static Int32 ExecWaitWithCapture (string cmd, TempFileCollection tempFiles, string outputName, string errorName)
+		public static Int32 ExecWaitWithCapture (string cmd, TempFileCollection tempFiles, ref string outputName, ref string errorName)
 		{
-			return ExecWaitWithCapture (IntPtr.Zero, cmd, Environment.CurrentDirectory, tempFiles, outputName, errorName);
+			return ExecWaitWithCapture (IntPtr.Zero, cmd, Environment.CurrentDirectory, tempFiles, ref outputName, ref errorName);
 		}
 	}
 }