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