Microsoft.Cci.SourceEmitter.EmitCatch C# (CSharp) Method

EmitCatch() public method

If this.PlaceCatchOnNewLine is true then a new line will be emitted, if necessary, before calling this.EmitString with the given catch delimiter string.
public EmitCatch ( string catchDelimiter ) : void
catchDelimiter string A string representing the start of the else part of an if statement.
return void
    public void EmitCatch(string catchDelimiter) {
      Contract.Requires(catchDelimiter != null);

      if (this.PlaceCatchOnNewLine && !this.atTheStartOfANewLine) this.EmitNewLine();
      this.EmitString(catchDelimiter);
    }