SyntaxTreeAnalysisContext.ReportDiagnostic(Diagnostic) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Report a Diagnostic about a SyntaxTree.
public:
void ReportDiagnostic(Microsoft::CodeAnalysis::Diagnostic ^ diagnostic);
public void ReportDiagnostic (Microsoft.CodeAnalysis.Diagnostic diagnostic);
member this.ReportDiagnostic : Microsoft.CodeAnalysis.Diagnostic -> unit
Public Sub ReportDiagnostic (diagnostic As Diagnostic)
Parameters
- diagnostic
- Diagnostic
Diagnostic to be reported.