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

EmitMethodBodyOpeningDelimiter() public method

If this.PlaceMethodBodyOpeningDelimitersOnNewLine is true a new line is emitted, if necessary, before calling this.EmitBlockOpeningDelimiter with the given delimiter.
public EmitMethodBodyOpeningDelimiter ( string delimiter ) : void
delimiter string A string representing the start of a method body block.
return void
    public void EmitMethodBodyOpeningDelimiter(string delimiter) {
      Contract.Requires(delimiter != null);

      if (this.PlaceMethodBodyOpeningDelimitersOnNewLine && !this.atTheStartOfANewLine)
        this.EmitNewLine();
      else
        this.EmitString(" ");
      this.EmitBlockOpeningDelimiter(delimiter);
    }