Version

Diagnostic Class Members

The following tables list the members exposed by Diagnostic.

Public Constructors
 NameDescription
Public ConstructorDiagnostic ConstructorCreates a new Diagnostic instance.  
Public Properties
 NameDescription
Public PropertyMessageGets the message associated with the diagnostic message.  
Public PropertyRelativeSpanGets the span indicating the location of the diagnostic message relative to the SyntaxNode.FullSpan of the node to which it relates.  
Public PropertySeverityGets the severity level of the diagnostic message.  
Public Methods
 NameDescription
Public MethodToStringGets a string representation of the error.  
See Also