Class StackAllocExpression
- Namespace
- ICSharpCode.Decompiler.CSharp.Syntax
- Assembly
- ICSharpCode.Decompiler.dll
stackalloc Type[Count]
public class StackAllocExpression : Expression, IAnnotatable, IFreezable, INode, ICloneable
- Inheritance
-
StackAllocExpression
- Implements
- Inherited Members
- Extension Methods
Constructors
StackAllocExpression()
public StackAllocExpression()
Fields
InitializerRole
public static readonly Role<ArrayInitializerExpression> InitializerRole
Field Value
StackallocKeywordRole
public static readonly TokenRole StackallocKeywordRole
Field Value
Properties
CountExpression
public Expression CountExpression { get; set; }
Property Value
Initializer
public ArrayInitializerExpression Initializer { get; set; }
Property Value
LBracketToken
public CSharpTokenNode LBracketToken { get; }
Property Value
RBracketToken
public CSharpTokenNode RBracketToken { get; }
Property Value
StackAllocToken
public CSharpTokenNode StackAllocToken { get; }
Property Value
Type
public AstType Type { get; set; }
Property Value
Methods
AcceptVisitor(IAstVisitor)
public override void AcceptVisitor(IAstVisitor visitor)
Parameters
visitor
IAstVisitor
AcceptVisitor<T>(IAstVisitor<T>)
public override T AcceptVisitor<T>(IAstVisitor<T> visitor)
Parameters
visitor
IAstVisitor<T>
Returns
- T
Type Parameters
T
AcceptVisitor<T, S>(IAstVisitor<T, S>, T)
public override S AcceptVisitor<T, S>(IAstVisitor<T, S> visitor, T data)
Parameters
visitor
IAstVisitor<T, S>data
T
Returns
- S
Type Parameters
T
S
DoMatch(AstNode, Match)
protected override bool DoMatch(AstNode other, Match match)