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

EmitFinally() public method

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

      if (this.PlaceFinallyOnNewLine && !this.atTheStartOfANewLine) this.EmitNewLine();
      this.EmitString(finallyDelimiter);
    }