91 references to LoadOptions
dotnet-user-jwts (1)
dotnet-user-secrets (1)
illink (1)
Microsoft.AspNetCore.Rewrite (1)
Microsoft.AspNetCore.Rewrite.Tests (1)
Microsoft.Build.Tasks.Core (2)
Microsoft.CodeAnalysis (2)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.Features (2)
Microsoft.CodeAnalysis.VisualBasic (1)
Microsoft.CodeAnalysis.Workspaces (2)
Microsoft.DotNet.Arcade.Sdk (1)
Microsoft.DotNet.VersionTools (1)
Microsoft.Extensions.SecretManager.Tools.Tests (2)
netstandard (1)
System.Private.Xml.Linq (69)
System\Xml\Linq\XDocument.cs (26)
188return Load(uri, LoadOptions.None);
207/// A set of <see cref="LoadOptions"/>.
214public static XDocument Load([StringSyntax(StringSyntaxAttribute.Uri)] string uri, LoadOptions options)
237return Load(stream, LoadOptions.None);
255/// A set of <see cref="LoadOptions"/>.
261public static XDocument Load(Stream stream, LoadOptions options)
285/// A set of <see cref="LoadOptions"/>.
294public static async Task<XDocument> LoadAsync(Stream stream, LoadOptions options, CancellationToken cancellationToken)
320return Load(textReader, LoadOptions.None);
338/// A set of <see cref="LoadOptions"/>.
344public static XDocument Load(TextReader textReader, LoadOptions options)
368/// A set of <see cref="LoadOptions"/>.
377public static async Task<XDocument> LoadAsync(TextReader textReader, LoadOptions options, CancellationToken cancellationToken)
403return Load(reader, LoadOptions.None);
415/// A set of <see cref="LoadOptions"/>.
421public static XDocument Load(XmlReader reader, LoadOptions options)
444/// A set of <see cref="LoadOptions"/>.
453public static Task<XDocument> LoadAsync(XmlReader reader, LoadOptions options, CancellationToken cancellationToken)
462private static async Task<XDocument> LoadAsyncInternal(XmlReader reader, LoadOptions options, CancellationToken cancellationToken)
480private static XDocument InitLoad(XmlReader reader, LoadOptions options)
483if ((options & LoadOptions.SetBaseUri) != 0)
491if ((options & LoadOptions.SetLineInfo) != 0)
523return Parse(text, LoadOptions.None);
533/// <see cref="LoadOptions.PreserveWhitespace"/> is enabled then
542/// A set of <see cref="LoadOptions"/>.
548public static XDocument Parse(string text, LoadOptions options)
System\Xml\Linq\XElement.cs (32)
142: this(r, LoadOptions.None)
157internal XElement(XmlReader r, LoadOptions o)
165await xe.ReadElementFromAsync(r, LoadOptions.None, cancellationToken).ConfigureAwait(false);
575return Load(uri, LoadOptions.None);
582/// <seealso cref="XDocument.Load(string, LoadOptions)"/>
595/// A set of <see cref="LoadOptions"/>.
602public static XElement Load([StringSyntax(StringSyntaxAttribute.Uri)] string uri, LoadOptions options)
625return Load(stream, LoadOptions.None);
643/// A set of <see cref="LoadOptions"/>.
649public static XElement Load(Stream stream, LoadOptions options)
673/// A set of <see cref="LoadOptions"/>.
681public static async Task<XElement> LoadAsync(Stream stream, LoadOptions options, CancellationToken cancellationToken)
707return Load(textReader, LoadOptions.None);
725/// A set of <see cref="LoadOptions"/>.
731public static XElement Load(TextReader textReader, LoadOptions options)
755/// A set of <see cref="LoadOptions"/>.
763public static async Task<XElement> LoadAsync(TextReader textReader, LoadOptions options, CancellationToken cancellationToken)
789return Load(reader, LoadOptions.None);
801/// A set of <see cref="LoadOptions"/>.
807public static XElement Load(XmlReader reader, LoadOptions options)
827/// A set of <see cref="LoadOptions"/>.
835public static Task<XElement> LoadAsync(XmlReader reader, LoadOptions options, CancellationToken cancellationToken)
844private static async Task<XElement> LoadAsyncInternal(XmlReader reader, LoadOptions options, CancellationToken cancellationToken)
876return Parse(text, LoadOptions.None);
897/// A set of <see cref="LoadOptions"/>.
902public static XElement Parse(string text, LoadOptions options)
1884ReadElementFrom(reader, LoadOptions.None);
2014private void ReadElementFrom(XmlReader r, LoadOptions o)
2027private async Task ReadElementFromAsync(XmlReader r, LoadOptions o, CancellationToken cancellationTokentoken)
2046private void ReadElementFromImpl(XmlReader r, LoadOptions o)
2050if ((o & LoadOptions.SetBaseUri) != 0)
2059if ((o & LoadOptions.SetLineInfo) != 0)
System.Xml.Linq (1)
System.Xml.XDocument (1)