32 writes to Indent
illink (3)
ILLink.Tasks (1)
CombineLinkerXmlFiles.cs (1)
42 Indent = true,
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (4)
XmlDataContractSerializerOutputFormatterTest.cs (2)
312formatter.WriterSettings.Indent = true; 834xmlWriterSettings.Indent = true;
XmlSerializerOutputFormatterTest.cs (2)
303formatter.WriterSettings.Indent = true; 624xmlWriterSettings.Indent = true;
Microsoft.Build (1)
Construction\Solution\SolutionProjectGenerator.cs (1)
262Indent = true,
Microsoft.Build.UnitTests.Shared (1)
ObjectModelHelpers.cs (1)
629Indent = true
Microsoft.CodeAnalysis.Test.Utilities (1)
Assert\AssertXml.cs (1)
73Indent = true
Microsoft.DotNet.XliffTasks (1)
Model\XDocumentExtensions.cs (1)
20Indent = true,
Microsoft.Maui.Resizetizer (1)
GenerateSplashAndroidResources.cs (1)
60 static readonly XmlWriterSettings Settings = new XmlWriterSettings { Indent = true };
Roslyn.Test.PdbUtilities (1)
Reader\Token2SourceLineExporter.cs (1)
1133Indent = true,
System.Private.Xml (9)
System\Xml\Core\XmlAutoDetectWriter.cs (1)
407_writerSettings.Indent = true;
System\Xml\Core\XmlEncodedRawTextWriter.cs (1)
1942settings.Indent = true;
System\Xml\Core\XmlUtf8RawTextWriter.cs (1)
1799settings.Indent = true;
System\Xml\Serialization\XmlSchemas.cs (1)
578settings.Indent = true;
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)
1347writerSettings.Indent = true; 1386writerSettings.Indent = true;
System\Xml\Xsl\Xslt\XsltLoader.cs (2)
698settings.Indent = indent; 788settings.Indent = true;
System.Private.Xml.Linq (3)
System\Xml\Linq\XNode.cs (2)
687if ((o & SaveOptions.DisableFormatting) == 0) ws.Indent = true; 698if ((o & SaveOptions.DisableFormatting) == 0) ws.Indent = true;
System\Xml\Linq\XStreamingElement.cs (1)
232if ((o & SaveOptions.DisableFormatting) == 0) ws.Indent = true;
System.Xaml (5)
System\Xaml\XamlObjectReader.cs (1)
594Indent = true,
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 }))
xunit.console (1)
Utility\TransformFactory.cs (1)
74using (var writer = XmlWriter.Create(outputFileName, new XmlWriterSettings { Indent = true }))
7 references to Indent
System.Private.Xml (7)
System\Xml\Core\XmlWriterSettings.cs (6)
374writer = Indent ? new XmlUtf8RawTextWriterIndent(output, this) : new XmlUtf8RawTextWriter(output, this); 377writer = Indent ? new HtmlUtf8RawTextWriterIndent(output, this) : new HtmlUtf8RawTextWriter(output, this); 396writer = Indent ? new XmlEncodedRawTextWriterIndent(output, this) : new XmlEncodedRawTextWriter(output, this); 399writer = Indent ? new HtmlEncodedRawTextWriterIndent(output, this) : new HtmlEncodedRawTextWriter(output, this); 445writer = Indent ? new XmlEncodedRawTextWriterIndent(output, this) : new XmlEncodedRawTextWriter(output, this); 448writer = Indent ? new HtmlEncodedRawTextWriterIndent(output, this) : new HtmlEncodedRawTextWriter(output, this);
System\Xml\Xsl\Xslt\XsltLoader.cs (1)
694if (currentPrec == output.IndentPrec && settings.Indent != indent)