stackallocexpression.cs
来自「全功能c#编译器」· CS 代码 · 共 48 行
CS
48 行
using System;
using System.Diagnostics;
using System.Collections;
namespace ICSharpCode.CsVbRefactory.Parser.AST
{
public class StackAllocExpression : Expression
{
TypeReference typeReference;
Expression expression;
public TypeReference TypeReference {
get {
return typeReference;
}
set {
typeReference = value == null ? TypeReference.Null : value;
}
}
public Expression Expression {
get {
return expression;
}
set {
expression = value == null ? Expression.Null : value;
}
}
public StackAllocExpression(TypeReference typeReference, Expression expression)
{
this.TypeReference = typeReference;
this.Expression = expression;
}
public override object AcceptVisitor(IASTVisitor visitor, object data)
{
return visitor.Visit(this, data);
}
public override string ToString()
{
return String.Format("[StackAllocExpression: TypeReference={0}, Expression={1}]",
typeReference,
expression);
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?