167 references to XmlSpace
Microsoft.Build.Tasks.Core (3)
XslTransformation.cs (3)
472XmlSpace xmlSpaceOption = _preserveWhitespace ? XmlSpace.Preserve : XmlSpace.Default;
netstandard (1)
netstandard.cs (1)
2501[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XmlSpace))]
PresentationBuildTasks (7)
Microsoft\Build\Tasks\Windows\UidManager.cs (1)
497XmlSpace.Default // XmlSpace
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\ParserContext.cs (5)
427XmlSpace xmlSpace = System.Xml.XmlSpace.None; 431TypeConverter typeConverter = TypeDescriptor.GetConverter(typeof(System.Xml.XmlSpace)); 436xmlSpace = (System.Xml.XmlSpace)typeConverter.ConvertFromString(null, TypeConverterHelper.InvariantEnglishUS, parserContext.XmlSpace); 440xmlSpace = System.Xml.XmlSpace.None;
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
53public override XmlSpace XmlSpace { get { return _reader.XmlSpace; } }
PresentationFramework (7)
System\Windows\Markup\ParserContext.cs (7)
99TypeConverter typeConverter = TypeDescriptor.GetConverter(typeof(XmlSpace)); 138if( xmlReader.XmlSpace != System.Xml.XmlSpace.None ) 427XmlSpace xmlSpace = System.Xml.XmlSpace.None; 431TypeConverter typeConverter = TypeDescriptor.GetConverter(typeof(System.Xml.XmlSpace)); 436xmlSpace = (System.Xml.XmlSpace)typeConverter.ConvertFromString(null, TypeConverterHelper.InvariantEnglishUS, parserContext.XmlSpace); 440xmlSpace = System.Xml.XmlSpace.None;
System.Configuration.ConfigurationManager (2)
System\Configuration\MgmtConfigurationRecord.cs (1)
601XmlParserContext context = new XmlParserContext(null, null, null, XmlSpace.Default, Encoding.Unicode);
System\Configuration\XmlUtil.cs (1)
974XmlParserContext context = new XmlParserContext(null, null, null, XmlSpace.Default, Encoding.Unicode);
System.Data.Common (2)
System\Data\xmlsaver.cs (2)
3295public override XmlSpace XmlSpace 3413public override XmlSpace XmlSpace
System.IO.Packaging (1)
System\IO\Packaging\XmlWrappingReader.cs (1)
37public override XmlSpace XmlSpace { get { return _reader.XmlSpace; } }
System.Private.DataContractSerialization (31)
System\Runtime\Serialization\ExtensionDataReader.cs (1)
125public override XmlSpace XmlSpace { get { return IsXmlDataNode ? _xmlNodeReader.XmlSpace : base.XmlSpace; } }
System\Runtime\Serialization\Json\XmlJsonWriter.cs (2)
162public override XmlSpace XmlSpace 164get { return XmlSpace.None; }
System\Runtime\Serialization\XmlSerializableReader.cs (1)
83public override XmlSpace XmlSpace { get { return InnerReader.XmlSpace; } }
System\Runtime\Serialization\XmlSerializableWriter.cs (1)
98public override XmlSpace XmlSpace { get { return _xmlWriter.XmlSpace; } }
System\Runtime\Serialization\XmlWriterDelegator.cs (1)
262internal XmlSpace XmlSpace
System\Xml\XmlBaseReader.cs (11)
220if (_nsMgr.XmlSpace == XmlSpace.Preserve) 376_nsMgr.AddSpaceAttribute(XmlSpace.Preserve); 380_nsMgr.AddSpaceAttribute(XmlSpace.Default); 1769public override XmlSpace XmlSpace 2706private XmlSpace _space; 2718_space = XmlSpace.None; 2764public XmlSpace XmlSpace 2784_space = XmlSpace.None; 2851public void AddSpaceAttribute(XmlSpace space) 2979private XmlSpace _space; 3011public XmlSpace XmlSpace
System\Xml\XmlBaseWriter.cs (11)
131public override XmlSpace XmlSpace 326_nsMgr.AddSpaceAttribute(XmlSpace.Preserve); 330_nsMgr.AddSpaceAttribute(XmlSpace.Default); 390_nsMgr.AddSpaceAttribute(XmlSpace.Preserve); 394_nsMgr.AddSpaceAttribute(XmlSpace.Default); 1927private XmlSpace _space; 1950public XmlSpace XmlSpace 1969_space = XmlSpace.None; 2068public void AddSpaceAttribute(XmlSpace space) 2393private XmlSpace _space; 2425public XmlSpace XmlSpace
System\Xml\XmlDictionaryAsyncCheckWriter.cs (1)
76public override XmlSpace XmlSpace
System\Xml\XmlDictionaryReader.cs (1)
1614public override XmlSpace XmlSpace
System\Xml\XmlDictionaryWriter.cs (1)
868public override XmlSpace XmlSpace
System.Private.Xml (103)
System\Xml\BinaryXml\XmlBinaryReader.cs (11)
122public XmlSpace xmlSpace; 130this.xmlSpace = XmlSpace.None; 569public override XmlSpace XmlSpace 577XmlSpace xs = _elementStack[i].xmlSpace; 578if (xs != XmlSpace.None) 581return XmlSpace.None; 2677XmlSpace xs = XmlSpace.None; 2679xs = XmlSpace.Preserve; 2681xs = XmlSpace.Default; 2683_xmlspacePreserve = (XmlSpace.Preserve == xs);
System\Xml\Core\XmlAsyncCheckReader.cs (1)
190public override XmlSpace XmlSpace
System\Xml\Core\XmlAsyncCheckWriter.cs (1)
218public override XmlSpace XmlSpace
System\Xml\Core\XmlParserContext.cs (6)
21private XmlSpace _xmlSpace; 25public XmlParserContext(XmlNameTable? nt, XmlNamespaceManager? nsMgr, string? xmlLang, XmlSpace xmlSpace) 31public XmlParserContext(XmlNameTable? nt, XmlNamespaceManager? nsMgr, string? xmlLang, XmlSpace xmlSpace, Encoding? enc) 39string? xmlLang, XmlSpace xmlSpace) 47string? xmlLang, XmlSpace xmlSpace, Encoding? enc) 183public XmlSpace XmlSpace
System\Xml\Core\XmlRawWriter.cs (1)
111public override XmlSpace XmlSpace
System\Xml\Core\XmlReader.cs (2)
130public virtual XmlSpace XmlSpace => XmlSpace.None;
System\Xml\Core\XmlTextReader.cs (1)
172public override XmlSpace XmlSpace
System\Xml\Core\XmlTextReaderImpl.cs (4)
969public override XmlSpace XmlSpace 5071_xmlContext.xmlSpace = XmlSpace.Preserve; 5074_xmlContext.xmlSpace = XmlSpace.Default; 7860if (_xmlContext.xmlSpace == XmlSpace.Preserve)
System\Xml\Core\XmlTextReaderImplHelpers.cs (2)
124internal XmlSpace xmlSpace; 131xmlSpace = XmlSpace.None;
System\Xml\Core\XmlTextWriter.cs (8)
53internal XmlSpace xmlSpace; 64xmlSpace = XmlSpace.None; 1111public override XmlSpace XmlSpace 1117XmlSpace xs = _stack[i].xmlSpace; 1118if (xs != XmlSpace.None) 1121return XmlSpace.None; 1754_stack[_top].xmlSpace = XmlSpace.Default; 1757_stack[_top].xmlSpace = XmlSpace.Preserve;
System\Xml\Core\XmlValidatingReader.cs (1)
110public override XmlSpace XmlSpace
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
395public override XmlSpace XmlSpace
System\Xml\Core\XmlWellFormedWriter.cs (5)
278_elemScopeStack[0].xmlSpace = XmlSpace.None; 817_elemScopeStack[_elemTop].xmlSpace = XmlSpace.Default; 821_elemScopeStack[_elemTop].xmlSpace = XmlSpace.Preserve; 1256public override XmlSpace XmlSpace 1261for (i = _elemTop; i >= 0 && _elemScopeStack[i].xmlSpace == (System.Xml.XmlSpace)(int)-1; i--) ;
System\Xml\Core\XmlWellFormedWriterAsync.cs (2)
721_elemScopeStack[_elemTop].xmlSpace = XmlSpace.Default; 725_elemScopeStack[_elemTop].xmlSpace = XmlSpace.Preserve;
System\Xml\Core\XmlWellFormedWriterHelpers.cs (2)
47internal XmlSpace xmlSpace; 56this.xmlSpace = (System.Xml.XmlSpace)(int)-1;
System\Xml\Core\XmlWrappingReader.cs (1)
45public override XmlSpace XmlSpace { get { return reader.XmlSpace; } }
System\Xml\Core\XmlWrappingWriter.cs (1)
32public override XmlSpace XmlSpace { get { return writer.XmlSpace; } }
System\Xml\Core\XmlWriter.cs (2)
204public virtual XmlSpace XmlSpace => XmlSpace.Default;
System\Xml\Core\XsdCachingReader.cs (1)
217public override XmlSpace XmlSpace
System\Xml\Core\XsdValidatingReader.cs (1)
390public override XmlSpace XmlSpace
System\Xml\Dom\XmlAttribute.cs (2)
377internal override XmlSpace XmlSpace 383return XmlSpace.None;
System\Xml\Dom\XmlLoader.cs (6)
596XmlParserContext pc = new XmlParserContext(null, new XmlNamespaceManager(_doc!.NameTable), null, null, null, null, _doc.BaseURI, string.Empty, XmlSpace.None); 683XmlSpace spaceMode = XmlSpace.None; 713else if (spaceMode == XmlSpace.None && attr.Prefix == _doc.strXml && attr.LocalName == _doc.strSpace) 717spaceMode = XmlSpace.Default; 719spaceMode = XmlSpace.Preserve;
System\Xml\Dom\XmlNode.cs (4)
1342internal virtual XmlSpace XmlSpace 1356return XmlSpace.Default; 1358return XmlSpace.Preserve; 1368return XmlSpace.None;
System\Xml\Dom\XmlNodeReader.cs (3)
279public XmlSpace XmlSpace 1286public override XmlSpace XmlSpace 1291return XmlSpace.None;
System\Xml\XPath\XPathDocument.cs (9)
62public XPathDocument(XmlReader reader) : this(reader, XmlSpace.Default) 69public XPathDocument(XmlReader reader, XmlSpace space) 87LoadFromReader(reader, XmlSpace.Default); 106LoadFromReader(reader, XmlSpace.Default); 117public XPathDocument([StringSyntax(StringSyntaxAttribute.Uri)] string uri) : this(uri, XmlSpace.Default) 124public XPathDocument([StringSyntax(StringSyntaxAttribute.Uri)] string uri, XmlSpace space) 152internal void LoadFromReader(XmlReader reader, XmlSpace space) 242if (reader.XmlSpace == XmlSpace.Preserve) 257if (space == XmlSpace.Preserve && (!topLevelReader || reader.Depth != 0))
System\Xml\XPath\XPathNavigator.cs (1)
2015XmlParserContext context = new XmlParserContext(NameTable, mgr, null, XmlSpace.Default);
System\Xml\XPath\XPathNavigatorReader.cs (4)
259public override XmlSpace XmlSpace 271return XmlSpace.Default; 273return XmlSpace.Preserve; 281return XmlSpace.None;
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\Runtime\XmlQueryOutput.cs (1)
396public override XmlSpace XmlSpace
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\OutputScope.cs (4)
16private XmlSpace _space; 35internal XmlSpace Space 63Init(string.Empty, string.Empty, string.Empty, XmlSpace.None, string.Empty, false); 70internal void Init(string name, string nspace, string prefix, XmlSpace space, string lang, bool mixed)
System\Xml\Xsl\XsltOld\OutputScopeManager.cs (2)
35internal XmlSpace XmlSpace 63rootElementScope.Init(string.Empty, string.Empty, string.Empty, /*space:*/XmlSpace.None, /*lang:*/string.Empty, /*mixed:*/false);
System\Xml\Xsl\XsltOld\ReaderOutput.cs (3)
168public override XmlSpace XmlSpace 170get { return _manager != null ? _manager.XmlSpace : XmlSpace.None; } 351if (XmlSpace == XmlSpace.Preserve)
System\Xml\Xsl\XsltOld\RecordBuilder.cs (4)
790private static XmlSpace TranslateXmlSpace(string space) 794return XmlSpace.Default; 798return XmlSpace.Preserve; 802return XmlSpace.None;
System\Xml\Xslt\XslTransform.cs (1)
58Load(new XPathDocument(stylesheet, XmlSpace.Preserve), resolver);
System.Private.Xml.Linq (5)
System\Xml\Linq\XNodeReader.cs (5)
414public override XmlSpace XmlSpace 420return XmlSpace.None; 434return XmlSpace.Preserve; 436return XmlSpace.Default; 444return XmlSpace.None;
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\XmlDsigXsltTransform.cs (1)
130XPathDocument inputData = new XPathDocument(reader, XmlSpace.Preserve);
System.Xaml (2)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
53public override XmlSpace XmlSpace { get { return _reader.XmlSpace; } }
System\Xaml\InfosetObjects\XamlXmlReader.cs (1)
187if (myXmlReader.XmlSpace == XmlSpace.Preserve)
System.Xml (1)
System.Xml.cs (1)
230[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XmlSpace))]
System.Xml.ReaderWriter (1)
artifacts\obj\System.Xml.ReaderWriter\Debug\net10.0\System.Xml.ReaderWriter.Forwards.cs (1)
158[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XmlSpace))]