206 references to Whitespace
PresentationBuildTasks (6)
Framework\System\Windows\Markup\XamlReaderHelper.cs (6)
1254case XmlNodeType.Whitespace: 2106case XmlNodeType.Whitespace: 2166case XmlNodeType.Whitespace: 3804case XmlNodeType.Whitespace: 5011xmlNodeType == XmlNodeType.Whitespace || 5022case XmlNodeType.Whitespace:
System.Configuration (7)
System\Configuration\BaseConfigurationRecord.cs (2)
4256else if (nodeType != XmlNodeType.Comment && nodeType != XmlNodeType.Whitespace) { 4282else if (nodeType != XmlNodeType.Comment && nodeType != XmlNodeType.Whitespace) {
System\Configuration\XmlUtil.cs (5)
405if (_reader.NodeType == XmlNodeType.Whitespace) { 507if (_reader.NodeType != XmlNodeType.Whitespace) { 604if (nodeType == XmlNodeType.Whitespace) { 988(Reader.NodeType == XmlNodeType.Whitespace)) { 1061case XmlNodeType.Whitespace:
System.Data (28)
fx\src\data\System\Data\Common\HandlerBase.cs (1)
38if ((XmlNodeType.Comment == node.NodeType) || (XmlNodeType.Whitespace == node.NodeType)) {
fx\src\data\System\Data\DataSet.cs (7)
1658while (reader.NodeType == XmlNodeType.Whitespace) { 1692while (reader.NodeType == XmlNodeType.Whitespace) { 2014while (!reader.EOF && reader.NodeType == XmlNodeType.Whitespace) 2234if (reader.NodeType == XmlNodeType.Whitespace) 2245if (reader.NodeType == XmlNodeType.Whitespace) { 2254if (reader.NodeType == XmlNodeType.Whitespace) { 2258Debug.Assert(reader.NodeType != XmlNodeType.Whitespace, "Should not be on Whitespace node");
fx\src\data\System\Data\DataTable.cs (2)
5560while (reader.NodeType == XmlNodeType.Whitespace) { 5606if (reader.NodeType == XmlNodeType.Whitespace) {
fx\src\data\System\Data\SqlClient\SqlStream.cs (1)
594case XmlNodeType.Whitespace:
fx\src\data\System\Data\XmlDataLoader.cs (6)
132while (n != null && (n.NodeType == XmlNodeType.Whitespace || !IsTextLikeNode(n.NodeType))) { 163while (n.NodeType == XmlNodeType.Whitespace) 253case XmlNodeType.Whitespace: 754case XmlNodeType.Whitespace: // This actually could be 975case XmlNodeType.Whitespace: // This actually could be 1164case XmlNodeType.Whitespace:
fx\src\data\System\Data\XMLDiffLoader.cs (2)
393if (row.NodeType == XmlNodeType.Text || row.NodeType == XmlNodeType.Whitespace || row.NodeType == XmlNodeType.SignificantWhitespace) { 414while (reader.NodeType == XmlNodeType.Whitespace || reader.NodeType == XmlNodeType.SignificantWhitespace) {
fx\src\data\System\NewXml\DataPointer.cs (1)
414case XmlNodeType.Whitespace :
fx\src\data\System\NewXml\RegionIterator.cs (2)
149while ( n.NodeType == XmlNodeType.Whitespace ) { 164if ( n.NodeType != XmlNodeType.Whitespace )
fx\src\data\System\NewXml\XmlDataDocument.cs (4)
976case XmlNodeType.Whitespace: 995case XmlNodeType.Whitespace: 2097while ( n != null && n.NodeType == XmlNodeType.Whitespace ) 2623case XmlNodeType.Whitespace:
fx\src\data\System\NewXml\XPathNodePointer.cs (2)
53xmlNodeType_To_XpathNodeType_Map[(int)(XmlNodeType.Whitespace)] = (int)XPathNodeType.Whitespace; 67case XmlNodeType.Whitespace :
System.Data.Entity (1)
System\Data\EntityModel\SchemaObjectModel\SchemaElement.cs (1)
283case XmlNodeType.Whitespace:
System.Data.Linq (4)
Mapping\MappingSource.cs (4)
270if (reader.NodeType == XmlNodeType.Whitespace || !IsInNamespace(reader)) { 345if (reader.NodeType == XmlNodeType.Whitespace || !IsInNamespace(reader)) { 436if (reader.NodeType == XmlNodeType.Whitespace || !IsInNamespace(reader)) { 503if (reader.NodeType == XmlNodeType.Whitespace || !IsInNamespace(reader)) {
System.Data.Services (3)
System\Data\Services\Epm\EpmCustomContentDeSerializer.cs (1)
129case XmlNodeType.Whitespace:
System\Data\Services\Serializers\PlainXmlDeserializer.cs (1)
338case XmlNodeType.Whitespace:
System\Data\Services\WebUtil.cs (1)
1184case XmlNodeType.Whitespace:
System.Data.Services.Client (3)
System\Data\Services\Client\AtomParser.cs (1)
762case XmlNodeType.Whitespace:
System\Data\Services\Client\MaterializeFromAtom.cs (1)
586case XmlNodeType.Whitespace:
System\Data\Services\Client\Xml\XmlAtomErrorReader.cs (1)
91case XmlNodeType.Whitespace:
System.Data.SqlXml (29)
System\Xml\Xsl\QIL\QilXmlReader.cs (2)
87case XmlNodeType.Whitespace: 393case XmlNodeType.Whitespace:
System\Xml\Xsl\Runtime\WhitespaceRuleReader.cs (2)
103goto case XmlNodeType.Whitespace; 115case XmlNodeType.Whitespace:
System\Xml\Xsl\Xslt\XsltInput.cs (7)
116while (MoveToNextSibling() && nodeType == XmlNodeType.Whitespace) ; 182reader.NodeType == XmlNodeType.Whitespace || reader.NodeType == XmlNodeType.SignificantWhitespace || 232Debug.Assert(reader.NodeType == XmlNodeType.Text || reader.NodeType == XmlNodeType.Whitespace || reader.NodeType == XmlNodeType.SignificantWhitespace); 345case XmlNodeType.Whitespace: 377/*default: */ XmlNodeType.Whitespace 386Debug.Assert(nodeType == XmlNodeType.Text || nodeType == XmlNodeType.Whitespace || nodeType == XmlNodeType.SignificantWhitespace); 398case XmlNodeType.Whitespace:
System\Xml\Xsl\Xslt\XsltLoader.cs (8)
376case XmlNodeType.Whitespace: 909case XmlNodeType.Whitespace: 1157input.NodeType == XmlNodeType.Whitespace 1338case XmlNodeType.Whitespace: 1374case XmlNodeType.Whitespace: 1559case XmlNodeType.Whitespace: 1859case XmlNodeType.Whitespace: 2764if (input.NodeType != XmlNodeType.Whitespace) {
System\Xml\Xsl\XsltOld\NavigatorOutput.cs (1)
65case XmlNodeType.Whitespace:
System\Xml\Xsl\XsltOld\ReaderOutput.cs (4)
290this.currentInfo.NodeType = XmlNodeType.Whitespace; 291goto case XmlNodeType.Whitespace; 295case XmlNodeType.Whitespace : 348case XmlNodeType.Whitespace:
System\Xml\Xsl\XsltOld\SequentialOutput.cs (3)
331case XmlNodeType.Whitespace: 382case XmlNodeType.Whitespace: 428case XmlNodeType.Whitespace:
System\Xml\Xsl\XsltOld\TextOnlyOutput.cs (1)
60case XmlNodeType.Whitespace:
System\Xml\Xsl\XsltOld\WriterOutput.cs (1)
45case XmlNodeType.Whitespace:
System.IdentityModel (6)
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (1)
3156while (reader.NodeType == XmlNodeType.Whitespace)
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (1)
2732while (reader.NodeType == XmlNodeType.Whitespace)
System\IdentityModel\WrappedReader.cs (3)
173case XmlNodeType.Whitespace: 283case XmlNodeType.Whitespace: 651case XmlNodeType.Whitespace:
System\IdentityModel\XmlHelper.cs (1)
18while (reader.NodeType == XmlNodeType.Whitespace || reader.NodeType == XmlNodeType.SignificantWhitespace)
System.Runtime.Serialization (8)
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (1)
1026case XmlNodeType.Whitespace:
System\Xml\XmlBaseReader.cs (3)
260whitespaceTextNode.NodeType = XmlNodeType.Whitespace; 2086case XmlNodeType.Whitespace: 2607: base(XmlNodeType.Whitespace,
System\Xml\XmlDictionaryReader.cs (2)
428case XmlNodeType.Whitespace: 580nodeType == XmlNodeType.Whitespace ||
System\Xml\XmlDictionaryWriter.cs (1)
897if (nodeType == XmlNodeType.Text || nodeType == XmlNodeType.Whitespace || nodeType == XmlNodeType.SignificantWhitespace)
System\Xml\XmlExceptionHelper.cs (1)
75case XmlNodeType.Whitespace:
System.ServiceModel (10)
System\ServiceModel\Channels\ReliableSessionBindingElementImporter.cs (1)
315return (type == XmlNodeType.Comment || type == XmlNodeType.SignificantWhitespace || type == XmlNodeType.Whitespace || type == XmlNodeType.Notation);
System\ServiceModel\Description\MetadataSet.cs (1)
656Reader.NodeType == System.Xml.XmlNodeType.Whitespace ||
System\ServiceModel\Dispatcher\SeekableMessageNavigator.cs (2)
2007goto case XmlNodeType.Whitespace; 2011case XmlNodeType.Whitespace:
System\ServiceModel\Security\WSSecurityPolicy.cs (1)
319if (node.NodeType == XmlNodeType.Whitespace || node.NodeType == XmlNodeType.Comment)
System\ServiceModel\Security\XmlHelper.cs (4)
60if (child.NodeType == XmlNodeType.Whitespace || child.NodeType == XmlNodeType.Comment) 93if (child.NodeType == XmlNodeType.Whitespace || child.NodeType == XmlNodeType.Comment) 130while (reader.NodeType == XmlNodeType.Whitespace || reader.NodeType == XmlNodeType.SignificantWhitespace) 160else if (reader.NodeType == XmlNodeType.Whitespace)
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (1)
590case XmlNodeType.Whitespace:
System.Web (2)
Configuration\HttpCapabilitiesSectionHandler.cs (1)
213case XmlNodeType.Whitespace:
Configuration\ProtocolsConfiguration.cs (1)
80if (node.NodeType == XmlNodeType.Comment || node.NodeType == XmlNodeType.Whitespace) {
System.Web.Mobile (1)
Mobile\ConfigurationSectionHelper.cs (1)
148_currentNode.NodeType == XmlNodeType.Whitespace;
System.Web.Services (3)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (2)
7190Reader.NodeType == System.Xml.XmlNodeType.Whitespace || 7255Reader.NodeType == System.Xml.XmlNodeType.Whitespace ||
System\Web\Services\Protocols\SoapClientProtocol.cs (1)
752while (reader.NodeType == XmlNodeType.Whitespace) reader.Skip();
System.Workflow.ComponentModel (1)
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (1)
446if (reader.NodeType != XmlNodeType.Comment && reader.NodeType != XmlNodeType.Whitespace && !unnecessaryXmlFound)
System.Xml (88)
System\Xml\BinaryXml\XmlBinaryReader.cs (3)
465case XmlNodeType.Whitespace: 3106return this.xmlspacePreserve ? XmlNodeType.SignificantWhitespace : XmlNodeType.Whitespace; 3162return XmlNodeType.Whitespace;
System\Xml\Core\ReadContentAsBinaryHelper.cs (1)
402case XmlNodeType.Whitespace:
System\Xml\Core\ReadContentAsBinaryHelperAsync.cs (1)
326case XmlNodeType.Whitespace:
System\Xml\Core\XmlCharCheckingReader.cs (2)
186case XmlNodeType.Whitespace: 286case XmlNodeType.Whitespace:
System\Xml\Core\XmlCharCheckingReaderAsync.cs (2)
54case XmlNodeType.Whitespace: 154case XmlNodeType.Whitespace:
System\Xml\Core\XmlReader.cs (3)
1098case XmlNodeType.Whitespace: 1399case XmlNodeType.Whitespace: 1746case XmlNodeType.Whitespace:
System\Xml\Core\XmlReaderAsync.cs (2)
227case XmlNodeType.Whitespace: 318case XmlNodeType.Whitespace:
System\Xml\Core\XmlTextReaderImpl.cs (3)
7082return XmlNodeType.Whitespace; 8001case XmlNodeType.Whitespace: 8148Debug.Assert( curNode.type == XmlNodeType.Whitespace && newNodeType == XmlNodeType.SignificantWhitespace, "Incorrect node type change!" );
System\Xml\Core\XmlTextReaderImplAsync.cs (1)
4955case XmlNodeType.Whitespace:
System\Xml\Core\XmlValidatingReaderImpl.cs (2)
813type != XmlNodeType.Whitespace && type != XmlNodeType.SignificantWhitespace && 923case XmlNodeType.Whitespace:
System\Xml\Core\XmlValidatingReaderImplAsync.cs (1)
181type != XmlNodeType.Whitespace && type != XmlNodeType.SignificantWhitespace &&
System\Xml\Core\XmlWriter.cs (1)
401case XmlNodeType.Whitespace:
System\Xml\Core\XmlWriterAsync.cs (2)
295case XmlNodeType.Whitespace: 355case XmlNodeType.Whitespace:
System\Xml\Core\XsdCachingReader.cs (1)
369case XmlNodeType.Whitespace:
System\Xml\Core\XsdCachingReaderAsync.cs (1)
53case XmlNodeType.Whitespace:
System\Xml\Core\XsdValidatingReader.cs (5)
217if (nodeType == XmlNodeType.Whitespace && (validator.CurrentContentType == XmlSchemaContentType.TextOnly || validator.CurrentContentType == XmlSchemaContentType.Mixed)) { 1563case XmlNodeType.Whitespace: 1994case XmlNodeType.Whitespace: 2046case XmlNodeType.Whitespace: 2091case XmlNodeType.Whitespace:
System\Xml\Core\XsdValidatingReaderAsync.cs (2)
409case XmlNodeType.Whitespace: 721case XmlNodeType.Whitespace:
System\Xml\Dom\DocumentSchemaValidator.cs (2)
280case XmlNodeType.Whitespace: 662case XmlNodeType.Whitespace:
System\Xml\Dom\DocumentXPathNavigator.cs (10)
56case XmlNodeType.Whitespace: 152case XmlNodeType.Whitespace: 889case XmlNodeType.Whitespace: 1280case XmlNodeType.Whitespace: 1301case XmlNodeType.Whitespace: 1350case XmlNodeType.Whitespace: 1406case XmlNodeType.Whitespace: 1456case XmlNodeType.Whitespace: 1702case XmlNodeType.Whitespace: 1757case XmlNodeType.Whitespace:
System\Xml\Dom\XmlCDataSection.cs (1)
48case XmlNodeType.Whitespace:
System\Xml\Dom\XmlCharacterData.cs (1)
179case XmlNodeType.Whitespace :
System\Xml\Dom\XmlDocument.cs (7)
366case XmlNodeType.Whitespace: 467case XmlNodeType.Whitespace: 655case XmlNodeType.Whitespace: 685case XmlNodeType.Whitespace: 839case XmlNodeType.Whitespace: 972case XmlNodeType.Whitespace: 1049return XmlNodeType.Whitespace;
System\Xml\Dom\XmlDocumentFragment.cs (1)
125case XmlNodeType.Whitespace:
System\Xml\Dom\XmlElement.cs (1)
187case XmlNodeType.Whitespace:
System\Xml\Dom\XmlEntity.cs (1)
92type == XmlNodeType.Whitespace ||
System\Xml\Dom\XmlEntityReference.cs (1)
123case XmlNodeType.Whitespace:
System\Xml\Dom\XmlLoader.cs (2)
166case XmlNodeType.Whitespace: 456case XmlNodeType.Whitespace:
System\Xml\Dom\XmlNode.cs (8)
637case XmlNodeType.Whitespace: 676|| firstNode.NodeType == XmlNodeType.Whitespace 679|| secondNode.NodeType == XmlNodeType.Whitespace ); 688if ( firstNode.NodeType == XmlNodeType.Whitespace ) 690if ( secondNode.NodeType == XmlNodeType.Whitespace ) 773|| child.NodeType == XmlNodeType.Whitespace || child.NodeType == XmlNodeType.SignificantWhitespace) 795case XmlNodeType.Whitespace: 1223case XmlNodeType.Whitespace:
System\Xml\Dom\XmlNodeReader.cs (1)
177case XmlNodeType.Whitespace :
System\Xml\Dom\XmlSignificantWhiteSpace.cs (1)
50case XmlNodeType.Whitespace:
System\Xml\Dom\XmlText.cs (1)
51case XmlNodeType.Whitespace:
System\Xml\Dom\XmlWhitespace.cs (2)
39return XmlNodeType.Whitespace; 50case XmlNodeType.Whitespace:
System\Xml\Schema\DtdValidator.cs (1)
61case XmlNodeType.Whitespace:
System\Xml\Schema\Inference\Infer.cs (2)
710if (xtr.NodeType == XmlNodeType.Whitespace) 798do{ xtr.Read();} while( (!xtr.EOF) && ((xtr.NodeType == XmlNodeType.CDATA)||(xtr.NodeType == XmlNodeType.Text) || (xtr.NodeType == XmlNodeType.Comment) || (xtr.NodeType == XmlNodeType.ProcessingInstruction) || (xtr.NodeType == XmlNodeType.Whitespace) || (xtr.NodeType == XmlNodeType.SignificantWhitespace) || (xtr.NodeType == XmlNodeType.XmlDeclaration)));
System\Xml\Schema\Parser.cs (1)
278case XmlNodeType.Whitespace:
System\Xml\Schema\XdrValidator.cs (1)
66case XmlNodeType.Whitespace:
System\Xml\Schema\XsdValidator.cs (1)
94case XmlNodeType.Whitespace:
System\Xml\Serialization\XmlSerializationReader.cs (4)
1172if (r.NodeType == XmlNodeType.None || r.NodeType == XmlNodeType.Whitespace) { 1196if (unknownNode.NodeType != XmlNodeType.None && unknownNode.NodeType != XmlNodeType.Whitespace && events.OnUnknownNode != null) { 1366while (r.NodeType == XmlNodeType.Whitespace) r.Skip(); 1765while (r.NodeType == XmlNodeType.Whitespace) r.Skip();
System\Xml\Serialization\XmlSerializationReaderILGen.cs (1)
2346ilg.Ldc(XmlNodeType.Whitespace);
System\Xml\XPath\XPathDocument.cs (2)
229goto case XmlNodeType.Whitespace; 232case XmlNodeType.Whitespace:
System\Xml\XPath\XPathNavigator.cs (1)
1839case XmlNodeType.Whitespace:
System\Xml\XPath\XPathNavigatorReader.cs (1)
56XmlNodeType.Whitespace, // XPathNodeType.Whitespace
System.Xml.Linq (6)
System\Xml\Linq\XLinq.cs (5)
1835case XmlNodeType.Whitespace: 3057case XmlNodeType.Whitespace: 3150case XmlNodeType.Whitespace: 8291return XmlNodeType.Whitespace; 8296return XmlNodeType.Whitespace;
System\Xml\Linq\XNodeNavigator.cs (1)
832if (text.parent is XDocument) throw new ArgumentException(System.Xml.Linq.Res.GetString(System.Xml.Linq.Res.Argument_CreateNavigator, XmlNodeType.Whitespace));