22 overrides of IsEmptyElement
Microsoft.Build.Engine.UnitTests (1)
Construction\XmlReaderWithoutLocation_Tests.cs (1)
69public override bool IsEmptyElement
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
50public override bool IsEmptyElement { get { return _reader.IsEmptyElement; } }
System.Data.Common (1)
System\Data\xmlsaver.cs (1)
3398public override bool IsEmptyElement
System.IO.Packaging (1)
System\IO\Packaging\XmlWrappingReader.cs (1)
35public override bool IsEmptyElement { get { return _reader.IsEmptyElement; } }
System.Private.DataContractSerialization (4)
System\Runtime\Serialization\ExtensionDataReader.cs (1)
122public override bool IsEmptyElement { get { return IsXmlDataNode ? _xmlNodeReader.IsEmptyElement : false; } }
System\Runtime\Serialization\XmlSerializableReader.cs (1)
80public override bool IsEmptyElement { get { return InnerReader.IsEmptyElement; } }
System\Xml\XmlBaseReader.cs (1)
640public sealed override bool IsEmptyElement
System\Xml\XmlDictionaryReader.cs (1)
1402public override bool IsEmptyElement
System.Private.Xml (12)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
554public override bool IsEmptyElement
System\Xml\Core\XmlAsyncCheckReader.cs (1)
163public override bool IsEmptyElement
System\Xml\Core\XmlTextReader.cs (1)
157public override bool IsEmptyElement
System\Xml\Core\XmlTextReaderImpl.cs (1)
942public override bool IsEmptyElement
System\Xml\Core\XmlValidatingReader.cs (1)
95public override bool IsEmptyElement
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
368public override bool IsEmptyElement
System\Xml\Core\XmlWrappingReader.cs (1)
43public override bool IsEmptyElement { get { return reader.IsEmptyElement; } }
System\Xml\Core\XsdCachingReader.cs (1)
189public override bool IsEmptyElement
System\Xml\Core\XsdValidatingReader.cs (1)
356public override bool IsEmptyElement
System\Xml\Dom\XmlNodeReader.cs (1)
1262public override bool IsEmptyElement
System\Xml\XPath\XPathNavigatorReader.cs (1)
251public override bool IsEmptyElement
System\Xml\Xsl\XsltOld\ReaderOutput.cs (1)
149public override bool IsEmptyElement
System.Private.Xml.Linq (1)
System\Xml\Linq\XNodeReader.cs (1)
180public override bool IsEmptyElement
System.Xaml (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
50public override bool IsEmptyElement { get { return _reader.IsEmptyElement; } }
181 references to IsEmptyElement
Microsoft.AspNetCore.Mvc.Formatters.Xml (3)
ProblemDetailsWrapper.cs (1)
50if (reader.IsEmptyElement)
SerializableErrorWrapper.cs (1)
58if (reader.IsEmptyElement)
ValidationProblemDetailsWrapper.cs (1)
56if (reader.IsEmptyElement)
Microsoft.Build.Engine.UnitTests (1)
Construction\XmlReaderWithoutLocation_Tests.cs (1)
71get { return _wrappedReader.IsEmptyElement; }
Microsoft.Build.Tasks.Core (1)
RedistList.cs (1)
736if (string.Equals(reader.Name, "From", StringComparison.OrdinalIgnoreCase) && !reader.IsEmptyElement && fromEntry == null)
Microsoft.Extensions.Configuration.Xml (2)
XmlStreamConfigurationProvider.cs (2)
123if (reader.IsEmptyElement) 173if (preNodeType == XmlNodeType.Element && reader.IsEmptyElement)
Microsoft.Maui.Controls.Xaml (3)
XamlParser.cs (3)
57 var isEmpty = reader.IsEmptyElement; 83 if (reader.IsEmptyElement) 159 var isEmpty = reader.IsEmptyElement && reader.Name == name;
PresentationBuildTasks (10)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (6)
634typeFullName, elementType, serializerType, XmlReader.IsEmptyElement, 1038XmlReader.IsEmptyElement, XmlReader, defTagName)); 1949bool isEmptyElement = XmlReader.IsEmptyElement; 2129bool isEmpty = XmlReader.IsEmptyElement; 3591isEmptyElement = XmlReader.IsEmptyElement; 4075bool isEmptyElement = XmlReader.IsEmptyElement;
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (3)
218bool isEmpty = Reader.IsEmptyElement; 1160if (Reader.IsEmptyElement) 1346if (!Reader.IsEmptyElement)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
50public override bool IsEmptyElement { get { return _reader.IsEmptyElement; } }
PresentationCore (5)
MS\Internal\FontFace\CompositeFontParser.cs (5)
390if (_reader.IsEmptyElement) 405bool isEmpty = _reader.IsEmptyElement; 559if (_reader.IsEmptyElement) 575if (_reader.IsEmptyElement) 807if (_reader.IsEmptyElement)
PresentationFramework (11)
MS\Internal\IO\Packaging\XamlFilter.cs (1)
644if (_xamlReader.IsEmptyElement)
System\Windows\Annotations\Annotation.cs (5)
279if (!reader.IsEmptyElement) 289if (!reader.IsEmptyElement) 304if (!reader.IsEmptyElement) 319if (!reader.IsEmptyElement) 330if (!reader.IsEmptyElement)
System\Windows\Annotations\AnnotationResource.cs (1)
169if (!reader.IsEmptyElement)
System\Windows\Annotations\LocatorGroup.cs (1)
129if (!reader.IsEmptyElement)
System\Windows\Annotations\LocatorPartList.cs (3)
211if (!reader.IsEmptyElement) 228if (!reader.IsEmptyElement) 273bool isEmpty = reader.IsEmptyElement;
ReachFramework (1)
Packaging\XPSSignatureDefinition.cs (1)
570if (!reader.IsEmptyElement)
System.Configuration.ConfigurationManager (1)
System\Configuration\ConfigurationElement.cs (1)
1500if (!reader.IsEmptyElement)
System.Data.Common (7)
System\Data\Common\ObjectStorage.cs (1)
430if (type == typeof(string) && xmlReader.NodeType == XmlNodeType.Element && xmlReader.IsEmptyElement)
System\Data\DataTable.cs (4)
5711if (reader.IsEmptyElement) 5797if (reader.IsEmptyElement) 6050if (reader.IsEmptyElement) 6177if (reader.IsEmptyElement)
System\Data\XmlDataLoader.cs (1)
1197if (!_dataReader.IsEmptyElement) // In case element is not empty
System\Data\xmlsaver.cs (1)
3400get { return _xmlreader.IsEmptyElement; }
System.IO.Packaging (8)
System\IO\Packaging\PartBasedPackageProperties.cs (1)
638if (reader.IsEmptyElement)
System\IO\Packaging\XmlCompatibilityReader.cs (3)
201bool isEmpty = Reader.IsEmptyElement; 1103if (Reader.IsEmptyElement) 1289if (!Reader.IsEmptyElement)
System\IO\Packaging\XmlWrappingReader.cs (1)
35public override bool IsEmptyElement { get { return _reader.IsEmptyElement; } }
System\IO\Packaging\ZipPackage.cs (3)
1183if (!reader.IsEmptyElement) 1212if (!reader.IsEmptyElement) 1219Debug.Assert(!reader.IsEmptyElement, "This method should only be called it the Relationship Element is not empty");
System.Private.DataContractSerialization (26)
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (1)
98bool isEmptyElement = reader.IsStartElement() && reader.IsEmptyElement;
System\Runtime\Serialization\XmlReaderDelegator.cs (1)
177if (!reader.IsEmptyElement)
System\Runtime\Serialization\XmlSerializableReader.cs (3)
32_isRootEmptyElement = InnerReader.IsEmptyElement; 57(reader.NodeType == XmlNodeType.Element && reader.IsEmptyElement)) 80public override bool IsEmptyElement { get { return InnerReader.IsEmptyElement; } }
System\Runtime\Serialization\XmlSerializableServices.cs (1)
32if (!xmlReader.IsEmptyElement)
System\Xml\XmlDictionaryReader.cs (19)
249if (IsEmptyElement) 257if (IsEmptyElement) 265if (IsEmptyElement) 273if (IsEmptyElement) 461if (this.IsEmptyElement) 686bool isEmptyElement = IsStartElement() && IsEmptyElement; 706bool isEmptyElement = IsStartElement() && IsEmptyElement; 726bool isEmptyElement = IsStartElement() && IsEmptyElement; 746bool isEmptyElement = IsStartElement() && IsEmptyElement; 766bool isEmptyElement = IsStartElement() && IsEmptyElement; 786bool isEmptyElement = IsStartElement() && IsEmptyElement; 806bool isEmptyElement = IsStartElement() && IsEmptyElement; 826bool isEmptyElement = IsStartElement() && IsEmptyElement; 857bool isEmptyElement = IsStartElement() && IsEmptyElement; 888bool isEmptyElement = IsStartElement() && IsEmptyElement; 923bool isEmptyElement = IsStartElement() && IsEmptyElement; 943bool isEmptyElement = IsStartElement() && IsEmptyElement; 963bool isEmptyElement = IsStartElement() && IsEmptyElement; 1406return _reader.IsEmptyElement;
System\Xml\XmlDictionaryWriter.cs (1)
284if (reader.IsEmptyElement)
System.Private.Xml (75)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
3241_isEmpty = r.IsEmptyElement;
System\Xml\Core\ReadContentAsBinaryHelper.cs (1)
277bool isEmpty = _reader.IsEmptyElement;
System\Xml\Core\ReadContentAsBinaryHelperAsync.cs (1)
225bool isEmpty = _reader.IsEmptyElement;
System\Xml\Core\XmlAsyncCheckReader.cs (1)
168return _coreReader.IsEmptyElement;
System\Xml\Core\XmlReader.cs (9)
695if (IsEmptyElement) 800if (!IsEmptyElement) 832if (!IsEmptyElement) 864if (!IsEmptyElement) 972else if (IsEmptyElement) 1013else if (IsEmptyElement) 1148if (IsEmptyElement) 1389if (NodeType == XmlNodeType.Element && !IsEmptyElement) 1518bool isEmptyElement = IsEmptyElement;
System\Xml\Core\XmlReaderAsync.cs (3)
222if (IsEmptyElement) 300if (NodeType == XmlNodeType.Element && !IsEmptyElement) 374bool isEmptyElement = IsEmptyElement;
System\Xml\Core\XmlSubtreeReader.cs (8)
195return reader.IsEmptyElement; 483(reader.NodeType == XmlNodeType.Element && reader.IsEmptyElement)) 489Debug.Assert(reader.NodeType == XmlNodeType.Element && !reader.IsEmptyElement); 552if (reader.Depth == _initialDepth && reader.NodeType == XmlNodeType.Element && !reader.IsEmptyElement) 590if (reader.NodeType == XmlNodeType.Element && !reader.IsEmptyElement) 602reader.NodeType == XmlNodeType.Element && reader.IsEmptyElement || 609if (reader.NodeType == XmlNodeType.Element && !reader.IsEmptyElement) 1287if (reader.IsEmptyElement)
System\Xml\Core\XmlSubtreeReaderAsync.cs (5)
46(reader.NodeType == XmlNodeType.Element && reader.IsEmptyElement)) 52Debug.Assert(reader.NodeType == XmlNodeType.Element && !reader.IsEmptyElement); 116if (reader.NodeType == XmlNodeType.Element && !reader.IsEmptyElement) 128reader.NodeType == XmlNodeType.Element && reader.IsEmptyElement || 135if (reader.NodeType == XmlNodeType.Element && !reader.IsEmptyElement)
System\Xml\Core\XmlValidatingReaderImpl.cs (2)
372return _coreReader.IsEmptyElement; 965if (!_outerReader.IsEmptyElement)
System\Xml\Core\XmlWrappingReader.cs (1)
43public override bool IsEmptyElement { get { return reader.IsEmptyElement; } }
System\Xml\Core\XmlWriter.cs (1)
371if (reader.IsEmptyElement)
System\Xml\Core\XmlWriterAsync.cs (2)
307if (reader.IsEmptyElement) 369if (reader.IsEmptyElement)
System\Xml\Core\XsdCachingReader.cs (3)
483Debug.Assert(_coreReader.NodeType == XmlNodeType.EndElement || (_coreReader.NodeType == XmlNodeType.Element && _coreReader.IsEmptyElement)); 496Debug.Assert(_coreReader.NodeType == XmlNodeType.EndElement || (_coreReader.NodeType == XmlNodeType.Element && _coreReader.IsEmptyElement)); 499if (_coreReader.IsEmptyElement)
System\Xml\Core\XsdValidatingReader.cs (7)
360return _coreReader.IsEmptyElement; 1513if (_coreReader.IsEmptyElement) 1717if (!_coreReader.IsEmptyElement) 1768if (_coreReader.IsEmptyElement) 1804if (!_coreReader.IsEmptyElement) 2049if (!_coreReader.IsEmptyElement) 2121if (_coreReader.IsEmptyElement)
System\Xml\Core\XsdValidatingReaderAsync.cs (3)
351if (_coreReader.IsEmptyElement) 548if (!_coreReader.IsEmptyElement) 619if (_coreReader.IsEmptyElement)
System\Xml\Dom\XmlLoader.cs (2)
109bool fEmptyElement = r.IsEmptyElement; 466bool fEmptyElement = _reader!.IsEmptyElement;
System\Xml\Schema\Inference\Infer.cs (1)
634bool bEmptyElement = _xtr!.IsEmptyElement;
System\Xml\Schema\Parser.cs (4)
195if (_reader.IsEmptyElement) 216else if (!_reader.IsEmptyElement) 336bool fEmptyElement = r.IsEmptyElement; 392if (!r.IsEmptyElement)
System\Xml\Serialization\PrimitiveXmlSerializers.cs (2)
477if (Reader.IsEmptyElement) 680if (Reader.IsEmptyElement)
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (8)
255if (Reader.IsEmptyElement) 345isEmptyWrapper = Reader.IsEmptyElement; 869&& (Reader.IsEmptyElement)) 873else if (element.Mapping.TypeDesc!.Type == typeof(TimeSpan) && Reader.IsEmptyElement) 878else if (element.Mapping.TypeDesc!.Type == typeof(DateTimeOffset) && Reader.IsEmptyElement) 1143if ((readOnly && o == null) || Reader.IsEmptyElement) 1372if (Reader.IsEmptyElement) 1732if (Reader.IsEmptyElement)
System\Xml\Serialization\XmlSerializationReader.cs (7)
433if (_r.IsEmptyElement) 448if (_r.IsEmptyElement) 815if (_r.IsEmptyElement) 861if (_r.IsEmptyElement) 1433if (_r.IsEmptyElement) 1650if (_r.IsEmptyElement) 1935if (Reader.IsEmptyElement)
System\Xml\XPath\XPathDocument.cs (1)
196bool isEmptyElement = reader.IsEmptyElement;
System\Xml\XPath\XPathNavigator.cs (1)
2046bool isEmptyElement = reader.IsEmptyElement;
System\Xml\Xsl\Xslt\XsltInput.cs (1)
493_isEmptyElement = _reader.IsEmptyElement;
System.Private.Xml.Linq (6)
System\Xml\Linq\XContainer.cs (4)
916if (!r.IsEmptyElement) 972if (!r.IsEmptyElement) 1043if (!r.IsEmptyElement) 1159if (!r.IsEmptyElement)
System\Xml\Linq\XElement.cs (2)
2018if (!r.IsEmptyElement) 2031if (!r.IsEmptyElement)
System.ServiceModel.Syndication (16)
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (6)
131bool isEmpty = reader.IsEmptyElement; 660bool isEmpty = reader.IsEmptyElement; 711elementIsEmpty = reader.IsEmptyElement; 830bool isEmpty = reader.IsEmptyElement; 905bool isEmpty = reader.IsEmptyElement; 1022bool isEmpty = reader.IsEmptyElement;
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (3)
210bool isEmptyElement = reader.IsEmptyElement; 281bool isEmptyElement = reader.IsEmptyElement; 433bool elementIsEmpty = reader.IsEmptyElement;
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (6)
268bool isEmpty = reader.IsEmptyElement; 313bool isEmpty = reader.IsEmptyElement; 396bool canReadContent = !reader.IsEmptyElement; 506bool isEmptyElement = reader.IsEmptyElement; 568bool isEmpty = reader.IsEmptyElement; 697bool canReadContent = !reader.IsEmptyElement;
System\ServiceModel\Syndication\XmlSyndicationContent.cs (1)
157if (!reader.IsEmptyElement)
System.Xaml (5)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (3)
218bool isEmpty = Reader.IsEmptyElement; 1160if (Reader.IsEmptyElement) 1346if (!Reader.IsEmptyElement)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
50public override bool IsEmptyElement { get { return _reader.IsEmptyElement; } }
System\Xaml\Parser\XamlScanner.cs (1)
239bool isEmptyTag = _xmlReader.IsEmptyElement;