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