131 references to Comment
Microsoft.Build (1)
Xml\ProjectXmlUtilities.XmlElementChildIterator.cs (1)
82
case XmlNodeType.
Comment
:
Microsoft.Build.Tasks.Core (9)
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]);
534
case XmlNodeType.
Comment
:
ManifestUtil\ManifestFormatter.cs (1)
83
case XmlNodeType.
Comment
:
ManifestUtil\TrustInfo.cs (1)
268
if (previousNode?.NodeType == XmlNodeType.
Comment
)
ManifestUtil\XmlUtil.cs (1)
54
else if (node.NodeType == XmlNodeType.
Comment
)
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (1)
327
.Where(i => i.NodeType != XmlNodeType.
Comment
&& i.NodeType != XmlNodeType.Whitespace))
XamlTaskFactory\RelationsParser.cs (1)
593
(node.NodeType != XmlNodeType.
Comment
) &&
Microsoft.Extensions.Configuration.Xml (1)
XmlStreamConfigurationProvider.cs (1)
160
case XmlNodeType.
Comment
:
PresentationBuildTasks (2)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (2)
1315
case XmlNodeType.
Comment
:
3814
case XmlNodeType.
Comment
:
System.Configuration.ConfigurationManager (11)
System\Configuration\AppSettingsSection.cs (1)
123
if (t != XmlNodeType.
Comment
)
System\Configuration\BaseConfigurationRecord.cs (4)
1529
if (t != XmlNodeType.
Comment
)
2576
if (t == XmlNodeType.
Comment
) continue;
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)
85
case XmlNodeType.
Comment
:
235
if ((nodeType != XmlNodeType.
Comment
) && (nodeType != XmlNodeType.EndElement))
629
if (nodeType == XmlNodeType.
Comment
) utilWriter.AppendComment(Reader.Value);
1006
case XmlNodeType.
Comment
:
1036
case XmlNodeType.
Comment
:
System.Data.Common (2)
System\Xml\DataPointer.cs (1)
509
case XmlNodeType.
Comment
:
System\Xml\XmlDataDocument.cs (1)
1067
XmlNodeType.
Comment
=> CreateComment(dp.Value),
System.Private.DataContractSerialization (7)
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (1)
1031
case XmlNodeType.
Comment
:
System\Xml\XmlBaseReader.cs (3)
1359
while (_node.NodeType != XmlNodeType.
Comment
&& _node.Value.TryReadBase64(buffer, offset, count, out actual))
1969
case XmlNodeType.
Comment
:
2555
: base(XmlNodeType.
Comment
,
System\Xml\XmlDictionaryReader.cs (1)
417
case XmlNodeType.
Comment
:
System\Xml\XmlDictionaryWriter.cs (1)
422
case XmlNodeType.
Comment
:
System\Xml\XmlExceptionHelper.cs (1)
75
case XmlNodeType.
Comment
:
System.Private.Xml (83)
System\Xml\BinaryXml\XmlBinaryReader.cs (5)
478
case XmlNodeType.
Comment
:
999
if (this.NodeType == XmlNodeType.ProcessingInstruction || this.NodeType == XmlNodeType.
Comment
)
1001
while (Read() && (this.NodeType == XmlNodeType.ProcessingInstruction || this.NodeType == XmlNodeType.
Comment
))
1041
case XmlNodeType.
Comment
:
3158
_nodetype = XmlNodeType.
Comment
;
System\Xml\Core\ReadContentAsBinaryHelper.cs (1)
430
case XmlNodeType.
Comment
:
System\Xml\Core\ReadContentAsBinaryHelperAsync.cs (1)
352
case XmlNodeType.
Comment
:
System\Xml\Core\XmlCharCheckingReader.cs (2)
198
case XmlNodeType.
Comment
:
281
case XmlNodeType.
Comment
:
System\Xml\Core\XmlCharCheckingReaderAsync.cs (2)
60
case XmlNodeType.
Comment
:
143
case XmlNodeType.
Comment
:
System\Xml\Core\XmlReader.cs (6)
1173
case XmlNodeType.
Comment
:
1314
Debug.Assert(0 == (IsTextualNodeBitmap & (1 << (int)XmlNodeType.
Comment
)));
1341
Debug.Assert(0 != (CanReadContentAsBitmap & (1 << (int)XmlNodeType.
Comment
)));
1368
Debug.Assert(0 != (HasValueBitmap & (1 << (int)XmlNodeType.
Comment
)));
1491
case XmlNodeType.
Comment
:
1796
case XmlNodeType.
Comment
:
System\Xml\Core\XmlReaderAsync.cs (2)
247
case XmlNodeType.
Comment
:
347
case XmlNodeType.
Comment
:
System\Xml\Core\XmlTextReaderImpl.cs (9)
2498
ParseCDataOrComment(XmlNodeType.
Comment
);
2506
ParseCDataOrComment(XmlNodeType.
Comment
);
6453
ParseCDataOrComment(XmlNodeType.
Comment
);
6459
ParseCDataOrComment(XmlNodeType.
Comment
);
6509
Throw(SR.Xml_UnexpectedEOF, (type == XmlNodeType.
Comment
) ? "Comment" : "CDATA");
6518
char stopChar = (type == XmlNodeType.
Comment
) ? '-' : ']';
6553
else if (type == XmlNodeType.
Comment
)
8229
if (ParseCDataOrComment(XmlNodeType.
Comment
, out startPos, out pos))
8966
case XmlNodeType.
Comment
:
System\Xml\Core\XmlTextReaderImplAsync.cs (8)
770
await ParseCDataOrCommentAsync(XmlNodeType.
Comment
).ConfigureAwait(false);
778
await ParseCDataOrCommentAsync(XmlNodeType.
Comment
).ConfigureAwait(false);
4178
await ParseCDataOrCommentAsync(XmlNodeType.
Comment
).ConfigureAwait(false);
4184
await ParseCDataOrCommentAsync(XmlNodeType.
Comment
).ConfigureAwait(false);
4252
Throw(SR.Xml_UnexpectedEOF, (type == XmlNodeType.
Comment
) ? "Comment" : "CDATA");
4260
char stopChar = (type == XmlNodeType.
Comment
) ? '-' : ']';
4296
else if (type == XmlNodeType.
Comment
)
5342
case XmlNodeType.
Comment
:
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
977
type != XmlNodeType.
Comment
&& type != XmlNodeType.ProcessingInstruction)
System\Xml\Core\XmlWriter.cs (1)
411
case XmlNodeType.
Comment
:
System\Xml\Core\XmlWriterAsync.cs (2)
345
case XmlNodeType.
Comment
:
408
case XmlNodeType.
Comment
:
System\Xml\Core\XsdCachingReader.cs (1)
424
case XmlNodeType.
Comment
:
System\Xml\Core\XsdCachingReaderAsync.cs (1)
56
case XmlNodeType.
Comment
:
System\Xml\Core\XsdValidatingReader.cs (3)
2543
case XmlNodeType.
Comment
:
2611
case XmlNodeType.
Comment
:
2672
case XmlNodeType.
Comment
:
System\Xml\Core\XsdValidatingReaderAsync.cs (1)
881
case XmlNodeType.
Comment
:
System\Xml\Dom\DocumentSchemaValidator.cs (2)
311
case XmlNodeType.
Comment
:
748
case XmlNodeType.
Comment
:
System\Xml\Dom\DocumentXPathNavigator.cs (5)
76
case XmlNodeType.
Comment
:
1685
case XmlNodeType.
Comment
:
1747
case XmlNodeType.
Comment
:
2112
case XmlNodeType.
Comment
:
2123
case XmlNodeType.
Comment
:
System\Xml\Dom\XmlComment.cs (1)
31
get { return XmlNodeType.
Comment
; }
System\Xml\Dom\XmlDocument.cs (6)
467
case XmlNodeType.
Comment
:
539
case XmlNodeType.
Comment
:
578
case XmlNodeType.
Comment
:
985
case XmlNodeType.
Comment
:
1142
case XmlNodeType.
Comment
:
1230
return XmlNodeType.
Comment
;
System\Xml\Dom\XmlDocumentFragment.cs (1)
135
case XmlNodeType.
Comment
:
System\Xml\Dom\XmlElement.cs (1)
224
case XmlNodeType.
Comment
:
System\Xml\Dom\XmlEntity.cs (1)
95
type == XmlNodeType.
Comment
||
System\Xml\Dom\XmlEntityReference.cs (1)
139
case XmlNodeType.
Comment
:
System\Xml\Dom\XmlLoader.cs (2)
213
case XmlNodeType.
Comment
:
541
case XmlNodeType.
Comment
:
System\Xml\Dom\XmlNode.cs (1)
1475
case XmlNodeType.
Comment
:
System\Xml\Dom\XmlNodeReader.cs (1)
177
case XmlNodeType.
Comment
:
System\Xml\Schema\DtdValidator.cs (1)
77
case XmlNodeType.
Comment
:
System\Xml\Schema\Inference\Infer.cs (1)
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)
304
case XmlNodeType.
Comment
:
System\Xml\Serialization\XmlSerializationReader.cs (1)
1278
XmlNodeType.
Comment
=> "<--",
System\Xml\XPath\XPathDocument.cs (1)
261
case XmlNodeType.
Comment
:
System\Xml\XPath\XPathNavigator.cs (1)
2096
case XmlNodeType.
Comment
:
System\Xml\XPath\XPathNavigatorReader.cs (1)
56
XmlNodeType.
Comment
, // XPathNodeType.Comment
System\Xml\Xsl\Xslt\XsltInput.cs (1)
1045
XmlNodeType.
Comment
=> 4, // "<!--"
System\Xml\Xsl\XsltOld\NavigatorOutput.cs (1)
74
case XmlNodeType.
Comment
:
System\Xml\Xsl\XsltOld\RecordBuilder.cs (3)
392
_currentInfo!.NodeType = XmlNodeType.
Comment
;
614
Debug.Assert(_mainNode.NodeType == XmlNodeType.
Comment
);
727
case XmlNodeType.
Comment
:
System\Xml\Xsl\XsltOld\SequentialOutput.cs (2)
446
case XmlNodeType.
Comment
:
495
case XmlNodeType.
Comment
:
System\Xml\Xsl\XsltOld\WriterOutput.cs (1)
55
case XmlNodeType.
Comment
:
System.Private.Xml.Linq (14)
System\Xml\Linq\XComment.cs (1)
63
return XmlNodeType.
Comment
;
System\Xml\Linq\XContainer.cs (4)
934
case XmlNodeType.
Comment
:
990
case XmlNodeType.
Comment
:
1088
case XmlNodeType.
Comment
:
1204
case XmlNodeType.
Comment
:
System\Xml\Linq\XNode.cs (2)
439
case XmlNodeType.
Comment
:
489
case XmlNodeType.
Comment
:
System\Xml\Linq\XNodeReader.cs (2)
168
case XmlNodeType.
Comment
:
374
case XmlNodeType.
Comment
:
System\Xml\XPath\XNodeNavigator.cs (5)
18
(1 << (int)XmlNodeType.
Comment
);
30
(1 << (int)XmlNodeType.
Comment
), // Comment
35
(1 << (int)XmlNodeType.
Comment
) // All
213
case XmlNodeType.
Comment
:
284
case XmlNodeType.
Comment
:
System.ServiceModel.Syndication (1)
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (1)
611
case XmlNodeType.
Comment
: