Skip to content

Instantly share code, notes, and snippets.

@bamboo
Created July 27, 2011 12:06
Show Gist options
  • Save bamboo/1109212 to your computer and use it in GitHub Desktop.
Save bamboo/1109212 to your computer and use it in GitHub Desktop.
Zip and Tuple.Create
foreach (var argAndParameterType in invocationExpression.Arguments.Zip(method.ParameterTypes(), Tuple.Create))
PreserveSemanticsForInvocationArgument(argAndParameterType.Item1, argAndParameterType.Item2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment