Advertisement
nateshoffner

Untitled

Sep 13th, 2013
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 2.91 KB | None | 0 0
  1. .namespace ns
  2. {
  3.     .class private auto ansi beforefieldinit Program
  4.         extends [mscorlib]System.Object
  5.     {
  6.         .method public hidebysig specialname rtspecialname instance void .ctor() cil managed
  7.         {
  8.             .maxstack 8
  9.             L_0000: ldarg.0
  10.             L_0001: call instance void [mscorlib]System.Object::.ctor()
  11.             L_0006: ret
  12.         }
  13.  
  14.         .method private hidebysig static void <Main>b__0(int32 n) cil managed
  15.         {
  16.             .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor()
  17.             .maxstack 8
  18.             L_0000: ldarg.0
  19.             L_0001: ldc.i4.3
  20.             L_0002: rem
  21.             L_0003: brfalse.s L_001a
  22.             L_0005: ldarg.0
  23.             L_0006: ldc.i4.5
  24.             L_0007: rem
  25.             L_0008: brfalse.s L_0013
  26.             L_000a: ldarga.s n
  27.             L_000c: call instance string [mscorlib]System.Int32::ToString()
  28.             L_0011: br.s L_002b
  29.             L_0013: ldstr "cake"
  30.             L_0018: br.s L_002b
  31.             L_001a: ldarg.0
  32.             L_001b: ldc.i4.5
  33.             L_001c: rem
  34.             L_001d: brfalse.s L_0026
  35.             L_001f: ldstr "butt"
  36.             L_0024: br.s L_002b
  37.             L_0026: ldstr "buttcake"
  38.             L_002b: call void [mscorlib]System.Console::WriteLine(string)
  39.             L_0030: ret
  40.         }
  41.  
  42.         .method private hidebysig static void Main() cil managed
  43.         {
  44.             .entrypoint
  45.             .maxstack 8
  46.             L_0000: ldc.i4.0
  47.             L_0001: ldc.i4.s 100
  48.             L_0003: call class [mscorlib]System.Collections.Generic.IEnumerable`1<int32> [System.Core]System.Linq.Enumerable::Range(int32, int32)
  49.             L_0008: call class [mscorlib]System.Collections.Generic.List`1<!!0> [System.Core]System.Linq.Enumerable::ToList<int32>(class [mscorlib]System.Collections.Generic.IEnumerable`1<!!0>)
  50.             L_000d: ldsfld class [mscorlib]System.Action`1<int32> ns.Program::CS$<>9__CachedAnonymousMethodDelegate1
  51.             L_0012: brtrue.s L_0025
  52.             L_0014: ldnull
  53.             L_0015: ldftn void ns.Program::<Main>b__0(int32)
  54.             L_001b: newobj instance void [mscorlib]System.Action`1<int32>::.ctor(object, native int)
  55.             L_0020: stsfld class [mscorlib]System.Action`1<int32> ns.Program::CS$<>9__CachedAnonymousMethodDelegate1
  56.             L_0025: ldsfld class [mscorlib]System.Action`1<int32> ns.Program::CS$<>9__CachedAnonymousMethodDelegate1
  57.             L_002a: callvirt instance void [mscorlib]System.Collections.Generic.List`1<int32>::ForEach(class [mscorlib]System.Action`1<!0>)
  58.             L_002f: ret
  59.         }
  60.  
  61.  
  62.         .field private static class [mscorlib]System.Action`1<int32> CS$<>9__CachedAnonymousMethodDelegate1
  63.         {
  64.             .custom instance void [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor()
  65.         }
  66.  
  67.     }
  68. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement