daily pastebin goal
26%
SHARE
TWEET

Untitled

a guest May 16th, 2018 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public int MyFunction(int parameter)
  2. {
  3.      int local = 6;
  4.      return MyLocalFunction(4);
  5.  
  6.      // Local Function
  7.      int MyLocalFunction(int localFunctionParameter) => 42;
  8. }
  9.    
  10. function MyFunction(parameter) {
  11.     var local = 6;
  12.     return MyNestedFunction(4);
  13.  
  14.     // Nested Function
  15.     function MyNestedFunction(localFunctionParameter) {
  16.         return 42;
  17.     }
  18. }
  19.    
  20. public int MyFunction(int parameter)
  21. {
  22.     int local = 6;
  23.     return MyLocalFunction(4);
  24.  
  25.     // Local Function
  26.     int MyLocalFunction(int localFunctionParameter) => 42;
  27. }
  28.    
  29. public int MyFunction(int parameter)
  30. {
  31.     int num = 6;
  32.     return <MyFunction>g__MyLocalFunction|0_0(4);
  33. }
  34.  
  35. [CompilerGenerated]
  36. internal static int <MyFunction>g__MyLocalFunction|0_0(int localFunctionParameter)
  37. {
  38.     return 42;
  39. }
  40.    
  41. var MyFunction = (function(parameter) {
  42.     var local = 6;
  43.  
  44.     return function() {
  45.         MyNestedFunction(4);
  46.     };
  47.  
  48.     function MyNestedFunction() {
  49.         return 42;
  50.     }
  51. }());
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top