Report(IDiagnostic)
Reports a diagnostic to the default location of the current ScopedDiagnosticSink..
Declaration
public void Report(IDiagnostic diagnostic)
Parameters
Type | Name | Description |
---|---|---|
IDiagnostic | diagnostic |
Report(IDiagnostic, IDiagnosticLocation?)
Reports a parametric diagnostic by specifying its location.
Declaration
public void Report(IDiagnostic diagnostic, IDiagnosticLocation? location)
Parameters
Type | Name | Description |
---|---|---|
IDiagnostic | diagnostic | |
IDiagnosticLocation | location |