HasAttributes property

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

Implementation

bool get HasAttributes => this._xmlReader.AttributeCount > 0;