* XDocument.cs: add the Load (Stream) overloads.
svn path=/trunk/mcs/; revision=151128
+2010-02-09 Chris Toshok <toshok@ximian.com>
+
+ * XDocument.cs: add the Load (Stream) overloads.
+
2010-01-15 Atsushi Enomoto <atsushi@ximian.com>
* XAttribute.cs : escape whitespace chars in ToString().
}
}
+ public static XDocument Load (Stream stream)
+ {
+ return Load (new StreamReader (stream), LoadOptions.None);
+ }
+
+ public static XDocument Load (Stream stream, LoadOptions options)
+ {
+ return Load (new StreamReader (stream), options);
+ }
+
public static XDocument Load (TextReader reader)
{
return Load (reader, LoadOptions.None);