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

EmitElse() public method

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

      if (this.PlaceElseOnNewLine && !this.atTheStartOfANewLine) this.EmitNewLine();
      this.EmitString(elseDelimiter);
    }