195 references to Whitespace
Microsoft.Build (7)
Construction\ProjectElementContainer.cs (6)
530
if (referenceSibling.XmlElement.PreviousSibling?.NodeType == XmlNodeType.
Whitespace
)
546
if (child.XmlElement.PreviousSibling?.NodeType == XmlNodeType.
Whitespace
)
561
if (XmlElement.FirstChild.NodeType == XmlNodeType.
Whitespace
)
580
if (xmlElement.PreviousSibling?.NodeType != XmlNodeType.
Whitespace
)
616
if (previousSibling?.NodeType == XmlNodeType.
Whitespace
)
628
if (XmlElement.ChildNodes.Cast<XmlNode>().All(c => c.NodeType == XmlNodeType.
Whitespace
))
Xml\ProjectXmlUtilities.XmlElementChildIterator.cs (1)
83
case XmlNodeType.
Whitespace
:
Microsoft.Build.Tasks.Core (6)
CodeTaskFactory.cs (4)
432
bool hasInvalidChildNodes = HasInvalidChildNodes(referenceNodes[i], [XmlNodeType.Comment, XmlNodeType.
Whitespace
]);
462
bool hasInvalidChildNodes = HasInvalidChildNodes(usingNodes[i], [XmlNodeType.Comment, XmlNodeType.
Whitespace
]);
512
bool hasInvalidChildNodes = HasInvalidChildNodes(codeNodes[0], [XmlNodeType.Comment, XmlNodeType.
Whitespace
, XmlNodeType.Text, XmlNodeType.CDATA]);
535
case XmlNodeType.
Whitespace
:
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (1)
327
.Where(i => i.NodeType != XmlNodeType.Comment && i.NodeType != XmlNodeType.
Whitespace
))
XamlTaskFactory\RelationsParser.cs (1)
594
(node.NodeType != XmlNodeType.
Whitespace
) &&
Microsoft.Extensions.Configuration.Xml (1)
XmlStreamConfigurationProvider.cs (1)
161
case XmlNodeType.
Whitespace
:
Microsoft.Maui.Controls.Build.Tasks (1)
XamlTask.cs (1)
50
if (reader.NodeType == XmlNodeType.
Whitespace
)
Microsoft.Maui.Controls.Xaml (5)
XamlLoader.cs (3)
68
if (reader.NodeType == XmlNodeType.
Whitespace
)
110
if (reader.NodeType == XmlNodeType.
Whitespace
)
151
if (reader.NodeType == XmlNodeType.
Whitespace
)
XamlParser.cs (2)
120
case XmlNodeType.
Whitespace
:
185
case XmlNodeType.
Whitespace
:
PresentationBuildTasks (6)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (6)
1246
case XmlNodeType.
Whitespace
:
2091
case XmlNodeType.
Whitespace
:
2151
case XmlNodeType.
Whitespace
:
3797
case XmlNodeType.
Whitespace
:
5056
xmlNodeType == XmlNodeType.
Whitespace
||
5067
case XmlNodeType.
Whitespace
:
System.Configuration.ConfigurationManager (8)
System\Configuration\BaseConfigurationRecord.cs (2)
3597
if ((nodeType != XmlNodeType.Comment) && (nodeType != XmlNodeType.
Whitespace
))
3627
if ((nodeType != XmlNodeType.Comment) && (nodeType != XmlNodeType.
Whitespace
))
System\Configuration\HandlerBase.cs (1)
159
if (node.NodeType == XmlNodeType.Comment || node.NodeType == XmlNodeType.
Whitespace
)
System\Configuration\XmlUtil.cs (5)
381
if (Reader.NodeType == XmlNodeType.
Whitespace
) Reader.Skip();
473
if (Reader.NodeType != XmlNodeType.
Whitespace
)
562
if (nodeType == XmlNodeType.
Whitespace
) utilWriter.Write(Reader.Value);
952
(Reader.NodeType == XmlNodeType.
Whitespace
))
1025
case XmlNodeType.
Whitespace
:
System.Data.Common (25)
System\Data\DataSet.cs (7)
1800
while (reader.NodeType == XmlNodeType.
Whitespace
)
1845
while (reader.NodeType == XmlNodeType.
Whitespace
)
2218
while (!reader.EOF && reader.NodeType == XmlNodeType.
Whitespace
)
2483
if (reader.NodeType == XmlNodeType.
Whitespace
)
2498
if (reader.NodeType == XmlNodeType.
Whitespace
)
2509
if (reader.NodeType == XmlNodeType.
Whitespace
)
2514
Debug.Assert(reader.NodeType != XmlNodeType.
Whitespace
, "Should not be on Whitespace node");
System\Data\DataTable.cs (2)
6272
while (reader.NodeType == XmlNodeType.
Whitespace
)
6334
if (reader.NodeType == XmlNodeType.
Whitespace
)
System\Data\XmlDataLoader.cs (6)
142
while (n != null && (n.NodeType == XmlNodeType.
Whitespace
|| !IsTextLikeNode(n.NodeType)))
176
while (n.NodeType == XmlNodeType.
Whitespace
)
269
case XmlNodeType.
Whitespace
:
799
case XmlNodeType.
Whitespace
: // This actually could be
1034
case XmlNodeType.
Whitespace
: // This actually could be
1246
case XmlNodeType.
Whitespace
:
System\Data\XMLDiffLoader.cs (2)
435
if (row.NodeType == XmlNodeType.Text || row.NodeType == XmlNodeType.
Whitespace
|| row.NodeType == XmlNodeType.SignificantWhitespace)
459
while (reader.NodeType == XmlNodeType.
Whitespace
|| reader.NodeType == XmlNodeType.SignificantWhitespace)
System\Xml\DataPointer.cs (1)
512
case XmlNodeType.
Whitespace
:
System\Xml\RegionIterator.cs (2)
169
while (n.NodeType == XmlNodeType.
Whitespace
)
190
if (n.NodeType != XmlNodeType.
Whitespace
)
System\Xml\XmlDataDocument.cs (4)
1068
XmlNodeType.
Whitespace
=> CreateWhitespace(dp.Value),
1090
case XmlNodeType.
Whitespace
:
1109
case XmlNodeType.
Whitespace
:
2330
while (n != null && n.NodeType == XmlNodeType.
Whitespace
)
System\Xml\XPathNodePointer.cs (1)
58
case XmlNodeType.
Whitespace
:
System.Private.DataContractSerialization (8)
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (1)
1029
case XmlNodeType.
Whitespace
:
System\Xml\XmlBaseReader.cs (3)
223
_whitespaceTextNode.NodeType = XmlNodeType.
Whitespace
;
1961
case XmlNodeType.
Whitespace
:
2480
: base(XmlNodeType.
Whitespace
,
System\Xml\XmlDictionaryReader.cs (2)
399
case XmlNodeType.
Whitespace
:
549
nodeType == XmlNodeType.
Whitespace
||
System\Xml\XmlDictionaryWriter.cs (1)
392
if (nodeType == XmlNodeType.Text || nodeType == XmlNodeType.
Whitespace
|| nodeType == XmlNodeType.SignificantWhitespace)
System\Xml\XmlExceptionHelper.cs (1)
72
case XmlNodeType.
Whitespace
:
System.Private.Xml (117)
System\Xml\BinaryXml\XmlBinaryReader.cs (3)
488
case XmlNodeType.
Whitespace
:
3502
return _xmlspacePreserve ? XmlNodeType.SignificantWhitespace : XmlNodeType.
Whitespace
;
3564
return XmlNodeType.
Whitespace
;
System\Xml\Core\ReadContentAsBinaryHelper.cs (1)
421
case XmlNodeType.
Whitespace
:
System\Xml\Core\ReadContentAsBinaryHelperAsync.cs (1)
343
case XmlNodeType.
Whitespace
:
System\Xml\Core\XmlCharCheckingReader.cs (2)
204
case XmlNodeType.
Whitespace
:
325
case XmlNodeType.
Whitespace
:
System\Xml\Core\XmlCharCheckingReaderAsync.cs (2)
66
case XmlNodeType.
Whitespace
:
186
case XmlNodeType.
Whitespace
:
System\Xml\Core\XmlReader.cs (6)
1156
case XmlNodeType.
Whitespace
:
1319
Debug.Assert(0 != (IsTextualNodeBitmap & (1 << (int)XmlNodeType.
Whitespace
)));
1346
Debug.Assert(0 != (CanReadContentAsBitmap & (1 << (int)XmlNodeType.
Whitespace
)));
1373
Debug.Assert(0 != (HasValueBitmap & (1 << (int)XmlNodeType.
Whitespace
)));
1476
case XmlNodeType.
Whitespace
:
1794
case XmlNodeType.
Whitespace
:
System\Xml\Core\XmlReaderAsync.cs (2)
230
case XmlNodeType.
Whitespace
:
332
case XmlNodeType.
Whitespace
:
System\Xml\Core\XmlTextReaderImpl.cs (3)
7867
return XmlNodeType.
Whitespace
;
8957
case XmlNodeType.
Whitespace
:
9122
Debug.Assert(_curNode.type == XmlNodeType.
Whitespace
&& newNodeType == XmlNodeType.SignificantWhitespace, "Incorrect node type change!");
System\Xml\Core\XmlTextReaderImplAsync.cs (1)
5333
case XmlNodeType.
Whitespace
:
System\Xml\Core\XmlValidatingReaderImpl.cs (2)
976
type != XmlNodeType.
Whitespace
&& type != XmlNodeType.SignificantWhitespace &&
1098
case XmlNodeType.
Whitespace
:
System\Xml\Core\XmlWriter.cs (1)
391
case XmlNodeType.
Whitespace
:
System\Xml\Core\XmlWriterAsync.cs (2)
327
case XmlNodeType.
Whitespace
:
390
case XmlNodeType.
Whitespace
:
System\Xml\Core\XsdCachingReader.cs (1)
428
case XmlNodeType.
Whitespace
:
System\Xml\Core\XsdCachingReaderAsync.cs (1)
60
case XmlNodeType.
Whitespace
:
System\Xml\Core\XsdValidatingReader.cs (5)
226
if (nodeType == XmlNodeType.
Whitespace
&& (_validator.CurrentContentType == XmlSchemaContentType.TextOnly || _validator.CurrentContentType == XmlSchemaContentType.Mixed))
2012
case XmlNodeType.
Whitespace
:
2538
case XmlNodeType.
Whitespace
:
2606
case XmlNodeType.
Whitespace
:
2667
case XmlNodeType.
Whitespace
:
System\Xml\Core\XsdValidatingReaderAsync.cs (2)
506
case XmlNodeType.
Whitespace
:
876
case XmlNodeType.
Whitespace
:
System\Xml\Dom\DocumentSchemaValidator.cs (2)
306
case XmlNodeType.
Whitespace
:
743
case XmlNodeType.
Whitespace
:
System\Xml\Dom\DocumentXPathNavigator.cs (10)
59
case XmlNodeType.
Whitespace
:
175
case XmlNodeType.
Whitespace
:
1074
case XmlNodeType.
Whitespace
:
1547
case XmlNodeType.
Whitespace
:
1570
case XmlNodeType.
Whitespace
:
1620
case XmlNodeType.
Whitespace
:
1680
case XmlNodeType.
Whitespace
:
1739
case XmlNodeType.
Whitespace
:
2045
case XmlNodeType.
Whitespace
:
2113
case XmlNodeType.
Whitespace
:
System\Xml\Dom\XmlCDataSection.cs (1)
54
case XmlNodeType.
Whitespace
:
System\Xml\Dom\XmlCharacterData.cs (1)
206
case XmlNodeType.
Whitespace
:
System\Xml\Dom\XmlDocument.cs (7)
468
case XmlNodeType.
Whitespace
:
579
case XmlNodeType.
Whitespace
:
799
case XmlNodeType.
Whitespace
:
836
case XmlNodeType.
Whitespace
:
1014
case XmlNodeType.
Whitespace
:
1157
case XmlNodeType.
Whitespace
:
1254
return XmlNodeType.
Whitespace
;
System\Xml\Dom\XmlDocumentFragment.cs (1)
136
case XmlNodeType.
Whitespace
:
System\Xml\Dom\XmlElement.cs (1)
225
case XmlNodeType.
Whitespace
:
System\Xml\Dom\XmlEntity.cs (1)
97
type == XmlNodeType.
Whitespace
||
System\Xml\Dom\XmlEntityReference.cs (1)
140
case XmlNodeType.
Whitespace
:
System\Xml\Dom\XmlLoader.cs (2)
185
case XmlNodeType.
Whitespace
:
518
case XmlNodeType.
Whitespace
:
System\Xml\Dom\XmlNode.cs (8)
743
case XmlNodeType.
Whitespace
:
793
|| firstNode.NodeType == XmlNodeType.
Whitespace
796
|| secondNode.NodeType == XmlNodeType.
Whitespace
);
805
if (firstNode.NodeType == XmlNodeType.
Whitespace
)
807
if (secondNode.NodeType == XmlNodeType.
Whitespace
)
907
|| child.NodeType == XmlNodeType.
Whitespace
|| child.NodeType == XmlNodeType.SignificantWhitespace)
935
case XmlNodeType.
Whitespace
:
1476
case XmlNodeType.
Whitespace
:
System\Xml\Dom\XmlNodeReader.cs (1)
180
case XmlNodeType.
Whitespace
:
System\Xml\Dom\XmlSignificantWhiteSpace.cs (1)
55
case XmlNodeType.
Whitespace
:
System\Xml\Dom\XmlText.cs (1)
58
case XmlNodeType.
Whitespace
:
System\Xml\Dom\XmlWhitespace.cs (2)
42
return XmlNodeType.
Whitespace
;
56
case XmlNodeType.
Whitespace
:
System\Xml\Schema\DtdValidator.cs (1)
69
case XmlNodeType.
Whitespace
:
System\Xml\Schema\Inference\Infer.cs (2)
693
if (_xtr.NodeType == XmlNodeType.
Whitespace
)
782
do { _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)
315
case XmlNodeType.
Whitespace
:
System\Xml\Schema\XdrValidator.cs (1)
76
case XmlNodeType.
Whitespace
:
System\Xml\Schema\XsdValidator.cs (1)
113
case XmlNodeType.
Whitespace
:
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (1)
680
Reader.NodeType == XmlNodeType.
Whitespace
||
System\Xml\Serialization\XmlSerializationReader.cs (4)
1204
if (_r.NodeType == XmlNodeType.None || _r.NodeType == XmlNodeType.
Whitespace
)
1234
if (unknownNode.NodeType != XmlNodeType.None && unknownNode.NodeType != XmlNodeType.
Whitespace
&& _events.OnUnknownNode != null)
1406
while (_r.NodeType == XmlNodeType.
Whitespace
) _r.Skip();
1867
while (_r.NodeType == XmlNodeType.
Whitespace
) _r.Skip();
System\Xml\Serialization\XmlSerializationReaderILGen.cs (1)
2292
ilg.Ldc(XmlNodeType.
Whitespace
);
System\Xml\XPath\XPathDocument.cs (2)
246
goto case XmlNodeType.
Whitespace
;
249
case XmlNodeType.
Whitespace
:
System\Xml\XPath\XPathNavigator.cs (1)
2093
case XmlNodeType.
Whitespace
:
System\Xml\XPath\XPathNavigatorReader.cs (1)
54
XmlNodeType.
Whitespace
, // XPathNodeType.Whitespace
System\Xml\Xsl\Runtime\WhitespaceRuleReader.cs (2)
109
goto case XmlNodeType.
Whitespace
;
121
case XmlNodeType.
Whitespace
:
System\Xml\Xsl\Xslt\XsltInput.cs (7)
122
while (MoveToNextSibling() && _nodeType == XmlNodeType.
Whitespace
) ;
202
_reader.NodeType == XmlNodeType.
Whitespace
|| _reader.NodeType == XmlNodeType.SignificantWhitespace ||
258
Debug.Assert(_reader.NodeType == XmlNodeType.Text || _reader.NodeType == XmlNodeType.
Whitespace
|| _reader.NodeType == XmlNodeType.SignificantWhitespace);
394
case XmlNodeType.
Whitespace
:
430
/*default: */ XmlNodeType.
Whitespace
441
Debug.Assert(_nodeType == XmlNodeType.Text || _nodeType == XmlNodeType.
Whitespace
|| _nodeType == XmlNodeType.SignificantWhitespace);
456
case XmlNodeType.
Whitespace
:
System\Xml\Xsl\Xslt\XsltLoader.cs (7)
464
case XmlNodeType.
Whitespace
:
1108
case XmlNodeType.
Whitespace
:
1452
case XmlNodeType.
Whitespace
:
1499
case XmlNodeType.
Whitespace
:
1712
case XmlNodeType.
Whitespace
:
2028
case XmlNodeType.
Whitespace
:
3061
if (_input.NodeType != XmlNodeType.
Whitespace
)
System\Xml\Xsl\XsltOld\NavigatorOutput.cs (1)
65
case XmlNodeType.
Whitespace
:
System\Xml\Xsl\XsltOld\ReaderOutput.cs (4)
341
_currentInfo.NodeType = XmlNodeType.
Whitespace
;
342
goto case XmlNodeType.
Whitespace
;
346
case XmlNodeType.
Whitespace
:
411
case XmlNodeType.
Whitespace
:
System\Xml\Xsl\XsltOld\SequentialOutput.cs (3)
373
case XmlNodeType.
Whitespace
:
431
case XmlNodeType.
Whitespace
:
480
case XmlNodeType.
Whitespace
:
System\Xml\Xsl\XsltOld\TextOnlyOutput.cs (1)
54
case XmlNodeType.
Whitespace
:
System\Xml\Xsl\XsltOld\WriterOutput.cs (1)
41
case XmlNodeType.
Whitespace
:
System.Private.Xml.Linq (9)
System\Xml\Linq\XContainer.cs (4)
928
case XmlNodeType.
Whitespace
:
984
case XmlNodeType.
Whitespace
:
1074
case XmlNodeType.
Whitespace
:
1190
case XmlNodeType.
Whitespace
:
System\Xml\Linq\XNode.cs (2)
435
case XmlNodeType.
Whitespace
:
483
case XmlNodeType.
Whitespace
:
System\Xml\Linq\XNodeReader.cs (2)
296
return XmlNodeType.
Whitespace
;
302
return XmlNodeType.
Whitespace
;
System\Xml\XPath\XNodeNavigator.cs (1)
931
if (text.GetParent() is XDocument) throw new ArgumentException(SR.Format(SR.Argument_CreateNavigator, XmlNodeType.
Whitespace
));
System.ServiceModel.Syndication (1)
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (1)
608
case XmlNodeType.
Whitespace
:
System.Xaml (1)
System\Xaml\Parser\XamlScanner.cs (1)
194
case XmlNodeType.
Whitespace
: