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