Пример #1
0
 public static MethodInvokeExpression CreateInvokeMethodExpression(this VariableDeclarationStatement expression, string memberName, TypeReference[] parameters, params Expression[] arguments) => CreateInvokeMethodExpression((Expression)expression, memberName, parameters, arguments);
Пример #2
0
 public static MethodInvokeExpression CreateInvokeMethodExpression(this VariableDeclarationStatement expression, params Expression[] arguments) => CreateInvokeMethodExpression((Expression)expression, arguments);
Пример #3
0
 public static MethodInvokeExpression CreateInvokeMethodExpression(this VariableDeclarationStatement expression, TypeReference[] parameters, params Expression[] arguments) => CreateInvokeMethodExpression(new VariableReferenceExpression(expression), parameters, arguments);
Пример #4
0
 public static MemberReferenceExpression CreateMemberReferenceExpression(this VariableDeclarationStatement variable, string name, params string[] names) => CreateMemberReferenceExpression(new VariableReferenceExpression(variable), name, names);
Пример #5
0
 public static MethodInvokeExpression CreateInvokeMethodExpression(this VariableDeclarationStatement expression, string memberName, params Expression[] arguments) => CreateInvokeMethodExpression(new VariableReferenceExpression(expression), memberName, arguments);