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;
}
}
-#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 {
output = new StringCollection();
return output;
}
+ internal set {
+ output = value;
+ }
}
public string PathToAssembly {