Is this content useful?
Thank you for your feedback!
Thank you for your feedback! You have rated this topic in the last 30 days.
Diagnostic Class Members
The following tables list the members exposed by Diagnostic.
Public Properties
| Name | Description |
![Public Property](dotnetimages/publicProperty.gif) | Message | Gets the message associated with the diagnostic message. |
![Public Property](dotnetimages/publicProperty.gif) | RelativeSpan | Gets the span indicating the location of the diagnostic message relative to the SyntaxNode.FullSpan of the node to which it relates. |
![Public Property](dotnetimages/publicProperty.gif) | Severity | Gets the severity level of the diagnostic message. |
Public Methods
| Name | Description |
![Public Method](dotnetimages/publicMethod.gif) | ToString | Gets a string representation of the error. |
See Also