HasAttributes property

bool get HasAttributes
Gets a value indicating whether this instance has attributes.

Implementation

bool get HasAttributes => _xmlReader.AttributeCount > 0;