Method AddCompilerError
AddCompilerError(ScriptCompilationDiagnostic)
Adds a compiler error to the collection of script compilation diagnostics.
public virtual void AddCompilerError(ScriptCompilationDiagnostic error)
Parameters
error
ScriptCompilationDiagnosticThe diagnostic information representing the compiler error. Cannot be null.