コード例 #1
0
        private ICollection GetExpressionsFrom(MethodBody methodBody)
        {
            ExpressionFillerVisitor expressionFillerVisitor = new ExpressionFillerVisitor();

            methodBody.Accept(expressionFillerVisitor);
            return(expressionFillerVisitor.Expressions);
        }
コード例 #2
0
		private ICollection GetExpressionsFrom (MethodBody methodBody) 
		{
			ExpressionFillerVisitor expressionFillerVisitor = new ExpressionFillerVisitor ();
			methodBody.Accept (expressionFillerVisitor);
			return expressionFillerVisitor.Expressions;
		}