Advertisement
Guest User

С инициализатором

a guest
Oct 28th, 2016
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   .method private hidebysig instance void
  2.     Init1() cil managed
  3.   {
  4.     .maxstack 3
  5.     .locals init (
  6.       [0] class DBCloud.Entities.Partner x
  7.     )
  8.  
  9.     // [522 9 - 522 10]
  10.     IL_0000: nop          
  11.  
  12.     // [523 13 - 527 15]
  13.     IL_0001: newobj       instance void DBCloud.Entities.Partner::.ctor()
  14.     IL_0006: dup          
  15.     IL_0007: ldc.i4.5    
  16.     IL_0008: conv.i8      
  17.     IL_0009: callvirt     instance void DBCloud.Entities.Partner::set_Id(int64)
  18.     IL_000e: nop          
  19.     IL_000f: dup          
  20.     IL_0010: ldstr        "Foo"
  21.     IL_0015: callvirt     instance void DBCloud.Entities.Partner::set_Code(string)
  22.     IL_001a: nop          
  23.     IL_001b: stloc.0      // x
  24.  
  25.     // [528 9 - 528 10]
  26.     IL_001c: ret          
  27.  
  28.   } // end of method GamesPartnerRepository::Init1
  29.  
  30.   .method public hidebysig specialname rtspecialname instance void
  31.     .ctor() cil managed
  32.   {
  33.     .maxstack 8
  34.  
  35.     // [12 9 - 12 25]
  36.     IL_0000: ldarg.0      // this
  37.     IL_0001: call         instance void [mscorlib]System.Object::.ctor()
  38.     IL_0006: nop          
  39.  
  40.     // [12 26 - 12 27]
  41.     IL_0007: nop          
  42.  
  43.     // [14 9 - 14 10]
  44.     IL_0008: ret          
  45.  
  46.   } // end of method Partner::.ctor
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement