101 instantiations of XmlReaderSettings
BoundTreeGenerator (1)
CSharpSyntaxGenerator (1)
dotnet-svcutil.xmlserializer (1)
ILLink.Tasks (1)
IOperationGenerator (1)
Microsoft.Build (6)
Microsoft.Build.BuildCheck.UnitTests (1)
Microsoft.Build.CommandLine.UnitTests (1)
Microsoft.Build.Engine.OM.UnitTests (2)
Microsoft.Build.Engine.UnitTests (1)
Microsoft.Build.Framework.UnitTests (1)
Microsoft.Build.Tasks.Core (31)
Microsoft.Build.Tasks.UnitTests (1)
Microsoft.Build.UnitTests.Shared (1)
Microsoft.Build.Utilities.Core (3)
Microsoft.Build.Utilities.UnitTests (1)
Microsoft.CodeAnalysis (4)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.Workspaces (2)
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Microsoft.Extensions.Configuration.Xml (1)
Microsoft.VisualStudio.LanguageServices (1)
PresentationCore (1)
PresentationFramework (4)
System.Data.Common (3)
System.IO.Packaging (2)
System.Private.Xml (16)
System.Private.Xml.Linq (2)
System.Security.Cryptography.Xml (4)
System.Xaml (3)
VisualBasicSyntaxGenerator (1)
205 references to XmlReaderSettings
dotnet-svcutil.xmlserializer (1)
Microsoft.Build (6)
Microsoft.Build.BuildCheck.UnitTests (1)
Microsoft.Build.CommandLine.UnitTests (1)
Microsoft.Build.Engine.OM.UnitTests (1)
Microsoft.Build.Engine.UnitTests (1)
Microsoft.Build.Framework.UnitTests (1)
Microsoft.Build.Tasks.Core (28)
Microsoft.Build.Tasks.UnitTests (1)
Microsoft.Build.UnitTests.Shared (1)
Microsoft.Build.Utilities.Core (3)
Microsoft.Build.Utilities.UnitTests (1)
Microsoft.CodeAnalysis (6)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.Workspaces (2)
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Microsoft.Extensions.Configuration.Xml (2)
Microsoft.VisualStudio.LanguageServices (1)
netstandard (1)
PresentationBuildTasks (1)
PresentationCore (1)
PresentationFramework (7)
System.Data.Common (8)
System\Data\SQLTypes\SqlXml.cs (6)
19private static readonly Func<Stream, XmlReaderSettings, XmlParserContext?, XmlReader> s_sqlReaderDelegate = CreateSqlReaderDelegate();
20private static readonly XmlReaderSettings s_defaultXmlReaderSettings = new XmlReaderSettings() { ConformanceLevel = ConformanceLevel.Fragment };
21private static readonly XmlReaderSettings s_defaultXmlReaderSettingsCloseInput = new XmlReaderSettings() { ConformanceLevel = ConformanceLevel.Fragment, CloseInput = true };
99XmlReaderSettings settingsToUse = closeInput ? s_defaultXmlReaderSettingsCloseInput : s_defaultXmlReaderSettings;
118private static Func<Stream, XmlReaderSettings, XmlParserContext?, XmlReader> CreateSqlReaderDelegate()
122return CreateSqlReaderMethodInfo.CreateDelegate<Func<Stream, XmlReaderSettings, XmlParserContext?, XmlReader>>();
System.IO.Packaging (3)
System.Private.DataContractSerialization (1)
System.Private.Xml (72)
System\Xml\Core\XmlReader.cs (22)
89public virtual XmlReaderSettings? Settings => null;
1615return new XmlTextReaderImpl(inputUri, XmlReaderSettings.s_defaultReaderSettings, null, XmlReaderSettings.GetDefaultPermissiveResolver());
1619public static XmlReader Create(string inputUri, XmlReaderSettings? settings)
1625public static XmlReader Create(string inputUri, XmlReaderSettings? settings, XmlParserContext? inputContext)
1627settings ??= XmlReaderSettings.s_defaultReaderSettings;
1638return new XmlTextReaderImpl(input, null, 0, XmlReaderSettings.s_defaultReaderSettings, null, string.Empty, null, false);
1642public static XmlReader Create(Stream input, XmlReaderSettings? settings)
1648public static XmlReader Create(Stream input, XmlReaderSettings? settings, string? baseUri)
1650settings ??= XmlReaderSettings.s_defaultReaderSettings;
1655public static XmlReader Create(Stream input, XmlReaderSettings? settings, XmlParserContext? inputContext)
1657settings ??= XmlReaderSettings.s_defaultReaderSettings;
1668return new XmlTextReaderImpl(input, XmlReaderSettings.s_defaultReaderSettings, string.Empty, null);
1672public static XmlReader Create(TextReader input, XmlReaderSettings? settings)
1678public static XmlReader Create(TextReader input, XmlReaderSettings? settings, string? baseUri)
1680settings ??= XmlReaderSettings.s_defaultReaderSettings;
1685public static XmlReader Create(TextReader input, XmlReaderSettings? settings, XmlParserContext? inputContext)
1687settings ??= XmlReaderSettings.s_defaultReaderSettings;
1692public static XmlReader Create(XmlReader reader, XmlReaderSettings? settings)
1694settings ??= XmlReaderSettings.s_defaultReaderSettings;
1701internal static XmlReader CreateSqlReader(Stream input, XmlReaderSettings? settings, XmlParserContext inputContext)
1705settings ??= XmlReaderSettings.s_defaultReaderSettings;
System\Xml\Core\XmlTextReaderImpl.cs (9)
356private XmlTextReaderImpl(XmlResolver? resolver, XmlReaderSettings settings, XmlParserContext? context)
585internal XmlTextReaderImpl(string uriStr, XmlReaderSettings settings, XmlParserContext? context, XmlResolver uriResolver)
682internal XmlTextReaderImpl(Stream stream, byte[]? bytes, int byteCount, XmlReaderSettings settings, Uri? baseUri, string? baseUriStr,
756internal XmlTextReaderImpl(TextReader input, XmlReaderSettings settings, string baseUriStr, XmlParserContext? context)
809internal XmlTextReaderImpl(string xmlFragment, XmlParserContext? context, XmlReaderSettings settings)
822public override XmlReaderSettings Settings
826XmlReaderSettings settings = new XmlReaderSettings();
2535return _xmlResolver ?? XmlReaderSettings.GetDefaultPermissiveResolver();
8999private void SetupFromParserContext(XmlParserContext context, XmlReaderSettings settings)
System.Private.Xml.Linq (42)
System.Security.Cryptography.Xml (6)
System.Xaml (1)
System.Xml (1)
System.Xml.ReaderWriter (1)