28 references to Preserve
Microsoft.Build.Tasks.Core (1)
XslTransformation.cs (1)
472
XmlSpace xmlSpaceOption = _preserveWhitespace ? XmlSpace.
Preserve
: XmlSpace.Default;
System.Private.DataContractSerialization (4)
System\Xml\XmlBaseReader.cs (2)
220
if (_nsMgr.XmlSpace == XmlSpace.
Preserve
)
376
_nsMgr.AddSpaceAttribute(XmlSpace.
Preserve
);
System\Xml\XmlBaseWriter.cs (2)
326
_nsMgr.AddSpaceAttribute(XmlSpace.
Preserve
);
390
_nsMgr.AddSpaceAttribute(XmlSpace.
Preserve
);
System.Private.Xml (20)
System\Xml\BinaryXml\XmlBinaryReader.cs (2)
2679
xs = XmlSpace.
Preserve
;
2683
_xmlspacePreserve = (XmlSpace.
Preserve
== xs);
System\Xml\Core\XmlTextReaderImpl.cs (2)
5071
_xmlContext.xmlSpace = XmlSpace.
Preserve
;
7860
if (_xmlContext.xmlSpace == XmlSpace.
Preserve
)
System\Xml\Core\XmlTextWriter.cs (1)
1757
_stack[_top].xmlSpace = XmlSpace.
Preserve
;
System\Xml\Core\XmlWellFormedWriter.cs (1)
821
_elemScopeStack[_elemTop].xmlSpace = XmlSpace.
Preserve
;
System\Xml\Core\XmlWellFormedWriterAsync.cs (1)
725
_elemScopeStack[_elemTop].xmlSpace = XmlSpace.
Preserve
;
System\Xml\Dom\XmlLoader.cs (1)
719
spaceMode = XmlSpace.
Preserve
;
System\Xml\Dom\XmlNode.cs (1)
1358
return XmlSpace.
Preserve
;
System\Xml\XPath\XPathDocument.cs (2)
242
if (reader.XmlSpace == XmlSpace.
Preserve
)
257
if (space == XmlSpace.
Preserve
&& (!topLevelReader || reader.Depth != 0))
System\Xml\XPath\XPathNavigatorReader.cs (1)
273
return XmlSpace.
Preserve
;
System\Xml\Xsl\Runtime\WhitespaceRuleReader.cs (1)
90
_shouldStrip = _wsRules.ShouldStripSpace(base.LocalName, base.NamespaceURI) && (base.XmlSpace != XmlSpace.
Preserve
);
System\Xml\Xsl\Runtime\XmlQueryContext.cs (2)
177
return new XPathDocument(WhitespaceRuleReader.CreateReader(reader, _wsRules), XmlSpace.
Preserve
).CreateNavigator();
189
return new XPathDocument(WhitespaceRuleReader.CreateReader(reader, _wsRules), XmlSpace.
Preserve
).CreateNavigator();
System\Xml\Xsl\Xslt\XsltInput.cs (1)
379
bool textPreserveWS = _reader.XmlSpace == XmlSpace.
Preserve
;
System\Xml\Xsl\XsltOld\Compiler.cs (1)
541
return new XPathDocument(reader, XmlSpace.
Preserve
);
System\Xml\Xsl\XsltOld\ReaderOutput.cs (1)
351
if (XmlSpace == XmlSpace.
Preserve
)
System\Xml\Xsl\XsltOld\RecordBuilder.cs (1)
798
return XmlSpace.
Preserve
;
System\Xml\Xslt\XslTransform.cs (1)
58
Load(new XPathDocument(stylesheet, XmlSpace.
Preserve
), resolver);
System.Private.Xml.Linq (1)
System\Xml\Linq\XNodeReader.cs (1)
434
return XmlSpace.
Preserve
;
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\XmlDsigXsltTransform.cs (1)
130
XPathDocument inputData = new XPathDocument(reader, XmlSpace.
Preserve
);
System.Xaml (1)
System\Xaml\InfosetObjects\XamlXmlReader.cs (1)
189
if (myXmlReader.XmlSpace == XmlSpace.
Preserve
)