ViIvanov

Invalid refactoring suggested

Aug 2nd, 2013
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.26 KB | None | 0 0
  1. using System;
  2.  
  3. static class Program
  4. {
  5.   static Action<T> Y<T>(Func<Action<T>, Action<T>> function) {
  6.     return null;
  7.   }
  8.  
  9.   private static void Main() {
  10.     // Rename "arg" to "arg1", for example.
  11.     Y<string>(action => arg => { var dummy = arg; });
  12.   }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment