128 references to EntityReference
PresentationBuildTasks (2)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (2)
2102case XmlNodeType.EntityReference: 3821case XmlNodeType.EntityReference:
PresentationCore (1)
MS\Internal\FontFace\CompositeFontParser.cs (1)
294case XmlNodeType.EntityReference:
System.Configuration.ConfigurationManager (2)
System\Configuration\XmlUtil.cs (2)
705if (nodeType == XmlNodeType.EntityReference) 1093case XmlNodeType.EntityReference:
System.Data.Common (7)
System\Data\XmlDataLoader.cs (4)
265case XmlNodeType.EntityReference: 796case XmlNodeType.EntityReference: // Oops. No support for Entity Reference 1031case XmlNodeType.EntityReference: // Oops. No support for Entity Reference 1335case XmlNodeType.EntityReference: // Oops. No support for Entity Reference
System\Xml\DataPointer.cs (1)
519case XmlNodeType.EntityReference:
System\Xml\XmlDataDocument.cs (2)
1074XmlNodeType.EntityReference => CreateEntityReference(dp.Name), 1094case XmlNodeType.EntityReference:
System.Private.DataContractSerialization (3)
System\Xml\XmlDictionaryReader.cs (1)
421case XmlNodeType.EntityReference:
System\Xml\XmlDictionaryWriter.cs (2)
269if (reader.NodeType == XmlNodeType.EntityReference) 412case XmlNodeType.EntityReference:
System.Private.Xml (109)
System\Xml\Core\ReadContentAsBinaryHelper.cs (1)
434case XmlNodeType.EntityReference:
System\Xml\Core\ReadContentAsBinaryHelperAsync.cs (1)
356case XmlNodeType.EntityReference:
System\Xml\Core\XmlCharCheckingReader.cs (1)
261case XmlNodeType.EntityReference:
System\Xml\Core\XmlCharCheckingReaderAsync.cs (1)
123case XmlNodeType.EntityReference:
System\Xml\Core\XmlReader.cs (8)
737case XmlNodeType.EntityReference: 1163case XmlNodeType.EntityReference: 1193if (NodeType == XmlNodeType.EntityReference) 1311Debug.Assert(0 == (IsTextualNodeBitmap & (1 << (int)XmlNodeType.EntityReference))); 1338Debug.Assert(0 != (CanReadContentAsBitmap & (1 << (int)XmlNodeType.EntityReference))); 1365Debug.Assert(0 == (HasValueBitmap & (1 << (int)XmlNodeType.EntityReference))); 1495case XmlNodeType.EntityReference: 1785case XmlNodeType.EntityReference:
System\Xml\Core\XmlReaderAsync.cs (3)
170case XmlNodeType.EntityReference: 237case XmlNodeType.EntityReference: 351case XmlNodeType.EntityReference:
System\Xml\Core\XmlTextReaderImpl.cs (9)
1493if (_curNode.type != XmlNodeType.EntityReference) 1566if (_outerReader.NodeType == XmlNodeType.EntityReference && 4666Debug.Assert(startTag.type == XmlNodeType.EntityReference); 5218entityChunk.SetNamedNode(XmlNodeType.EntityReference, entityName); 5259entityChunk.SetNamedNode(XmlNodeType.EntityReference, _ps.entity.Name); 5947_curNode.SetNamedNode(XmlNodeType.EntityReference, ParseEntityName()); 6182Debug.Assert(_curNode.type == XmlNodeType.EntityReference); 8637_curNode.SetNamedNode(XmlNodeType.EntityReference, ParseEntityName()); 8970case XmlNodeType.EntityReference:
System\Xml\Core\XmlTextReaderImplAsync.cs (5)
2299Debug.Assert(startTag.type == XmlNodeType.EntityReference); 2734entityChunk.SetNamedNode(XmlNodeType.EntityReference, entityName); 2774entityChunk.SetNamedNode(XmlNodeType.EntityReference, _ps.entity!.Name); 3722_curNode.SetNamedNode(XmlNodeType.EntityReference, await ParseEntityNameAsync().ConfigureAwait(false)); 5346case XmlNodeType.EntityReference:
System\Xml\Core\XmlValidatingReaderImpl.cs (3)
754if (_outerReader.NodeType == XmlNodeType.EntityReference && _parsingFunction != ParsingFunction.ResolveEntityInternally) 1052Debug.Assert(_coreReader.NodeType == XmlNodeType.EntityReference); 1110case XmlNodeType.EntityReference:
System\Xml\Core\XmlValidatingReaderImplAsync.cs (1)
193Debug.Assert(_coreReader.NodeType == XmlNodeType.EntityReference);
System\Xml\Core\XmlWriter.cs (2)
340if (reader.NodeType == XmlNodeType.EntityReference) 400case XmlNodeType.EntityReference:
System\Xml\Core\XmlWriterAsync.cs (3)
261if (reader.NodeType == XmlNodeType.EntityReference) 334case XmlNodeType.EntityReference: 397case XmlNodeType.EntityReference:
System\Xml\Core\XsdValidatingReader.cs (1)
2027case XmlNodeType.EntityReference:
System\Xml\Core\XsdValidatingReaderAsync.cs (1)
520case XmlNodeType.EntityReference:
System\Xml\Dom\DocumentSchemaValidator.cs (2)
277case XmlNodeType.EntityReference: 730case XmlNodeType.EntityReference:
System\Xml\Dom\DocumentXPathNavigator.cs (8)
1911&& parent.NodeType == XmlNodeType.EntityReference) 1932&& child.NodeType == XmlNodeType.EntityReference) 1957|| current.NodeType != XmlNodeType.EntityReference) 1964&& sibling.NodeType == XmlNodeType.EntityReference) 1989|| current.NodeType != XmlNodeType.EntityReference) 1996&& sibling.NodeType == XmlNodeType.EntityReference) 2030|| current.NodeType != XmlNodeType.EntityReference) 2040case XmlNodeType.EntityReference:
System\Xml\Dom\XmlAttribute.cs (1)
214return (type == XmlNodeType.Text) || (type == XmlNodeType.EntityReference);
System\Xml\Dom\XmlCharacterData.cs (2)
201Debug.Assert(XmlDocument.IsTextNode(n.NodeType) || (n.ParentNode != null && n.ParentNode.NodeType == XmlNodeType.EntityReference)); 215case XmlNodeType.EntityReference:
System\Xml\Dom\XmlDocument.cs (9)
767case XmlNodeType.EntityReference: 786else if (parentType == XmlNodeType.EntityReference) 811else if (parentType == XmlNodeType.EntityReference) 859if (intnode.ParentNode != null && intnode.ParentNode.NodeType == XmlNodeType.EntityReference) 881while (n.NodeType == XmlNodeType.EntityReference) 1008case XmlNodeType.EntityReference: 1042Debug.Assert(toNode.NodeType != XmlNodeType.EntityReference); 1133case XmlNodeType.EntityReference: 1218return XmlNodeType.EntityReference;
System\Xml\Dom\XmlDocumentFragment.cs (1)
134case XmlNodeType.EntityReference:
System\Xml\Dom\XmlElement.cs (1)
223case XmlNodeType.EntityReference:
System\Xml\Dom\XmlEntity.cs (1)
99type == XmlNodeType.EntityReference);
System\Xml\Dom\XmlEntityReference.cs (2)
78get { return XmlNodeType.EntityReference; } 138case XmlNodeType.EntityReference:
System\Xml\Dom\XmlLoader.cs (8)
165case XmlNodeType.EntityReference: 274case XmlNodeType.EntityReference: 333case XmlNodeType.EntityReference: 358Debug.Assert(_reader!.NodeType == XmlNodeType.EntityReference); 503case XmlNodeType.EntityReference: 909ParsePartialContent(eref, EntitizeName(eref.Name), XmlNodeType.EntityReference); 931if (contentNT == XmlNodeType.Entity || contentNT == XmlNodeType.EntityReference) 966if (nt == XmlNodeType.Entity || nt == XmlNodeType.EntityReference)
System\Xml\Dom\XmlNode.cs (3)
861case XmlNodeType.EntityReference: 1025if (nt == XmlNodeType.EntityReference) 1466case XmlNodeType.EntityReference:
System\Xml\Dom\XmlNodeReader.cs (9)
187case XmlNodeType.EntityReference: 1078if (_curNode.NodeType == XmlNodeType.EntityReference && bResolveEntity) 1094if (parentNode != null && parentNode.NodeType == XmlNodeType.EntityReference) 1567&& (nt == XmlNodeType.Element || (nt == XmlNodeType.EntityReference && _bResolveEntity) || 1586else if (_readerNav.NodeType == XmlNodeType.EntityReference && _bResolveEntity) 1597if (_readerNav.NodeType == XmlNodeType.EntityReference && _bResolveEntity) 1673else if (_readerNav.NodeType == XmlNodeType.EntityReference) 1724if ((this.NodeType == XmlNodeType.EntityReference) && _bResolveEntity) 1774if (!IsInReadingStates() || (_nodeType != XmlNodeType.EntityReference))
System\Xml\Schema\DtdValidator.cs (1)
85case XmlNodeType.EntityReference:
System\Xml\Schema\Inference\Infer.cs (2)
697if (_xtr.NodeType == XmlNodeType.EntityReference) 952if (_xtr.NodeType == XmlNodeType.EntityReference)
System\Xml\Schema\Parser.cs (5)
229else if (_reader.NodeType == XmlNodeType.EntityReference || 300case XmlNodeType.EntityReference: 431case XmlNodeType.EntityReference: 444Debug.Assert(_reader!.NodeType == XmlNodeType.EntityReference); 466case XmlNodeType.EntityReference:
System\Xml\XPath\XPathDocument.cs (1)
269case XmlNodeType.EntityReference:
System\Xml\XPath\XPathNavigator.cs (1)
2102case XmlNodeType.EntityReference:
System\Xml\Xsl\Xslt\XsltInput.cs (7)
244Debug.Assert(_reader.NodeType == XmlNodeType.EntityReference); 303int correction = (_reader.NodeType == XmlNodeType.EntityReference) ? -2 : -1; 317case XmlNodeType.EntityReference: 332Debug.Assert(_reader.NodeType != XmlNodeType.EntityReference); 401case XmlNodeType.EntityReference: 458case XmlNodeType.EntityReference: 1047XmlNodeType.EntityReference => 1, // "&"
System\Xml\Xsl\XsltOld\ReaderOutput.cs (2)
536Debug.Assert(NodeType != XmlNodeType.EntityReference); 538if (NodeType != XmlNodeType.EntityReference)
System\Xml\Xsl\XsltOld\SequentialOutput.cs (2)
438case XmlNodeType.EntityReference: 487case XmlNodeType.EntityReference:
System\Xml\Xsl\XsltOld\WriterOutput.cs (1)
49case XmlNodeType.EntityReference:
System.Private.Xml.Linq (4)
System\Xml\Linq\XContainer.cs (4)
943case XmlNodeType.EntityReference: 999case XmlNodeType.EntityReference: 1097case XmlNodeType.EntityReference: 1213case XmlNodeType.EntityReference: