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

EmitCaseOpeningDelimiter() public method

Write out the given string and note that it is the opening delimiter of a switch case. If this.IndentCaseContents is true then this.IndentationLevel will be incremented after writing out the delimiter.
public EmitCaseOpeningDelimiter ( string delimiter ) : void
delimiter string A string representing the start of a block.
return void
    public void EmitCaseOpeningDelimiter(string delimiter) {
      Contract.Requires(delimiter != null);

      if (this.IndentCaseDelimiters) this.IndentationLevel++;
      this.EmitString(delimiter);
      if (this.IndentCaseContents) this.IndentationLevel++;
    }