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

@ -77,9 +77,7 @@ namespace System.Xml
this.linePosition = info.GetInt32 ("linePosition");
this.res = info.GetString ("res");
this.messages = (string []) info.GetValue ("args", typeof(string []));
#if NET_2_0
this.sourceUri = info.GetString ("sourceUri");
#endif
}
public XmlException (string message)
@ -154,11 +152,9 @@ namespace System.Xml
get { return linePosition; }
}
#if NET_2_0
public string SourceUri {
get { return sourceUri; }
}
#endif
public override string Message {
get {
@ -182,9 +178,7 @@ namespace System.Xml
info.AddValue ("linePosition", linePosition);
info.AddValue ("res", res);
info.AddValue ("args", messages);
#if NET_2_0
info.AddValue ("sourceUri", sourceUri);
#endif
}
#endregion