public override void VisitVariableDeclarationExpression (VariableDeclarationExpression node)
		{
			var variable = node.Variable;

			WriteReference (variable.VariableType);
			WriteSpace ();
			Write (variable.Name);
		}
예제 #2
0
 public virtual ICodeNode VisitVariableDeclarationExpression(VariableDeclarationExpression node)
 {
     return(node);
 }
		public CatchClause (BlockStatement body, TypeReference type, VariableDeclarationExpression variable)
		{
			this.body = body;
			this.type = type;
			this.variable = variable;
		}
예제 #4
0
		public override void VisitVariableDeclarationExpression (VariableDeclarationExpression node)
		{
            try
            {
                var variable = node.Variable;

                WriteReference(variable.VariableType);
                WriteSpace();
                Write(variable.Name);
            }
            catch (Exception ex)
            {
                System.Diagnostics.Debug.WriteLine("in VisitVariableDeclarationExpression: " + ex.Message);
            }
		}
예제 #5
0
 public CatchClause(BlockStatement body, TypeReference type, VariableDeclarationExpression variable)
 {
     this.body     = body;
     this.type     = type;
     this.variable = variable;
 }
예제 #6
0
		public virtual void VisitVariableDeclarationExpression (VariableDeclarationExpression node)
		{
		}
예제 #7
0
 public virtual void VisitVariableDeclarationExpression(VariableDeclarationExpression node)
 {
 }
		public ForEachStatement (VariableDeclarationExpression variable, Expression expression, BlockStatement body)
		{
			this.variable = variable;
			this.expression = expression;
			this.body = body;
		}
예제 #9
0
파일: CSharpWriter.cs 프로젝트: chkn/cecil
		public override void VisitVariableDeclarationExpression (VariableDeclarationExpression node)
		{
			var variable = node.Variable;

			WriteReference (variable.VariableType);
			WriteSpace ();
			Write (string.IsNullOrEmpty (node.Variable.Name)? ("V_" + node.Variable.Index) : node.Variable.Name);
		}
		public override ICodeNode VisitVariableDeclarationExpression (VariableDeclarationExpression node)
		{
			TryDiscardVariable (node.Variable);
			
			return node;
		}
예제 #11
0
 public ForEachStatement(VariableDeclarationExpression variable, Expression expression, BlockStatement body)
 {
     this.variable   = variable;
     this.expression = expression;
     this.body       = body;
 }