33 writes to Indent
ILCompiler.DependencyAnalysisFramework (1)
DgmlWriter.cs (1)
52writerSettings.Indent = true;
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)
626Indent = true
Microsoft.DotNet.XliffTasks (1)
Model\XDocumentExtensions.cs (1)
20Indent = 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)
575settings.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.ServiceModel.Primitives (2)
System\ServiceModel\Channels\Message.cs (1)
526settings.Indent = true;
System\ServiceModel\Channels\MessageHeader.cs (1)
54XmlWriterSettings xmlSettings = new XmlWriterSettings() { Indent = true };
System.Xaml (5)
System\Xaml\XamlObjectReader.cs (1)
599Indent = 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 }))
WorkloadBuildTasks (1)
PatchNuGetConfig.cs (1)
136using var xw = XmlWriter.Create(outputPath, new XmlWriterSettings { Indent = true, NewLineHandling = NewLineHandling.None, Encoding = Encoding.UTF8 });
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)