145 references to CDATA
Microsoft.Build (1)
Utilities\Utilities.cs (1)
199
if (node.ChildNodes.Count == 1 && (node.FirstChild.NodeType == XmlNodeType.Text || node.FirstChild.NodeType == XmlNodeType.
CDATA
))
Microsoft.Build.Tasks.Core (2)
CodeTaskFactory.cs (1)
512
bool hasInvalidChildNodes = HasInvalidChildNodes(codeNodes[0], [XmlNodeType.Comment, XmlNodeType.Whitespace, XmlNodeType.Text, XmlNodeType.
CDATA
]);
ManifestUtil\ManifestFormatter.cs (1)
87
case XmlNodeType.
CDATA
:
Microsoft.CodeAnalysis.Features (1)
DocumentationComments\AbstractDocumentationCommentFormattingService.cs (1)
312
if (node.NodeType is XmlNodeType.Text or XmlNodeType.
CDATA
)
Microsoft.Extensions.Configuration.Xml (1)
XmlStreamConfigurationProvider.cs (1)
145
case XmlNodeType.
CDATA
:
Microsoft.Maui.Controls.Xaml (2)
XamlParser.cs (2)
123
case XmlNodeType.
CDATA
:
180
case XmlNodeType.
CDATA
:
Microsoft.Maui.Graphics (1)
Text\XmlAttributedTextReader.cs (1)
42
case XmlNodeType.
CDATA
:
PresentationBuildTasks (8)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (2)
849
case XmlNodeType.
CDATA
:
866
ThrowCompilerException(nameof(SR.IllegalCDataTextScoping), DefinitionNSPrefix, LocalName, (currNodeType == XmlNodeType.
CDATA
? "a CDATA section" : "text content"));
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (6)
1245
case XmlNodeType.
CDATA
:
2089
case XmlNodeType.
CDATA
:
2149
case XmlNodeType.
CDATA
:
3794
case XmlNodeType.
CDATA
:
5058
xmlNodeType == XmlNodeType.
CDATA
||
5072
case XmlNodeType.
CDATA
:
PresentationCore (1)
MS\Internal\FontFace\CompositeFontParser.cs (1)
291
case XmlNodeType.
CDATA
:
PresentationFramework (1)
MS\Internal\IO\Packaging\XamlFilter.cs (1)
399
case XmlNodeType.
CDATA
:
System.Configuration.ConfigurationManager (4)
System\Configuration\ConfigurationElement.cs (1)
1555
if ((reader.NodeType == XmlNodeType.
CDATA
) || (reader.NodeType == XmlNodeType.Text))
System\Configuration\XmlUtil.cs (3)
709
if (nodeType == XmlNodeType.
CDATA
)
1003
case XmlNodeType.
CDATA
:
1030
case XmlNodeType.
CDATA
:
System.Data.Common (9)
System\Data\XmlDataLoader.cs (4)
271
case XmlNodeType.
CDATA
:
800
case XmlNodeType.
CDATA
: // if we have XmlText in our table
1035
case XmlNodeType.
CDATA
: // if we have XmlText in our table
1247
case XmlNodeType.
CDATA
:
System\Xml\DataPointer.cs (1)
508
case XmlNodeType.
CDATA
:
System\Xml\XmlDataDocument.cs (3)
1065
XmlNodeType.
CDATA
=> CreateCDataSection(dp.Value),
1089
case XmlNodeType.
CDATA
:
1108
case XmlNodeType.
CDATA
:
System\Xml\XPathNodePointer.cs (1)
64
case XmlNodeType.
CDATA
:
System.Private.DataContractSerialization (7)
System\Xml\XmlBaseReader.cs (3)
826
if (_node.NodeType != XmlNodeType.Text && _node.NodeType != XmlNodeType.
CDATA
)
1963
case XmlNodeType.
CDATA
:
2495
: base(XmlNodeType.
CDATA
,
System\Xml\XmlDictionaryReader.cs (2)
401
case XmlNodeType.
CDATA
:
551
nodeType == XmlNodeType.
CDATA
||
System\Xml\XmlDictionaryWriter.cs (1)
409
case XmlNodeType.
CDATA
:
System\Xml\XmlExceptionHelper.cs (1)
77
case XmlNodeType.
CDATA
:
System.Private.Xml (90)
System\Xml\BinaryXml\XmlBinaryReader.cs (3)
481
case XmlNodeType.
CDATA
:
2805
case XmlNodeType.
CDATA
:
3166
_nodetype = XmlNodeType.
CDATA
;
System\Xml\Core\ReadContentAsBinaryHelper.cs (1)
423
case XmlNodeType.
CDATA
:
System\Xml\Core\ReadContentAsBinaryHelperAsync.cs (1)
345
case XmlNodeType.
CDATA
:
System\Xml\Core\XmlCharCheckingReader.cs (1)
254
case XmlNodeType.
CDATA
:
System\Xml\Core\XmlCharCheckingReaderAsync.cs (1)
116
case XmlNodeType.
CDATA
:
System\Xml\Core\XmlReader.cs (7)
735
case XmlNodeType.
CDATA
:
1160
case XmlNodeType.
CDATA
:
1310
Debug.Assert(0 != (IsTextualNodeBitmap & (1 << (int)XmlNodeType.
CDATA
)));
1337
Debug.Assert(0 != (CanReadContentAsBitmap & (1 << (int)XmlNodeType.
CDATA
)));
1364
Debug.Assert(0 != (HasValueBitmap & (1 << (int)XmlNodeType.
CDATA
)));
1478
case XmlNodeType.
CDATA
:
1798
case XmlNodeType.
CDATA
:
System\Xml\Core\XmlReaderAsync.cs (3)
168
case XmlNodeType.
CDATA
:
234
case XmlNodeType.
CDATA
:
334
case XmlNodeType.
CDATA
:
System\Xml\Core\XmlTextReaderImpl.cs (3)
6466
ParseCDataOrComment(XmlNodeType.
CDATA
);
8237
if (ParseCDataOrComment(XmlNodeType.
CDATA
, out startPos, out pos))
8959
case XmlNodeType.
CDATA
:
System\Xml\Core\XmlTextReaderImplAsync.cs (2)
4191
return ParseCDataOrCommentAsync(XmlNodeType.
CDATA
);
5335
case XmlNodeType.
CDATA
:
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
975
if (type != XmlNodeType.
CDATA
&& type != XmlNodeType.Text &&
System\Xml\Core\XmlWriter.cs (1)
397
case XmlNodeType.
CDATA
:
System\Xml\Core\XmlWriterAsync.cs (2)
331
case XmlNodeType.
CDATA
:
394
case XmlNodeType.
CDATA
:
System\Xml\Core\XsdCachingReader.cs (1)
427
case XmlNodeType.
CDATA
:
System\Xml\Core\XsdCachingReaderAsync.cs (1)
59
case XmlNodeType.
CDATA
:
System\Xml\Core\XsdValidatingReader.cs (4)
2018
case XmlNodeType.
CDATA
: // <![CDATA[...]]>
2534
case XmlNodeType.
CDATA
:
2602
case XmlNodeType.
CDATA
:
2663
case XmlNodeType.
CDATA
:
System\Xml\Core\XsdValidatingReaderAsync.cs (2)
512
case XmlNodeType.
CDATA
: // <![CDATA[...]]>
872
case XmlNodeType.
CDATA
:
System\Xml\Dom\DocumentSchemaValidator.cs (2)
302
case XmlNodeType.
CDATA
:
739
case XmlNodeType.
CDATA
:
System\Xml\Dom\DocumentXPathNavigator.cs (10)
58
case XmlNodeType.
CDATA
:
174
case XmlNodeType.
CDATA
:
1072
case XmlNodeType.
CDATA
:
1545
case XmlNodeType.
CDATA
:
1568
case XmlNodeType.
CDATA
:
1618
case XmlNodeType.
CDATA
:
1678
case XmlNodeType.
CDATA
:
1737
case XmlNodeType.
CDATA
:
2044
case XmlNodeType.
CDATA
:
2110
case XmlNodeType.
CDATA
:
System\Xml\Dom\XmlCDataSection.cs (2)
40
return XmlNodeType.
CDATA
;
53
case XmlNodeType.
CDATA
:
System\Xml\Dom\XmlCharacterData.cs (1)
212
case XmlNodeType.
CDATA
:
System\Xml\Dom\XmlDocument.cs (5)
774
case XmlNodeType.
CDATA
:
835
case XmlNodeType.
CDATA
:
995
case XmlNodeType.
CDATA
:
1130
case XmlNodeType.
CDATA
:
1214
return XmlNodeType.
CDATA
;
System\Xml\Dom\XmlDocumentFragment.cs (1)
139
case XmlNodeType.
CDATA
:
System\Xml\Dom\XmlElement.cs (1)
228
case XmlNodeType.
CDATA
:
System\Xml\Dom\XmlEntity.cs (1)
96
type == XmlNodeType.
CDATA
||
System\Xml\Dom\XmlEntityReference.cs (1)
143
case XmlNodeType.
CDATA
:
System\Xml\Dom\XmlLoader.cs (2)
200
case XmlNodeType.
CDATA
:
533
case XmlNodeType.
CDATA
:
System\Xml\Dom\XmlNode.cs (3)
906
if (child.NodeType == XmlNodeType.Text || child.NodeType == XmlNodeType.
CDATA
934
case XmlNodeType.
CDATA
:
1474
case XmlNodeType.
CDATA
:
System\Xml\Dom\XmlNodeReader.cs (1)
176
case XmlNodeType.
CDATA
:
System\Xml\Dom\XmlSignificantWhiteSpace.cs (1)
54
case XmlNodeType.
CDATA
:
System\Xml\Dom\XmlText.cs (1)
57
case XmlNodeType.
CDATA
:
System\Xml\Dom\XmlWhitespace.cs (1)
55
case XmlNodeType.
CDATA
:
System\Xml\Schema\DtdValidator.cs (1)
82
case XmlNodeType.
CDATA
: // <![CDATA[...]]>
System\Xml\Schema\Inference\Infer.cs (4)
701
} while ((!_xtr.EOF) && (_xtr.NodeType != XmlNodeType.EndElement) && (_xtr.NodeType != XmlNodeType.
CDATA
) && (_xtr.NodeType != XmlNodeType.Element) && (_xtr.NodeType != XmlNodeType.Text));
772
if ((_xtr.NodeType == XmlNodeType.Text) || (_xtr.NodeType == XmlNodeType.
CDATA
)) //node can be simple type, complex with simple content or complex with mixed content
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)));
964
} while ((!_xtr.EOF) && (_xtr.NodeType != XmlNodeType.EndElement) && (_xtr.NodeType != XmlNodeType.
CDATA
) && (_xtr.NodeType != XmlNodeType.Element) && (_xtr.NodeType != XmlNodeType.Text));
System\Xml\Schema\Parser.cs (2)
231
_reader.NodeType == XmlNodeType.
CDATA
)
296
case XmlNodeType.
CDATA
:
System\Xml\Schema\XdrValidator.cs (1)
80
case XmlNodeType.
CDATA
: // <![CDATA[...]]>
System\Xml\Schema\XsdValidator.cs (1)
117
case XmlNodeType.
CDATA
: // <![CDATA[...]]>
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (1)
679
Reader.NodeType == XmlNodeType.
CDATA
||
System\Xml\Serialization\XmlSerializationReader.cs (1)
1277
XmlNodeType.
CDATA
=> "CDATA",
System\Xml\Serialization\XmlSerializationReaderILGen.cs (1)
2286
ilg.Ldc(XmlNodeType.
CDATA
);
System\Xml\XPath\XPathDocument.cs (1)
237
case XmlNodeType.
CDATA
:
System\Xml\XPath\XPathNavigator.cs (1)
2089
case XmlNodeType.
CDATA
:
System\Xml\Xsl\Runtime\WhitespaceRuleReader.cs (1)
100
case XmlNodeType.
CDATA
:
System\Xml\Xsl\Xslt\XsltInput.cs (5)
203
_reader.NodeType == XmlNodeType.Text || _reader.NodeType == XmlNodeType.
CDATA
213
bool isCDATA = (_reader.NodeType == XmlNodeType.
CDATA
);
388
case XmlNodeType.
CDATA
:
455
case XmlNodeType.
CDATA
:
1043
XmlNodeType.
CDATA
=> 9, // "<![CDATA["
System\Xml\Xsl\XsltOld\SequentialOutput.cs (2)
435
case XmlNodeType.
CDATA
:
484
case XmlNodeType.
CDATA
:
System\Xml\Xsl\XsltOld\WriterOutput.cs (1)
45
case XmlNodeType.
CDATA
:
System.Private.Xml.Linq (15)
System\Xml\Linq\XCData.cs (1)
38
return XmlNodeType.
CDATA
;
System\Xml\Linq\XContainer.cs (4)
931
case XmlNodeType.
CDATA
:
987
case XmlNodeType.
CDATA
:
1085
case XmlNodeType.
CDATA
:
1201
case XmlNodeType.
CDATA
:
System\Xml\Linq\XDocument.cs (2)
909
case XmlNodeType.
CDATA
:
910
throw new ArgumentException(SR.Format(SR.Argument_AddNode, XmlNodeType.
CDATA
));
System\Xml\Linq\XNode.cs (2)
437
case XmlNodeType.
CDATA
:
486
case XmlNodeType.
CDATA
:
System\Xml\Linq\XNodeReader.cs (2)
167
case XmlNodeType.
CDATA
:
372
case XmlNodeType.
CDATA
:
System\Xml\XPath\XNodeNavigator.cs (4)
25
(1 << (int)XmlNodeType.
CDATA
) |
32
(1 << (int)XmlNodeType.
CDATA
) |
38
(1 << (int)XmlNodeType.
CDATA
) |
282
case XmlNodeType.
CDATA
:
System.ServiceModel.Syndication (1)
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (1)
613
case XmlNodeType.
CDATA
:
System.Xaml (1)
System\Xaml\Parser\XamlScanner.cs (1)
189
case XmlNodeType.
CDATA
: