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)
51public 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)
51public override bool IsEmptyElement { get { return _reader.IsEmptyElement; } }
269 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)
629typeFullName, elementType, serializerType, XmlReader.IsEmptyElement, 1033XmlReader.IsEmptyElement, XmlReader, defTagName)); 1943bool isEmptyElement = XmlReader.IsEmptyElement; 2127bool isEmpty = XmlReader.IsEmptyElement; 3590isEmptyElement = XmlReader.IsEmptyElement; 4073bool isEmptyElement = XmlReader.IsEmptyElement;
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (3)
221bool isEmpty = Reader.IsEmptyElement; 1170if (Reader.IsEmptyElement) 1361if (!Reader.IsEmptyElement)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
51public 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)
643if (_xamlReader.IsEmptyElement)
System\Windows\Annotations\Annotation.cs (5)
278if (!reader.IsEmptyElement) 288if (!reader.IsEmptyElement) 303if (!reader.IsEmptyElement) 318if (!reader.IsEmptyElement) 329if (!reader.IsEmptyElement)
System\Windows\Annotations\AnnotationResource.cs (1)
165if (!reader.IsEmptyElement)
System\Windows\Annotations\LocatorGroup.cs (1)
128if (!reader.IsEmptyElement)
System\Windows\Annotations\LocatorPartList.cs (3)
196if (!reader.IsEmptyElement) 213if (!reader.IsEmptyElement) 258bool isEmpty = reader.IsEmptyElement;
ReachFramework (1)
Packaging\XPSSignatureDefinition.cs (1)
569if (!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)
3238_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)
110bool fEmptyElement = r.IsEmptyElement; 467bool 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) 1778if (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)
116bool isEmpty = reader.IsEmptyElement; 633bool isEmpty = reader.IsEmptyElement; 684elementIsEmpty = reader.IsEmptyElement; 803bool isEmpty = reader.IsEmptyElement; 878bool isEmpty = reader.IsEmptyElement; 995bool isEmpty = reader.IsEmptyElement;
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (3)
192bool isEmptyElement = reader.IsEmptyElement; 263bool isEmptyElement = reader.IsEmptyElement; 415bool elementIsEmpty = reader.IsEmptyElement;
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (6)
241bool isEmpty = reader.IsEmptyElement; 286bool isEmpty = reader.IsEmptyElement; 369bool canReadContent = !reader.IsEmptyElement; 479bool isEmptyElement = reader.IsEmptyElement; 541bool isEmpty = reader.IsEmptyElement; 670bool canReadContent = !reader.IsEmptyElement;
System\ServiceModel\Syndication\XmlSyndicationContent.cs (1)
148if (!reader.IsEmptyElement)
System.Web.Services.Description (88)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (88)
4893if (Reader.IsEmptyElement) { 5024if (Reader.IsEmptyElement) { 5114if (Reader.IsEmptyElement) { 5212if (Reader.IsEmptyElement) { 5272if (Reader.IsEmptyElement) { 5332if (Reader.IsEmptyElement) { 5405if (Reader.IsEmptyElement) { 5522if (Reader.IsEmptyElement) { 5646if (Reader.IsEmptyElement) { 5746if (Reader.IsEmptyElement) { 5826if (Reader.IsEmptyElement) { 5902if (Reader.IsEmptyElement) { 6066if (Reader.IsEmptyElement) { 6148if (Reader.IsEmptyElement) { 6220if (Reader.IsEmptyElement) { 6296if (Reader.IsEmptyElement) { 6378if (Reader.IsEmptyElement) { 6450if (Reader.IsEmptyElement) { 6507if (Reader.IsEmptyElement) { 6600if (Reader.IsEmptyElement) { 6669if (Reader.IsEmptyElement) { 6738if (Reader.IsEmptyElement) { 6850if (Reader.IsEmptyElement) { 6914if (Reader.IsEmptyElement) { 6982if (Reader.IsEmptyElement) { 7146if (Reader.IsEmptyElement) { 7202if (Reader.IsEmptyElement) { 7270if (Reader.IsEmptyElement) { 7342if (Reader.IsEmptyElement) { 7410if (Reader.IsEmptyElement) { 7474if (Reader.IsEmptyElement) { 7538if (Reader.IsEmptyElement) { 7598if (Reader.IsEmptyElement) { 7667if (Reader.IsEmptyElement) { 7759if (Reader.IsEmptyElement) { 7869if (Reader.IsEmptyElement) { 7949if (Reader.IsEmptyElement) { 8029if (Reader.IsEmptyElement) { 8106if (Reader.IsEmptyElement) { 8200if (Reader.IsEmptyElement) { 8273if (Reader.IsEmptyElement) { 8385if (Reader.IsEmptyElement) { 8572if (Reader.IsEmptyElement) { 8680if (Reader.IsEmptyElement) { 8757if (Reader.IsEmptyElement) { 8846if (Reader.IsEmptyElement) { 8923if (Reader.IsEmptyElement) { 9012if (Reader.IsEmptyElement) { 9116if (Reader.IsEmptyElement) { 9204if (Reader.IsEmptyElement) { 9303if (Reader.IsEmptyElement) { 9396if (Reader.IsEmptyElement) { 9604if (Reader.IsEmptyElement) { 9688if (Reader.IsEmptyElement) { 9772if (Reader.IsEmptyElement) { 9856if (Reader.IsEmptyElement) { 9940if (Reader.IsEmptyElement) { 10024if (Reader.IsEmptyElement) { 10108if (Reader.IsEmptyElement) { 10192if (Reader.IsEmptyElement) { 10276if (Reader.IsEmptyElement) { 10360if (Reader.IsEmptyElement) { 10444if (Reader.IsEmptyElement) { 10528if (Reader.IsEmptyElement) { 10608if (Reader.IsEmptyElement) { 10781if (Reader.IsEmptyElement) { 10904if (Reader.IsEmptyElement) { 10998if (Reader.IsEmptyElement) { 11079if (Reader.IsEmptyElement) { 11174if (Reader.IsEmptyElement) { 11285if (Reader.IsEmptyElement) { 11418if (Reader.IsEmptyElement) { 11513if (Reader.IsEmptyElement) { 11651if (Reader.IsEmptyElement) { 11736if (Reader.IsEmptyElement) { 11878if (Reader.IsEmptyElement) { 11954if (Reader.IsEmptyElement) { 12043if (Reader.IsEmptyElement) { 12149if (Reader.IsEmptyElement) { 12377if (Reader.IsEmptyElement) { 12466if (Reader.IsEmptyElement) { 12587if (Reader.IsEmptyElement) { 12707if (Reader.IsEmptyElement) { 12807if (Reader.IsEmptyElement) { 12888if (Reader.IsEmptyElement) { 13018if (Reader.IsEmptyElement) { 13098if (Reader.IsEmptyElement) { 13178if (Reader.IsEmptyElement) {
System.Xaml (5)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (3)
221bool isEmpty = Reader.IsEmptyElement; 1170if (Reader.IsEmptyElement) 1361if (!Reader.IsEmptyElement)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
51public override bool IsEmptyElement { get { return _reader.IsEmptyElement; } }
System\Xaml\Parser\XamlScanner.cs (1)
240bool isEmptyTag = _xmlReader.IsEmptyElement;