56 references to XmlWriterSettings
Aspire.Workload.Tests (1)
WorkloadTestsBase.cs (1)
23private static readonly XmlWriterSettings s_xmlWriterSettings = new() { ConformanceLevel = ConformanceLevel.Fragment };
dotnet-user-jwts (1)
src\Tools\Shared\SecretsHelpers\UserSecretsCreator.cs (1)
67var settings = new XmlWriterSettings
dotnet-user-secrets (1)
src\Tools\Shared\SecretsHelpers\UserSecretsCreator.cs (1)
67var settings = new XmlWriterSettings
Extensibility.MessageEncoder.IntegrationTests (1)
CustomTextMessageEncoder.cs (1)
24_writerSettings = new XmlWriterSettings();
illink (3)
ILLink.Tasks (1)
CombineLinkerXmlFiles.cs (1)
41 XmlWriterSettings xws = new XmlWriterSettings {
Microsoft.AspNetCore.Identity.InMemory.Test (1)
FunctionalTest.cs (1)
420using (var writer = XmlWriter.Create(memory, new XmlWriterSettings { Encoding = Encoding.UTF8 }))
Microsoft.AspNetCore.Mvc.Formatters.Xml (1)
FormattingUtilities.cs (1)
39return new XmlWriterSettings
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (4)
XmlDataContractSerializerOutputFormatterTest.cs (2)
253new XmlWriterSettings 640new XmlWriterSettings(),
XmlSerializerOutputFormatterTest.cs (2)
249new System.Xml.XmlWriterSettings 457new XmlWriterSettings(),
Microsoft.Build (1)
Construction\Solution\SolutionProjectGenerator.cs (1)
260var settings = new XmlWriterSettings
Microsoft.Build.UnitTests.Shared (1)
ObjectModelHelpers.cs (1)
625var writerSettings = new XmlWriterSettings
Microsoft.CodeAnalysis.Test.Utilities (1)
Assert\AssertXml.cs (1)
69var ws = new XmlWriterSettings()
Microsoft.DotNet.XliffTasks (1)
Model\XDocumentExtensions.cs (1)
18XmlWriterSettings settings = new()
Microsoft.Extensions.FileProviders.Embedded.Tests (1)
TestAssembly.cs (1)
39using (var writer = XmlWriter.Create(ManifestStream, new XmlWriterSettings { CloseOutput = false }))
Microsoft.Maui.Resizetizer (1)
GenerateSplashAndroidResources.cs (1)
60 static readonly XmlWriterSettings Settings = new XmlWriterSettings { Indent = true };
ReachFramework (1)
PrintConfig\PrintCapabilitesWriter.cs (1)
29XmlWriterSettings settings = new XmlWriterSettings();
Roslyn.Test.PdbUtilities (1)
Reader\Token2SourceLineExporter.cs (1)
1130private static readonly XmlWriterSettings s_xmlWriterSettings = new XmlWriterSettings
System.Data.Common (2)
System\Data\SQLTypes\SqlXml.cs (2)
142XmlWriterSettings writerSettings = new XmlWriterSettings(); 179XmlWriterSettings writerSettings = new XmlWriterSettings();
System.IO.Packaging (3)
System\IO\Packaging\InternalRelationshipCollection.cs (1)
467using (XmlWriter writer = XmlWriter.Create(s, new XmlWriterSettings { Encoding = System.Text.Encoding.UTF8 }))
System\IO\Packaging\PartBasedPackageProperties.cs (1)
687_xmlWriter = XmlWriter.Create(writerStream, new XmlWriterSettings { Encoding = System.Text.Encoding.UTF8 });
System\IO\Packaging\ZipPackage.cs (1)
911using (XmlWriter writer = XmlWriter.Create(s, new XmlWriterSettings { Encoding = System.Text.Encoding.UTF8 }))
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\SchemaExporter.cs (1)
344XmlWriterSettings writerSettings = new XmlWriterSettings();
System.Private.Xml (14)
System\Xml\Core\XmlAsyncCheckWriter.cs (1)
49settings = new XmlWriterSettings();
System\Xml\Core\XmlCharCheckingWriter.cs (1)
50s = (s != null) ? (XmlWriterSettings)s.Clone() : new XmlWriterSettings();
System\Xml\Core\XmlEncodedRawTextWriter.cs (1)
192XmlWriterSettings settings = new XmlWriterSettings();
System\Xml\Core\XmlUtf8RawTextWriter.cs (1)
139XmlWriterSettings settings = new XmlWriterSettings();
System\Xml\Core\XmlWriter.cs (1)
622var settings = new XmlWriterSettings { CloseOutput = true };
System\Xml\Core\XmlWriterSettings.cs (1)
43internal static readonly XmlWriterSettings s_defaultWriterSettings = new() { ReadOnly = true };
System\Xml\Dom\DocumentXmlWriter.cs (1)
76_settings = new XmlWriterSettings();
System\Xml\Serialization\XmlSchemas.cs (1)
576XmlWriterSettings settings = new XmlWriterSettings();
System\Xml\Serialization\XmlSerializer.cs (1)
143private static readonly XmlWriterSettings s_writerSettings = new XmlWriterSettings() { Encoding = new UTF8Encoding(false), Indent = true };
System\Xml\XPath\XPathNavigator.cs (2)
1346writerSettings = new XmlWriterSettings(); 1385writerSettings = new XmlWriterSettings();
System\Xml\Xsl\QIL\QilExpression.cs (1)
38XmlWriterSettings settings = new XmlWriterSettings();
System\Xml\Xsl\Runtime\XsltFunctions.cs (1)
253XmlWriterSettings settings = new XmlWriterSettings();
System\Xml\Xsl\Xslt\Compiler.cs (1)
425Settings = new XmlWriterSettings();
System.Private.Xml.Linq (6)
System\Xml\Linq\XAttribute.cs (1)
214XmlWriterSettings ws = new XmlWriterSettings();
System\Xml\Linq\XContainer.cs (1)
244XmlWriterSettings settings = new XmlWriterSettings();
System\Xml\Linq\XNode.cs (2)
686XmlWriterSettings ws = new XmlWriterSettings(); 696XmlWriterSettings ws = new XmlWriterSettings();
System\Xml\Linq\XNodeBuilder.cs (1)
26XmlWriterSettings settings = new XmlWriterSettings();
System\Xml\Linq\XStreamingElement.cs (1)
230XmlWriterSettings ws = new XmlWriterSettings();
System.Xaml (7)
System\Xaml\XamlObjectReader.cs (1)
591var writerSettings = new XmlWriterSettings
System\Xaml\XamlServices.cs (4)
131using (var xw = XmlWriter.Create(sw, new XmlWriterSettings { Indent = true, OmitXmlDeclaration = true })) 148using (var writer = XmlWriter.Create(fileName, new XmlWriterSettings { Indent = true, OmitXmlDeclaration = true })) 158using (var writer = XmlWriter.Create(stream, new XmlWriterSettings { Indent = true, OmitXmlDeclaration = true })) 168using (var xmlWriter = XmlWriter.Create(writer, new XmlWriterSettings { Indent = true, OmitXmlDeclaration = true }))
System\Xaml\XamlXmlWriter.cs (2)
57InitializeXamlXmlWriter(XmlWriter.Create(stream, new XmlWriterSettings { CloseOutput = true }), schemaContext, settings); 76InitializeXamlXmlWriter(XmlWriter.Create(textWriter, new XmlWriterSettings { CloseOutput = true }), schemaContext, settings);
xunit.console (1)
Utility\TransformFactory.cs (1)
74using (var writer = XmlWriter.Create(outputFileName, new XmlWriterSettings { Indent = true }))