41 writes to PreserveWhitespace
Microsoft.Build (3)
Construction\ProjectRootElement.cs (2)
2060PreserveWhitespace = preserveFormatting 2107var document = new XmlDocumentWithLocation { PreserveWhitespace = preserveFormatting };
Evaluation\ProjectRootElementCache.cs (1)
209document.PreserveWhitespace = projectRootElement.XmlDocument.PreserveWhitespace;
Microsoft.Build.Tasks.Core (3)
ManifestUtil\mansign2.cs (2)
614normalizedDom.PreserveWhitespace = true; 695licenseDom.PreserveWhitespace = true;
ManifestUtil\SecurityUtil.cs (1)
696var doc = new XmlDocument { PreserveWhitespace = true };
Microsoft.Build.UnitTests.Shared (1)
ObjectModelHelpers.cs (1)
621xmldoc.PreserveWhitespace = false;
Microsoft.DotNet.SignCheckLibrary (1)
Verification\XmlVerifier.cs (1)
42PreserveWhitespace = true
PresentationFramework (2)
System\Windows\Annotations\Storage\XmlStreamStore.cs (2)
383_document.PreserveWhitespace = true; 739_document.PreserveWhitespace = false;
System.Configuration.ConfigurationManager (3)
System\Configuration\DpapiProtectedConfigurationProvider.cs (2)
40xmlDocument.PreserveWhitespace = true; 54xmlDocument.PreserveWhitespace = true;
System\Configuration\ProtectedConfigurationSection.cs (1)
106XmlDocument xmlDocument = new XmlDocument { PreserveWhitespace = true };
System.Security.Cryptography.Xml (28)
System\Security\Cryptography\Xml\CanonicalXmlDocument.cs (1)
19PreserveWhitespace = true;
System\Security\Cryptography\Xml\CipherData.cs (1)
73document.PreserveWhitespace = true;
System\Security\Cryptography\Xml\CipherReference.cs (1)
48document.PreserveWhitespace = true;
System\Security\Cryptography\Xml\DataObject.cs (1)
112document.PreserveWhitespace = true;
System\Security\Cryptography\Xml\DSAKeyValue.cs (1)
70xmlDocument.PreserveWhitespace = true;
System\Security\Cryptography\Xml\EncryptedData.cs (1)
76document.PreserveWhitespace = true;
System\Security\Cryptography\Xml\EncryptedKey.cs (1)
151document.PreserveWhitespace = true;
System\Security\Cryptography\Xml\EncryptedReference.cs (1)
84document.PreserveWhitespace = true;
System\Security\Cryptography\Xml\EncryptedXml.cs (1)
832importDocument.PreserveWhitespace = true;
System\Security\Cryptography\Xml\EncryptionMethod.cs (1)
62document.PreserveWhitespace = true;
System\Security\Cryptography\Xml\EncryptionProperty.cs (1)
73document.PreserveWhitespace = true;
System\Security\Cryptography\Xml\KeyInfo.cs (1)
37xmlDocument.PreserveWhitespace = true;
System\Security\Cryptography\Xml\KeyInfoName.cs (1)
40xmlDocument.PreserveWhitespace = true;
System\Security\Cryptography\Xml\KeyInfoNode.cs (1)
41xmlDocument.PreserveWhitespace = true;
System\Security\Cryptography\Xml\KeyInfoRetrievalMethod.cs (1)
49xmlDocument.PreserveWhitespace = true;
System\Security\Cryptography\Xml\KeyInfoX509Data.cs (1)
217xmlDocument.PreserveWhitespace = true;
System\Security\Cryptography\Xml\Reference.cs (1)
163document.PreserveWhitespace = true;
System\Security\Cryptography\Xml\RSAKeyValue.cs (1)
65xmlDocument.PreserveWhitespace = true;
System\Security\Cryptography\Xml\Signature.cs (1)
88document.PreserveWhitespace = true;
System\Security\Cryptography\Xml\SignedInfo.cs (1)
160document.PreserveWhitespace = true;
System\Security\Cryptography\Xml\Transform.cs (1)
119document.PreserveWhitespace = true;
System\Security\Cryptography\Xml\TransformChain.cs (1)
85doc.PreserveWhitespace = true;
System\Security\Cryptography\Xml\Utils.cs (2)
205doc.PreserveWhitespace = document.PreserveWhitespace; 229doc.PreserveWhitespace = true;
System\Security\Cryptography\Xml\XmlDecryptionTransform.cs (1)
152document.PreserveWhitespace = true;
System\Security\Cryptography\Xml\XmlDsigEnvelopedSignatureTransform.cs (1)
81doc.PreserveWhitespace = true;
System\Security\Cryptography\Xml\XmlDsigXPathTransform.cs (1)
139_document.PreserveWhitespace = true;
System\Security\Cryptography\Xml\XmlLicenseTransform.cs (1)
136_license.PreserveWhitespace = true;
10 references to PreserveWhitespace
Microsoft.Build (8)
Construction\ProjectElementContainer.cs (4)
526if (XmlDocument.PreserveWhitespace) 542if (XmlDocument.PreserveWhitespace) 558if (XmlDocument.PreserveWhitespace) 612if (XmlDocument.PreserveWhitespace)
Construction\ProjectRootElement.cs (1)
579public bool PreserveFormatting => Link != null ? RootLink.PreserveFormatting : XmlDocument?.PreserveWhitespace ?? false;
Evaluation\ProjectRootElementCache.cs (2)
209document.PreserveWhitespace = projectRootElement.XmlDocument.PreserveWhitespace; 319if (preserveFormatting != null && projectRootElement != null && projectRootElement.XmlDocument.PreserveWhitespace != preserveFormatting)
ProjectWriter.cs (1)
116if (!project.PreserveWhitespace)
System.Private.Xml (1)
System\Xml\Dom\DocumentXmlWriter.cs (1)
321if (_document.PreserveWhitespace)
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\Utils.cs (1)
205doc.PreserveWhitespace = document.PreserveWhitespace;