Skip to main content

AsExpressionInfo Struct

Namespace: Roslynator.CSharp.Syntax

Assembly: Roslynator.CSharp.dll

Provides information about "as" expression.

public readonly struct AsExpressionInfo

Inheritance​

Object → ValueType → AsExpressionInfo

Properties​

PropertySummary
AsExpressionThe "as" expression.
ExpressionThe expression that is being casted.
OperatorTokenThe "as" operator token.
SuccessDetermines whether this struct was initialized with an actual syntax.
TypeThe type to which the expression is being cast.

Methods​

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