26 implementations of HasLineInfo
Microsoft.Build (2)
ElementLocation\XmlAttributeWithLocation.cs (1)
90public bool HasLineInfo()
ElementLocation\XmlElementWithLocation.cs (1)
110public bool HasLineInfo()
Microsoft.Maui.Controls (1)
XmlLineInfo.cs (1)
25 public bool HasLineInfo()
Microsoft.Maui.Controls.SourceGen (2)
src\Controls\src\Core\XmlLineInfo.cs (1)
25 public bool HasLineInfo()
src\Controls\src\Xaml\XamlNode.cs (1)
103 public bool HasLineInfo() => LineNumber >= 0 && LinePosition >= 0;
Microsoft.Maui.Controls.Xaml (1)
XamlNode.cs (1)
103 public bool HasLineInfo() => LineNumber >= 0 && LinePosition >= 0;
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
155public virtual bool HasLineInfo() {
System.IO.Packaging (1)
System\IO\Packaging\XmlWrappingReader.cs (1)
151public virtual bool HasLineInfo()
System.Private.DataContractSerialization (3)
System\Runtime\Serialization\XmlSerializableReader.cs (1)
163bool IXmlLineInfo.HasLineInfo()
System\Xml\XmlDictionaryReader.cs (1)
1797public bool HasLineInfo()
System\Xml\XmlUTF8TextReader.cs (1)
1391public bool HasLineInfo()
System.Private.Xml (11)
System\Xml\Cache\XPathDocumentNavigator.cs (1)
948public bool HasLineInfo()
System\Xml\Core\XmlAsyncCheckReader.cs (1)
956public virtual bool HasLineInfo()
System\Xml\Core\XmlSubtreeReader.cs (1)
1206bool IXmlLineInfo.HasLineInfo()
System\Xml\Core\XmlTextReader.cs (1)
331public bool HasLineInfo() { return true; }
System\Xml\Core\XmlTextReaderImpl.cs (1)
1900public bool HasLineInfo()
System\Xml\Core\XmlValidatingReader.cs (1)
257public bool HasLineInfo() { return true; }
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
772public bool HasLineInfo()
System\Xml\Core\XmlWrappingReader.cs (1)
136public virtual bool HasLineInfo()
System\Xml\Core\XsdCachingReader.cs (1)
605bool IXmlLineInfo.HasLineInfo()
System\Xml\Core\XsdValidatingReader.cs (1)
1885public bool HasLineInfo()
System\Xml\IXmlLineInfo.cs (1)
15public virtual bool HasLineInfo() { return false; }
System.Private.Xml.Linq (3)
System\Xml\Linq\XNodeReader.cs (1)
977bool IXmlLineInfo.HasLineInfo()
System\Xml\Linq\XObject.cs (1)
385bool IXmlLineInfo.HasLineInfo()
System\Xml\XPath\XNodeNavigator.cs (1)
688bool IXmlLineInfo.HasLineInfo()
System.Xaml (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
155public virtual bool HasLineInfo() {
35 references to HasLineInfo
Microsoft.Maui.Controls (1)
XamlParseException.cs (1)
58 if (xmlinfo == null || !xmlinfo.HasLineInfo())
Microsoft.Maui.Controls.Build.Tasks (2)
BuildException.cs (1)
40 var position = xmlinfo == null || !xmlinfo.HasLineInfo() ? "" : $"({xmlinfo.LineNumber},{xmlinfo.LinePosition})";
NodeILExtensions.cs (1)
449 if (xmlLineInfo.HasLineInfo())
Microsoft.Maui.Controls.SourceGen (1)
src\Controls\src\Core\XamlParseException.cs (1)
58 if (xmlinfo == null || !xmlinfo.HasLineInfo())
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
156return ( _readerAsIXmlLineInfo is null ) ? false : _readerAsIXmlLineInfo.HasLineInfo();
System.IO.Packaging (1)
System\IO\Packaging\XmlWrappingReader.cs (1)
153return (_readerAsIXmlLineInfo == null) ? false : _readerAsIXmlLineInfo.HasLineInfo();
System.Private.DataContractSerialization (5)
System\Runtime\Serialization\XmlReaderDelegator.cs (1)
1021return (iXmlLineInfo == null) ? false : iXmlLineInfo.HasLineInfo();
System\Runtime\Serialization\XmlSerializableReader.cs (1)
166return (xmlLineInfo == null) ? _xmlReader.HasLineInfo() : xmlLineInfo.HasLineInfo();
System\Xml\XmlDictionaryReader.cs (1)
1802return lineInfo.HasLineInfo();
System\Xml\XmlExceptionHelper.cs (2)
34if (reader is IXmlLineInfo lineInfo && lineInfo.HasLineInfo()) 46if (reader is IXmlLineInfo lineInfo && lineInfo.HasLineInfo())
System.Private.Xml (6)
System\Xml\Cache\XPathDocumentBuilder.cs (1)
705Debug.Assert(_lineInfo.HasLineInfo(), "HasLineInfo should have been checked before this.");
System\Xml\Core\XmlAsyncCheckReader.cs (1)
958return _readerAsIXmlLineInfo.HasLineInfo();
System\Xml\Core\XmlWrappingReader.cs (1)
138return (readerAsIXmlLineInfo == null) ? false : readerAsIXmlLineInfo.HasLineInfo();
System\Xml\IXmlLineInfo.cs (1)
44return _lineInfo.HasLineInfo();
System\Xml\XPath\XPathDocument.cs (1)
164if (lineInfo == null || !lineInfo.HasLineInfo())
System\Xml\Xsl\Xslt\XsltInput.cs (1)
51_readerLineInfo = (xmlLineInfo != null && xmlLineInfo.HasLineInfo()) ? xmlLineInfo : null;
System.Private.Xml.Linq (15)
System\Xml\Linq\XContainer.cs (10)
1025if (_lineInfo != null && _lineInfo.HasLineInfo()) 1034if (_lineInfo != null && _lineInfo.HasLineInfo()) 1060if (e != null && _lineInfo != null && _lineInfo.HasLineInfo()) 1076(_lineInfo != null && _lineInfo.HasLineInfo())) 1114if (_lineInfo != null && _lineInfo.HasLineInfo()) 1139if (_lineInfo != null && _lineInfo.HasLineInfo()) 1150if (_lineInfo != null && _lineInfo.HasLineInfo()) 1176if (e != null && _lineInfo != null && _lineInfo.HasLineInfo()) 1192(_lineInfo != null && _lineInfo.HasLineInfo())) 1230if (_lineInfo != null && _lineInfo.HasLineInfo())
System\Xml\Linq\XDocument.cs (1)
494if (li != null && li.HasLineInfo())
System\Xml\Linq\XElement.cs (2)
2062if (li != null && li.HasLineInfo()) 2072if (li != null && li.HasLineInfo())
System\Xml\Linq\XNodeReader.cs (1)
994return li.HasLineInfo();
System\Xml\XPath\XNodeNavigator.cs (1)
693return li.HasLineInfo();
System.ServiceModel.Syndication (2)
System\ServiceModel\Syndication\FeedUtils.cs (1)
15if (lineInfo != null && lineInfo.HasLineInfo())
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (1)
581if (reader is IXmlLineInfo lineInfo && lineInfo.HasLineInfo())
System.Xaml (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
156return ( _readerAsIXmlLineInfo is null ) ? false : _readerAsIXmlLineInfo.HasLineInfo();