[Http]: Clear the 'SendChunked' flag when redirecting.
[mono.git] / mcs / class / System / System.CodeDom.Compiler / CompilerResults.cs
index 0c5143e5a79a8835ce4b447c4090e5cd24b15ff9..8ba271fc0fae4cd33bbefe388cd40649ed5a64da 100644 (file)
@@ -35,18 +35,14 @@ using System.Security.Policy;
 
 namespace System.CodeDom.Compiler {
 
-#if NET_2_0
        [Serializable]
-#endif
        [PermissionSet (SecurityAction.LinkDemand, Unrestricted = true)]
        [PermissionSet (SecurityAction.InheritanceDemand, Unrestricted = true)]
        public class CompilerResults {
 
                private Assembly compiledAssembly;
                private CompilerErrorCollection errors = new CompilerErrorCollection ();
-#if NET_1_1
                private Evidence evidence;
-#endif
                private int nativeCompilerReturnValue = 0;
                private StringCollection output = new StringCollection ();
                private string pathToAssembly;
@@ -82,13 +78,14 @@ namespace System.CodeDom.Compiler {
                        }
                }
 
-#if NET_1_1
+#if NET_4_0
+               [Obsolete]
+#endif
                public Evidence Evidence {
                        get { return evidence; }
                        [SecurityPermission (SecurityAction.Demand, ControlEvidence = true)]
                        set { evidence = value; }
                }
-#endif
 
                public int NativeCompilerReturnValue {
                        get {
@@ -105,6 +102,9 @@ namespace System.CodeDom.Compiler {
                                        output = new StringCollection();
                                return output;
                        }
+                       internal set {
+                               output = value;
+                       }
                }
 
                public string PathToAssembly {