12 references to DisableFormatting
Microsoft.AspNetCore.DataProtection.EntityFrameworkCore (1)
EntityFrameworkCoreXmlRepository.cs (1)
74Xml = element.ToString(SaveOptions.DisableFormatting)
Microsoft.AspNetCore.DataProtection.StackExchangeRedis (1)
RedisXmlRepository.cs (1)
56database.ListRightPush(_key, element.ToString(SaveOptions.DisableFormatting));
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (2)
XmlAssert.cs (2)
33sortedExpectedXDocument.ToString(SaveOptions.DisableFormatting), 34sortedActualXDocument.ToString(SaveOptions.DisableFormatting));
Microsoft.AspNetCore.Mvc.FunctionalTests (2)
src\Mvc\Mvc.Formatters.Xml\test\XmlAssert.cs (2)
33sortedExpectedXDocument.ToString(SaveOptions.DisableFormatting), 34sortedActualXDocument.ToString(SaveOptions.DisableFormatting));
Microsoft.Build.Tasks.Core (1)
AssemblyDependency\ResolveAssemblyReference.cs (1)
1232buffer.Append(node.ToString(SaveOptions.DisableFormatting));
Microsoft.DotNet.Build.Tasks.Feed (1)
src\BuildModelFactory.cs (1)
126_fileSystem.WriteToFile(assetManifestPath, model.ToXml().ToString(SaveOptions.DisableFormatting));
System.ComponentModel.TypeConverter (1)
MS\Internal\Xml\Linq\ComponentModel\XComponentModel.cs (1)
446return _element.ToString(SaveOptions.DisableFormatting);
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;