Advertisement
Guest User

Untitled

a guest
Jun 9th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .class public abstract auto ansi sealed beforefieldinit System.FlagsHelper
  2.        extends [mscorlib]System.Object
  3. {
  4.   .custom instance void [System.Core]System.Runtime.CompilerServices.ExtensionAttribute::.ctor() = ( 01 00 00 00 )
  5.   .method public hidebysig static !!T  Set<([mscorlib]System.Enum) T>(!!T bitfield,
  6.                                                  !!T flag) cil managed
  7.   {
  8.     .custom instance void [System.Core]System.Runtime.CompilerServices.ExtensionAttribute::.ctor() = ( 01 00 00 00 )
  9.     .maxstack  2
  10.     .locals init ([0] int64 CS$1$0000)
  11.     IL_0000:  nop
  12.     IL_0001:  ldarg.0
  13.     IL_0002:  ldarg.1
  14.     IL_0003:  add
  15.     IL_0004:  stloc.0
  16.     IL_0005:  br.s       IL_0007
  17.  
  18.     IL_0007:  ldloc.0
  19.     IL_0008:  ret
  20.   }
  21.  
  22.   .method public hidebysig static !!T  Unset<([mscorlib]System.Enum) T>(!!T bitfield,
  23.                                                !!T flag) cil managed
  24.   {
  25.     .custom instance void [System.Core]System.Runtime.CompilerServices.ExtensionAttribute::.ctor() = ( 01 00 00 00 )
  26.     .maxstack  2
  27.     .locals init ([0] int64 CS$1$0000)
  28.     IL_0000:  nop
  29.     IL_0001:  ldarg.0
  30.     IL_0002:  ldarg.1
  31.     IL_0003:  not
  32.     IL_0004:  and
  33.     IL_0005:  stloc.0
  34.     IL_0006:  br.s       IL_0008
  35.  
  36.     IL_0008:  ldloc.0
  37.     IL_0009:  ret
  38.   }
  39.  
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement