diff options
author | Gert Driesen <drieseng@users.sourceforge.net> | 2005-06-13 08:36:05 +0400 |
---|---|---|
committer | Gert Driesen <drieseng@users.sourceforge.net> | 2005-06-13 08:36:05 +0400 |
commit | 35886f0a7fbcf7790e4fd836d34f0429ac2f7d27 (patch) | |
tree | c4425edeab982ec283d76a810d4eb1e0f83f9ae2 /mcs | |
parent | e92ca853a2e2c6429bdb8b376336e2329d3cc695 (diff) |
* CSharpCodeCompiler.cs: Temp source files should have extension ".cs".
svn path=/trunk/mcs/; revision=45845
Diffstat (limited to 'mcs')
-rw-r--r-- | mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs | 4 | ||||
-rw-r--r-- | mcs/class/System/Microsoft.CSharp/ChangeLog | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs b/mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs index 625fd2f982c..36925e1167f 100644 --- a/mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs +++ b/mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs @@ -306,7 +306,7 @@ namespace Mono.CSharp for (int i = 0; i < ea.Length; i++) { CodeCompileUnit compileUnit = ea[i]; - fileNames[i] = GetTempFileNameWithExtension (options.TempFiles, i + "cs"); + fileNames[i] = GetTempFileNameWithExtension (options.TempFiles, i + ".cs"); FileStream f = new FileStream (fileNames[i], FileMode.OpenOrCreate); StreamWriter s = new StreamWriter (f); if (compileUnit.ReferencedAssemblies != null) { @@ -336,7 +336,7 @@ namespace Mono.CSharp string[] fileNames = new string[sources.Length]; for (int i = 0; i < sources.Length; i++) { - fileNames[i] = GetTempFileNameWithExtension (options.TempFiles, i + "cs"); + fileNames[i] = GetTempFileNameWithExtension (options.TempFiles, i + ".cs"); FileStream f = new FileStream (fileNames[i], FileMode.OpenOrCreate); using (StreamWriter s = new StreamWriter (f)) { s.Write (sources[i]); diff --git a/mcs/class/System/Microsoft.CSharp/ChangeLog b/mcs/class/System/Microsoft.CSharp/ChangeLog index 56e6cf3b6d6..25bfa932077 100644 --- a/mcs/class/System/Microsoft.CSharp/ChangeLog +++ b/mcs/class/System/Microsoft.CSharp/ChangeLog @@ -1,3 +1,8 @@ +2005-06-12 Gert Driesen <drieseng@users.sourceforge.net> + + * CSharpCodeCompiler.cs: Temp source files should have extension + ".cs". + 2005-06-11 Gert Driesen <drieseng@users.sourceforge.net> * CSharpCodeGenerator.cs: Win32 resources are supported. Fixes bug |