Microsoft.Cci.MetadataHostEnvironment.SynchronousReportErrors C# (CSharp) Method

SynchronousReportErrors() protected method

Raises the Errors event with the given error event arguments.
protected SynchronousReportErrors ( object state ) : void
state object The error event arguments.
return void
    protected void SynchronousReportErrors(object/*?*/ state)
      //^ requires state is Microsoft.Cci.ErrorEventArgs;
    {
      var errorEventArguments = (ErrorEventArgs)state;
      if (this.Errors != null)
        this.Errors(this, errorEventArguments);
    }