Skip to main content

RegionInfo Struct

Namespace: Roslynator.CSharp.Syntax

Assembly: Roslynator.CSharp.dll

Provides information about a region.

public readonly struct RegionInfo

Inheritance

Object ValueType RegionInfo

Properties

PropertySummary
Directive#region directive.
EndDirective#endregion directive.
FullSpanThe absolute span of this region, including its leading and trailing trivia.
IsEmptyDetermines whether this region is empty, i.e. contains only white-space.
SpanThe absolute span of this region, not including its leading and trailing trivia.
SuccessDetermines whether this struct was initialized with an actual syntax.

Methods

MethodSummary
Equals(Object)(Inherited from ValueType)
GetHashCode()(Inherited from ValueType)
GetType()(Inherited from Object)
MemberwiseClone()(Inherited from Object)
ToString()(Inherited from ValueType)