Imported Upstream version 4.0.0~alpha1

Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
Jo Shields
2015-04-07 09:35:12 +01:00
parent 283343f570
commit 3c1f479b9d
22469 changed files with 2931443 additions and 869343 deletions

View File

@ -28,7 +28,6 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
#if NET_2_0
using System;
using System.IO;
@ -51,10 +50,8 @@ namespace System.Xml
private bool omitXmlDeclaration;
private XmlOutputMethod outputMethod;
#if NET_4_5
private bool isReadOnly;
private bool isAsync;
#endif
public XmlWriterSettings ()
{
@ -88,9 +85,7 @@ namespace System.Xml
newLineHandling = NewLineHandling.Replace;
omitXmlDeclaration = false;
outputMethod = XmlOutputMethod.AutoDetect;
#if NET_4_5
isAsync = false;
#endif
}
// It affects only on XmlTextWriter
@ -162,14 +157,9 @@ namespace System.Xml
//set { outputMethod = value; }
}
#if NET_4_0
public
#else
internal
#endif
NamespaceHandling NamespaceHandling { get; set; }
#if NET_4_5
internal void SetReadOnly ()
{
isReadOnly = true;
@ -198,9 +188,7 @@ namespace System.Xml
get { throw new NotImplementedException (); }
set { throw new NotImplementedException (); }
}
#endif
}
}
#endif