50 references to LoadOptions
System.Data.Services (3)
System\Data\Services\Parsing\WebConvert.cs (2)
482
targetValue = System.Xml.Linq.XElement.Parse(text, System.Xml.Linq.
LoadOptions
.PreserveWhitespace);
560
targetValue = System.Xml.Linq.XElement.Parse(text, System.Xml.Linq.
LoadOptions
.PreserveWhitespace);
System\Data\Services\Serializers\JsonDeserializer.cs (1)
99
return System.Xml.Linq.XElement.Parse(stringValue, System.Xml.Linq.
LoadOptions
.PreserveWhitespace);
System.Data.Services.Client (1)
System\Data\Services\Client\AtomParser.cs (1)
177
XElement element = XElement.Load(reader.ReadSubtree(),
LoadOptions
.None);
System.Xml.Linq (46)
System\Xml\Linq\XLinq.cs (46)
1987
internal static XmlReaderSettings GetXmlReaderSettings(
LoadOptions
o) {
1989
if ((o &
LoadOptions
.PreserveWhitespace) == 0)
3088
internal void ReadContentFrom(XmlReader r,
LoadOptions
o) {
3089
if ((o & (
LoadOptions
.SetBaseUri |
LoadOptions
.SetLineInfo)) == 0) {
3098
string baseUri = (o &
LoadOptions
.SetBaseUri) != 0 ? r.BaseURI : null;
3099
IXmlLineInfo li = (o &
LoadOptions
.SetLineInfo) != 0 ? r as IXmlLineInfo : null;
3535
internal XElement(XmlReader r) : this(r,
LoadOptions
.None) {
3538
internal XElement(XmlReader r,
LoadOptions
o) {
3872
return Load(uri,
LoadOptions
.None);
3879
/// <seealso cref="XDocument.Load(string,
LoadOptions
)"/>
3892
/// A set of <see cref="
LoadOptions
"/>.
3904
public static XElement Load(string uri,
LoadOptions
options) {
3924
return Load(stream,
LoadOptions
.None);
3942
/// A set of <see cref="
LoadOptions
"/>.
3948
public static XElement Load(Stream stream,
LoadOptions
options) {
3967
return Load(textReader,
LoadOptions
.None);
3985
/// A set of <see cref="
LoadOptions
"/>.
3991
public static XElement Load(TextReader textReader,
LoadOptions
options) {
4011
return Load(reader,
LoadOptions
.None);
4023
/// A set of <see cref="
LoadOptions
"/>.
4029
public static XElement Load(XmlReader reader,
LoadOptions
options) {
4055
return Parse(text,
LoadOptions
.None);
4076
/// A set of <see cref="
LoadOptions
"/>.
4081
public static XElement Parse(string text,
LoadOptions
options) {
4959
ReadElementFrom(reader,
LoadOptions
.None);
5066
void ReadElementFrom(XmlReader r,
LoadOptions
o) {
5069
if ((o &
LoadOptions
.SetBaseUri) != 0) {
5076
if ((o &
LoadOptions
.SetLineInfo) != 0) {
5555
return Load(uri,
LoadOptions
.None);
5574
/// A set of <see cref="
LoadOptions
"/>.
5586
public static XDocument Load(string uri,
LoadOptions
options) {
5606
return Load(stream,
LoadOptions
.None);
5624
/// A set of <see cref="
LoadOptions
"/>.
5630
public static XDocument Load(Stream stream,
LoadOptions
options) {
5650
return Load(textReader,
LoadOptions
.None);
5668
/// A set of <see cref="
LoadOptions
"/>.
5674
public static XDocument Load(TextReader textReader,
LoadOptions
options) {
5694
return Load(reader,
LoadOptions
.None);
5706
/// A set of <see cref="
LoadOptions
"/>.
5712
public static XDocument Load(XmlReader reader,
LoadOptions
options) {
5716
if ((options &
LoadOptions
.SetBaseUri) != 0) {
5722
if ((options &
LoadOptions
.SetLineInfo) != 0) {
5753
return Parse(text,
LoadOptions
.None);
5771
/// A set of <see cref="
LoadOptions
"/>.
5777
public static XDocument Parse(string text,
LoadOptions
options) {