Ejemplo n.º 1
0
 protected override void Visit(InternalInvocation node)
 {
   VisitNodes(node.Arguments);
   Visit((InternalExpression)node);
 }
Ejemplo n.º 2
0
 protected override void Visit(InternalInvocation node) { Visit((InternalExpression)node); }
Ejemplo n.º 3
0
 protected override void Visit(InternalInvocation node)
 {
     Visit((InternalExpression)node);
 }
Ejemplo n.º 4
0
      void LoadArguments(InternalInvocation node, System.Reflection.MethodBase method, int resultIndex)
      {
        var parameters = method.GetParameters();

        var hasThisArg = !method.IsStatic && !method.IsConstructor;
        Debug.Assert(node.Arguments.Count == parameters.Length + (hasThisArg ? 1 : 0), "Arguments mismatch between node {0} and method {1} of {2}", node, method, method.DeclaringType);
        
        int i = 0;
        if (hasThisArg)
        {
          _ilGen.LoadValue(resultIndex++, Types.ValueTypeOf(method.DeclaringType));
          ++i;
        }

        for (; i < node.Arguments.Count; ++i)
          _ilGen.LoadValue(resultIndex++, Types.ValueTypeOf(parameters[i].ParameterType));
      }
Ejemplo n.º 5
0
 protected virtual void Visit(InternalInvocation node)
 {
 }