Click or drag to resize

CodeWriter Properties

The CodeWriter type exposes the following members.

Properties
  NameDescription
Public propertyAlignmentStateStack
Public propertyColumnNumber
The current column number (1 to N).
Public propertyIndentOffset
Get or set the current indent offset (0 to N).
Public propertyIsGenerated
True if the code being rendered is generated (such as a generated '.g.cs' file). Code cleanup settings will be ignored.
Public propertyLineNumber
The current line number (1 to N).
Public propertyNeedsNewLine
True if a newline is required before any other text, such as if a compiler directive was just emitted (used to force a newline before a terminating ';' on an expression with a compiler directive at the end).
Public propertyNewLine
Get or set the string used to create new lines (LF or CR/LF).
Top
See Also