public virtual bool OnCompilerError(IJSVsaError error)
 {
     if (error is IVsaFullErrorInfo)
     {
         return(this._errorHandler.OnCompilerError((IVsaFullErrorInfo)error));
     }
     return(true);
 }
 public virtual bool OnCompilerError(IJSVsaError error)
 {
     if (error is IVsaFullErrorInfo)
     {
         return this._errorHandler.OnCompilerError((IVsaFullErrorInfo) error);
     }
     return true;
 }
 public override bool OnCompilerError(IJSVsaError error)
 {
     int severity = error.Severity;
     if (severity <= this.warningLevel)
     {
         bool fIsWarning = (severity != 0) && !this.treatWarningsAsErrors;
         this.PrintError(error.SourceMoniker, error.Line, error.StartColumn, fIsWarning, error.Number, error.Description);
     }
     return true;
 }
        public override bool OnCompilerError(IJSVsaError error)
        {
            int severity = error.Severity;

            if (severity <= this.warningLevel)
            {
                bool fIsWarning = (severity != 0) && !this.treatWarningsAsErrors;
                this.PrintError(error.SourceMoniker, error.Line, error.StartColumn, fIsWarning, error.Number, error.Description);
            }
            return(true);
        }
 public bool OnCompilerError(IJSVsaError error)
 {
     return (error.Severity != 0);
 }
 public override bool OnCompilerError(IJSVsaError error)
 {
     throw ((JScriptException)error);
 }
 public override bool OnCompilerError(IJSVsaError error)
 {
     throw ((JScriptException) error);
 }
Example #8
0
 public bool OnCompilerError(IJSVsaError error)
 {
     return(error.Severity != 0);
 }
 public virtual bool OnCompilerError(IJSVsaError error)
 {
     return(false);
 }
 public virtual bool OnCompilerError(IJSVsaError error)
 {
     return false;
 }