namespace Microsoft.CSharp {
+#if NET_2_0
+ [System.Obsolete]
+#endif
public class Compiler {
private Compiler()
try {
mcs.Start ();
- mcs_output = mcs.StandardOutput.ReadToEnd();
+ mcs_output = mcs.StandardError.ReadToEnd();
mcs.WaitForExit ();
} finally {
mcs.Close ();