Skip to main content

SingleLocalDeclarationStatementInfo Struct

Namespace: Roslynator.CSharp.Syntax

Assembly: Roslynator.CSharp.dll

Provides information about a local declaration statement with a single variable.

public readonly struct SingleLocalDeclarationStatementInfo

Inheritance

Object ValueType SingleLocalDeclarationStatementInfo

Properties

PropertySummary
AwaitKeywordThe 'await' keyword.
DeclarationThe variable declaration.
DeclaratorThe variable declarator.
EqualsTokenThe equals token.
IdentifierVariable identifier.
IdentifierTextVariable name.
InitializerThe variable initializer, if any.
ModifiersThe modifier list.
SemicolonTokenThe semicolon.
StatementThe local declaration statement.
SuccessDetermines whether this struct was initialized with an actual syntax.
TypeThe type of a declaration.
UsingKeywordThe 'using' keyword.
ValueThe initialized value, if any.

Methods

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