If a cell has a numeric value and the RichText property is evaluated, the dataType is set to "Text", and the value will return a string instead of a double.
This is annoying when debugging, because when the debugger watches a cell, the RichText property is evaluated.
If this side effect is by design, I recommend adding
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
to the RichText property in both the XLCell class and the IXLCell interface.
This makes the RichText property invisible to the debugger, and avoids the unnecessary state changes.
Comments: Please try the latest version of ClosedXML (v0.87.1 at this stage). If you still experience the issue, log it on the new GitHub page.
This is annoying when debugging, because when the debugger watches a cell, the RichText property is evaluated.
If this side effect is by design, I recommend adding
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
to the RichText property in both the XLCell class and the IXLCell interface.
This makes the RichText property invisible to the debugger, and avoids the unnecessary state changes.
Comments: Please try the latest version of ClosedXML (v0.87.1 at this stage). If you still experience the issue, log it on the new GitHub page.