Method GetDiagnostics
GetDiagnostics()
When implemented by a class, get all the errors within the syntax tree associated with this object.
IEnumerable<Diagnostic> GetDiagnostics()Returns
- IEnumerable<Diagnostic>
- List of - Microsoft.CodeAnalysis.Diagnosticerrors.