247 references to Text
Microsoft.Build (6)
Construction\ProjectElement.cs (2)
369if (XmlElement.ChildNodes.Count == 1 && XmlElement.FirstChild.NodeType == XmlNodeType.Text) 407if (element.XmlElement.ChildNodes.Count == 1 && element.XmlElement.FirstChild.NodeType == XmlNodeType.Text)
Evaluation\ProjectParser.cs (1)
632if (childElement.ChildNodes.Count == 1 && childElement.FirstChild.NodeType == XmlNodeType.Text)
ObjectModelRemoting\ConstructionObjectLinks\ProjectElementLink.cs (1)
138if (xml.XmlElement.ChildNodes.Count == 1 && xml.XmlElement.FirstChild.NodeType == XmlNodeType.Text)
Utilities\Utilities.cs (1)
199if (node.ChildNodes.Count == 1 && (node.FirstChild.NodeType == XmlNodeType.Text || node.FirstChild.NodeType == XmlNodeType.CDATA))
Xml\ProjectXmlUtilities.XmlElementChildIterator.cs (1)
91if (child.NodeType == XmlNodeType.Text && String.IsNullOrWhiteSpace(child.InnerText))
Microsoft.Build.Tasks.Core (3)
CodeTaskFactory.cs (2)
512bool hasInvalidChildNodes = HasInvalidChildNodes(codeNodes[0], [XmlNodeType.Comment, XmlNodeType.Whitespace, XmlNodeType.Text, XmlNodeType.CDATA]); 536case XmlNodeType.Text:
ManifestUtil\ManifestFormatter.cs (1)
91case XmlNodeType.Text:
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)
146case XmlNodeType.Text:
Microsoft.Extensions.FileProviders.Embedded (1)
Manifest\ManifestParser.cs (1)
142element.FirstNode?.NodeType == XmlNodeType.Text)
Microsoft.Maui.Controls.Xaml (2)
XamlParser.cs (2)
122 case XmlNodeType.Text: 179 case XmlNodeType.Text:
Microsoft.Maui.Graphics (1)
Text\XmlAttributedTextReader.cs (1)
45 case XmlNodeType.Text:
PresentationBuildTasks (7)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (1)
850case XmlNodeType.Text:
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (6)
1244case XmlNodeType.Text: 2088case XmlNodeType.Text: 2148case XmlNodeType.Text: 3795case XmlNodeType.Text: 5055Debug.Assert( xmlNodeType == XmlNodeType.Text || 5063case XmlNodeType.Text:
PresentationFramework (2)
MS\Internal\Globalization\BamlTreeUpdater.cs (1)
478if (node.NodeType == XmlNodeType.Text)
MS\Internal\IO\Packaging\XamlFilter.cs (1)
397case XmlNodeType.Text:
PresentationFramework-SystemXml (1)
SystemXmlExtension.cs (1)
153if (node.ChildNodes[i].NodeType == XmlNodeType.Text)
ReachFramework (3)
Packaging\XPSSignatureDefinition.cs (1)
577case XmlNodeType.Text:
PrintConfig\PrtTicket_Base.cs (2)
824(valueNode.FirstChild.NodeType != XmlNodeType.Text)) 1296(valueNode.FirstChild.NodeType != XmlNodeType.Text))
System.Configuration.ConfigurationManager (4)
System\Configuration\ConfigurationElement.cs (1)
1555if ((reader.NodeType == XmlNodeType.CDATA) || (reader.NodeType == XmlNodeType.Text))
System\Configuration\XmlUtil.cs (2)
632if (nodeType == XmlNodeType.Text) utilWriter.AppendEscapeTextString(Reader.Value); 1039case XmlNodeType.Text:
System\Configuration\XmlUtilWriter.cs (1)
226if (reader.NodeType == XmlNodeType.Text)
System.Data.Common (15)
System\Data\XmlDataLoader.cs (4)
268case XmlNodeType.Text: 798case XmlNodeType.Text: // It looks like a text. 1033case XmlNodeType.Text: // It looks like a text. 1245case XmlNodeType.Text: // It looks like a text. And we need it.
System\Data\XMLDiffLoader.cs (1)
435if (row.NodeType == XmlNodeType.Text || row.NodeType == XmlNodeType.Whitespace || row.NodeType == XmlNodeType.SignificantWhitespace)
System\Xml\DataPointer.cs (2)
388return XmlNodeType.Text; 507case XmlNodeType.Text:
System\Xml\DataSetMappper.cs (2)
279if (fc == null || fc.NodeType != XmlNodeType.Text || fc.NextSibling != null) 324if (fc == null || fc.NodeType != XmlNodeType.Text || fc.NextSibling != null)
System\Xml\XmlBoundElement.cs (1)
375case XmlNodeType.Text:
System\Xml\XmlDataDocument.cs (4)
1064XmlNodeType.Text => CreateTextNode(dp.Value), 1088case XmlNodeType.Text: 1107case XmlNodeType.Text: 2335if (n.NodeType == XmlNodeType.Text)
System\Xml\XPathNodePointer.cs (1)
63case XmlNodeType.Text:
System.IO.Packaging (1)
System\IO\Packaging\PartBasedPackageProperties.cs (1)
646if (reader.NodeType != XmlNodeType.Text)
System.Private.DataContractSerialization (13)
System\Runtime\Serialization\ExtensionDataReader.cs (1)
304_nodeType = XmlNodeType.Text;
System\Runtime\Serialization\Json\XmlJsonReader.cs (1)
336(this.Node.NodeType == XmlNodeType.Text));
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (2)
726case XmlNodeType.Text: 910if (nodeType != XmlNodeType.Text)
System\Xml\XmlBaseReader.cs (5)
826if (_node.NodeType != XmlNodeType.Text && _node.NodeType != XmlNodeType.CDATA) 1960case XmlNodeType.Text: 2450: base(XmlNodeType.Text, 2465: base(XmlNodeType.Text, 2510: base(XmlNodeType.Text,
System\Xml\XmlDictionaryReader.cs (2)
398case XmlNodeType.Text: 548return nodeType == XmlNodeType.Text ||
System\Xml\XmlDictionaryWriter.cs (1)
392if (nodeType == XmlNodeType.Text || nodeType == XmlNodeType.Whitespace || nodeType == XmlNodeType.SignificantWhitespace)
System\Xml\XmlExceptionHelper.cs (1)
71case XmlNodeType.Text:
System.Private.Xml (165)
System\Xml\BinaryXml\XmlBinaryReader.cs (7)
487case XmlNodeType.Text: 859_nodetype = XmlNodeType.Text; 2935if (XmlNodeType.Text == _nodetype) 3359return XmlNodeType.Text; 3483return XmlNodeType.Text; 3515return XmlNodeType.Text; 3566return XmlNodeType.Text;
System\Xml\Core\ReadContentAsBinaryHelper.cs (1)
420case XmlNodeType.Text:
System\Xml\Core\ReadContentAsBinaryHelperAsync.cs (1)
342case XmlNodeType.Text:
System\Xml\Core\XmlCharCheckingReader.cs (1)
253case XmlNodeType.Text:
System\Xml\Core\XmlCharCheckingReaderAsync.cs (1)
115case XmlNodeType.Text:
System\Xml\Core\XmlReader.cs (7)
736case XmlNodeType.Text: 1153case XmlNodeType.Text: 1309Debug.Assert(0 != (IsTextualNodeBitmap & (1 << (int)XmlNodeType.Text))); 1336Debug.Assert(0 != (CanReadContentAsBitmap & (1 << (int)XmlNodeType.Text))); 1363Debug.Assert(0 != (HasValueBitmap & (1 << (int)XmlNodeType.Text))); 1475case XmlNodeType.Text: 1793case XmlNodeType.Text:
System\Xml\Core\XmlReaderAsync.cs (3)
169case XmlNodeType.Text: 227case XmlNodeType.Text: 331case XmlNodeType.Text:
System\Xml\Core\XmlSubtreeReader.cs (7)
170if (_curNode.type == XmlNodeType.Text) 451else if (_curNode.type == XmlNodeType.Text) 458_tmpNode.type = XmlNodeType.Text; 873goto case XmlNodeType.Text; 874case XmlNodeType.Text: 1011goto case XmlNodeType.Text; 1012case XmlNodeType.Text:
System\Xml\Core\XmlSubtreeReaderAsync.cs (4)
279goto case XmlNodeType.Text; 280case XmlNodeType.Text: 417goto case XmlNodeType.Text; 418case XmlNodeType.Text:
System\Xml\Core\XmlTextReaderImpl.cs (12)
1292_curNode.SetValueNode(XmlNodeType.Text, string.Empty); 1444simpleValueNode.SetValueNode(XmlNodeType.Text, _curNode.StringValue); 4067if (_fragmentType == XmlNodeType.None && _curNode.type == XmlNodeType.Text) 5206textChunk.SetValueNode(XmlNodeType.Text, _stringBuilder.ToString(valueChunkStartPos, valueChunkLen)); 5250textChunk.SetValueNode(XmlNodeType.Text, _stringBuilder.ToString(valueChunkStartPos, valueChunkLen)); 5358textChunk.SetValueNode(XmlNodeType.Text, _stringBuilder.ToString(valueChunkStartPos, valueChunkLen)); 5465_curNode.SetValueNode(XmlNodeType.Text, _ps.chars, startPos, endPos - startPos); 5486XmlNodeType nodeType = (_stringBuilder.Length < MinWhitespaceLookahedCount) ? GetTextNodeType(orChars) : XmlNodeType.Text; 7878return XmlNodeType.Text; 8574_curNode.SetValueNode(XmlNodeType.Text, string.Empty); 8719_curNode.SetValueNode(XmlNodeType.Text, _stringBuilder.ToString()); 8956case XmlNodeType.Text:
System\Xml\Core\XmlTextReaderImplAsync.cs (9)
225_curNode.SetValueNode(XmlNodeType.Text, string.Empty); 1659if (_fragmentType == XmlNodeType.None && _curNode.type == XmlNodeType.Text) 1680if (_fragmentType == XmlNodeType.None && _curNode.type == XmlNodeType.Text) 2722textChunk.SetValueNode(XmlNodeType.Text, _stringBuilder.ToString(valueChunkStartPos, valueChunkLen)); 2766textChunk.SetValueNode(XmlNodeType.Text, _stringBuilder.ToString(valueChunkStartPos, valueChunkLen)); 2875textChunk.SetValueNode(XmlNodeType.Text, _stringBuilder.ToString(valueChunkStartPos, valueChunkLen)); 3040_curNode.SetValueNode(XmlNodeType.Text, _ps.chars, startPos, endPos - startPos); 3067XmlNodeType nodeType = (_stringBuilder.Length < MinWhitespaceLookahedCount) ? GetTextNodeType(orChars) : XmlNodeType.Text; 5332case XmlNodeType.Text:
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
975if (type != XmlNodeType.CDATA && type != XmlNodeType.Text &&
System\Xml\Core\XmlWriter.cs (1)
376case XmlNodeType.Text:
System\Xml\Core\XmlWriterAsync.cs (2)
312case XmlNodeType.Text: 374case XmlNodeType.Text:
System\Xml\Core\XsdCachingReader.cs (3)
426case XmlNodeType.Text: 474ValidatingReaderNodeData textNode = AddContent(XmlNodeType.Text); 752_textNode ??= new ValidatingReaderNodeData(XmlNodeType.Text);
System\Xml\Core\XsdCachingReaderAsync.cs (1)
58case XmlNodeType.Text:
System\Xml\Core\XsdValidatingReader.cs (5)
2017case XmlNodeType.Text: // text inside a node 2533case XmlNodeType.Text: 2601case XmlNodeType.Text: 2662case XmlNodeType.Text: 2764_textNode ??= new ValidatingReaderNodeData(XmlNodeType.Text);
System\Xml\Core\XsdValidatingReaderAsync.cs (2)
511case XmlNodeType.Text: // text inside a node 871case XmlNodeType.Text:
System\Xml\Dom\DocumentSchemaValidator.cs (2)
298case XmlNodeType.Text: 738case XmlNodeType.Text:
System\Xml\Dom\DocumentXPathNavigator.cs (10)
57case XmlNodeType.Text: 173case XmlNodeType.Text: 1071case XmlNodeType.Text: 1544case XmlNodeType.Text: 1567case XmlNodeType.Text: 1617case XmlNodeType.Text: 1677case XmlNodeType.Text: 1736case XmlNodeType.Text: 2043case XmlNodeType.Text: 2109case XmlNodeType.Text:
System\Xml\Dom\XmlAttribute.cs (1)
214return (type == XmlNodeType.Text) || (type == XmlNodeType.EntityReference);
System\Xml\Dom\XmlCDataSection.cs (1)
52case XmlNodeType.Text:
System\Xml\Dom\XmlCharacterData.cs (1)
211case XmlNodeType.Text:
System\Xml\Dom\XmlDocument.cs (5)
773case XmlNodeType.Text: 834case XmlNodeType.Text: 982case XmlNodeType.Text: 1127case XmlNodeType.Text: 1210return XmlNodeType.Text;
System\Xml\Dom\XmlDocumentFragment.cs (1)
133case XmlNodeType.Text:
System\Xml\Dom\XmlElement.cs (2)
222case XmlNodeType.Text: 601linkedNode.NodeType == XmlNodeType.Text && //which is text node
System\Xml\Dom\XmlEntity.cs (1)
92return (type == XmlNodeType.Text ||
System\Xml\Dom\XmlEntityReference.cs (1)
137case XmlNodeType.Text:
System\Xml\Dom\XmlLoader.cs (4)
177case XmlNodeType.Text: 271case XmlNodeType.Text: 328case XmlNodeType.Text: 529case XmlNodeType.Text:
System\Xml\Dom\XmlNode.cs (9)
742case XmlNodeType.Text: 791Debug.Assert(firstNode.NodeType == XmlNodeType.Text 794|| secondNode.NodeType == XmlNodeType.Text 797if (firstNode.NodeType == XmlNodeType.Text) 799if (secondNode.NodeType == XmlNodeType.Text) 906if (child.NodeType == XmlNodeType.Text || child.NodeType == XmlNodeType.CDATA 933case XmlNodeType.Text: 951&& firstChild.NodeType == XmlNodeType.Text)//which is a text node 1473case XmlNodeType.Text:
System\Xml\Dom\XmlNodeReader.cs (3)
112return XmlNodeType.Text; 175case XmlNodeType.Text: 1058nt = XmlNodeType.Text;
System\Xml\Dom\XmlSignificantWhiteSpace.cs (1)
53case XmlNodeType.Text:
System\Xml\Dom\XmlText.cs (2)
44return XmlNodeType.Text; 56case XmlNodeType.Text:
System\Xml\Dom\XmlWhitespace.cs (1)
54case XmlNodeType.Text:
System\Xml\Schema\DtdValidator.cs (1)
81case XmlNodeType.Text: // text inside a node
System\Xml\Schema\Inference\Infer.cs (9)
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))); 791if ((_xtr.NodeType == XmlNodeType.Text) && (iChildNumber == 1)) 822if (_xtr.NodeType == XmlNodeType.Text) 853if (_xtr.NodeType == XmlNodeType.Text) 863else if (_xtr.NodeType == XmlNodeType.Text) 944else if (_xtr.NodeType == XmlNodeType.Text) 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 (4)
222else if (_reader.NodeType == XmlNodeType.Text) 288case XmlNodeType.Text: 428case XmlNodeType.Text: 457case XmlNodeType.Text:
System\Xml\Schema\XdrValidator.cs (1)
79case XmlNodeType.Text: // text inside a node
System\Xml\Schema\XsdValidator.cs (1)
116case XmlNodeType.Text: // text inside a node
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (1)
678if ((Reader.NodeType == XmlNodeType.Text ||
System\Xml\Serialization\XmlSerializationReader.cs (1)
1276XmlNodeType.Text => _r.Value,
System\Xml\Serialization\XmlSerializationReaderILGen.cs (1)
2280ilg.Ldc(XmlNodeType.Text);
System\Xml\XPath\XPathDocument.cs (1)
236case XmlNodeType.Text:
System\Xml\XPath\XPathNavigator.cs (1)
2088case XmlNodeType.Text:
System\Xml\XPath\XPathNavigatorReader.cs (6)
52XmlNodeType.Text, // XPathNodeType.Text 182if (_nodeType == XmlNodeType.Text) 206if (this.NodeType == XmlNodeType.Text) 220if (this.NodeType == XmlNodeType.Text) 234if (this.NodeType == XmlNodeType.Text) 833_nodeType = XmlNodeType.Text;
System\Xml\Xsl\Runtime\WhitespaceRuleReader.cs (1)
99case XmlNodeType.Text:
System\Xml\Xsl\Xslt\XsltInput.cs (7)
203_reader.NodeType == XmlNodeType.Text || _reader.NodeType == XmlNodeType.CDATA 258Debug.Assert(_reader.NodeType == XmlNodeType.Text || _reader.NodeType == XmlNodeType.Whitespace || _reader.NodeType == XmlNodeType.SignificantWhitespace); 323Debug.Assert(_reader.NodeType == XmlNodeType.Text, "Unexpected node type inside attribute value"); 386case XmlNodeType.Text: 428!textIsWhite ? XmlNodeType.Text : 441Debug.Assert(_nodeType == XmlNodeType.Text || _nodeType == XmlNodeType.Whitespace || _nodeType == XmlNodeType.SignificantWhitespace); 454case XmlNodeType.Text:
System\Xml\Xsl\Xslt\XsltLoader.cs (6)
468Debug.Assert(_input.NodeType == XmlNodeType.Text); 1112Debug.Assert(_input.NodeType == XmlNodeType.Text); 1455Debug.Assert(_input.NodeType == XmlNodeType.Text); 1503Debug.Assert(_input.NodeType == XmlNodeType.Text); 1716Debug.Assert(_input.NodeType == XmlNodeType.Text); 2027case XmlNodeType.Text:
System\Xml\Xsl\XsltOld\BuilderInfo.cs (1)
85Debug.Assert(info.NodeType != XmlNodeType.Text || XmlCharType.IsOnlyWhitespace(info.Value));
System\Xml\Xsl\XsltOld\NavigatorOutput.cs (1)
62case XmlNodeType.Text:
System\Xml\Xsl\XsltOld\ReaderOutput.cs (3)
338case XmlNodeType.Text: 410case XmlNodeType.Text: 554_attributeValue.NodeType = XmlNodeType.Text;
System\Xml\Xsl\XsltOld\RecordBuilder.cs (1)
195_currentInfo.NodeType = XmlNodeType.Text;
System\Xml\Xsl\XsltOld\SequentialOutput.cs (3)
372case XmlNodeType.Text: 430case XmlNodeType.Text: 479case XmlNodeType.Text:
System\Xml\Xsl\XsltOld\TextOnlyOutput.cs (1)
53case XmlNodeType.Text:
System\Xml\Xsl\XsltOld\WriterOutput.cs (1)
40case XmlNodeType.Text:
System.Private.Xml.Linq (19)
System\Xml\Linq\XContainer.cs (6)
668if (n.NodeType != XmlNodeType.Text) return null; 678while (n != null && n.NodeType == XmlNodeType.Text) 926case XmlNodeType.Text: 982case XmlNodeType.Text: 1072case XmlNodeType.Text: 1188case XmlNodeType.Text:
System\Xml\Linq\XDocument.cs (1)
900case XmlNodeType.Text:
System\Xml\Linq\XNode.cs (2)
433case XmlNodeType.Text: 481case XmlNodeType.Text:
System\Xml\Linq\XNodeReader.cs (5)
166case XmlNodeType.Text: 290if (nt != XmlNodeType.Text) 298return XmlNodeType.Text; 304return XmlNodeType.Text; 371case XmlNodeType.Text:
System\Xml\Linq\XText.cs (1)
55return XmlNodeType.Text;
System\Xml\XPath\XNodeNavigator.cs (4)
26(1 << (int)XmlNodeType.Text), // Text 33(1 << (int)XmlNodeType.Text) | 39(1 << (int)XmlNodeType.Text); 281case XmlNodeType.Text:
System.ServiceModel.Syndication (1)
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (1)
607case XmlNodeType.Text:
System.Xaml (1)
System\Xaml\Parser\XamlScanner.cs (1)
188case XmlNodeType.Text: