28 references to Preserve
Microsoft.Build.Tasks.Core (1)
XslTransformation.cs (1)
472XmlSpace xmlSpaceOption = _preserveWhitespace ? XmlSpace.Preserve : XmlSpace.Default;
System.Private.DataContractSerialization (4)
System\Xml\XmlBaseReader.cs (2)
220if (_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)
2679xs = XmlSpace.Preserve; 2683_xmlspacePreserve = (XmlSpace.Preserve == xs);
System\Xml\Core\XmlTextReaderImpl.cs (2)
5071_xmlContext.xmlSpace = XmlSpace.Preserve; 7860if (_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)
719spaceMode = XmlSpace.Preserve;
System\Xml\Dom\XmlNode.cs (1)
1358return XmlSpace.Preserve;
System\Xml\XPath\XPathDocument.cs (2)
242if (reader.XmlSpace == XmlSpace.Preserve) 257if (space == XmlSpace.Preserve && (!topLevelReader || reader.Depth != 0))
System\Xml\XPath\XPathNavigatorReader.cs (1)
273return 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)
177return new XPathDocument(WhitespaceRuleReader.CreateReader(reader, _wsRules), XmlSpace.Preserve).CreateNavigator(); 189return new XPathDocument(WhitespaceRuleReader.CreateReader(reader, _wsRules), XmlSpace.Preserve).CreateNavigator();
System\Xml\Xsl\Xslt\XsltInput.cs (1)
379bool textPreserveWS = _reader.XmlSpace == XmlSpace.Preserve;
System\Xml\Xsl\XsltOld\Compiler.cs (1)
541return new XPathDocument(reader, XmlSpace.Preserve);
System\Xml\Xsl\XsltOld\ReaderOutput.cs (1)
351if (XmlSpace == XmlSpace.Preserve)
System\Xml\Xsl\XsltOld\RecordBuilder.cs (1)
798return XmlSpace.Preserve;
System\Xml\Xslt\XslTransform.cs (1)
58Load(new XPathDocument(stylesheet, XmlSpace.Preserve), resolver);
System.Private.Xml.Linq (1)
System\Xml\Linq\XNodeReader.cs (1)
434return XmlSpace.Preserve;
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\XmlDsigXsltTransform.cs (1)
130XPathDocument inputData = new XPathDocument(reader, XmlSpace.Preserve);
System.Xaml (1)
System\Xaml\InfosetObjects\XamlXmlReader.cs (1)
187if (myXmlReader.XmlSpace == XmlSpace.Preserve)