Table of Contents

Class CSharpLineState

Namespace
SharpConsoleUI.Highlighting
Assembly
SharpConsoleUI.dll

Per-line parser state for the C# highlighter (tracks open block comments).

public record CSharpLineState : SyntaxLineState, IEquatable<SyntaxLineState>, IEquatable<CSharpLineState>
Inheritance
CSharpLineState
Implements
Inherited Members
Extension Methods

Constructors

CSharpLineState(bool)

Per-line parser state for the C# highlighter (tracks open block comments).

public CSharpLineState(bool InBlockComment = false)

Parameters

InBlockComment bool

True when the line begins inside an unterminated block comment.

Properties

InBlockComment

True when the line begins inside an unterminated block comment.

public bool InBlockComment { get; init; }

Property Value

bool