You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

example2.il 1.7 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. // Licensed to the Apache Software Foundation (ASF) under one or more
  2. // contributor license agreements. See the NOTICE file distributed with
  3. // this work for additional information regarding copyright ownership.
  4. // The ASF licenses this file to You under the Apache License, Version 2.0
  5. // (the "License"); you may not use this file except in compliance with
  6. // the License. You may obtain a copy of the License at
  7. //
  8. // http://www.apache.org/licenses/LICENSE-2.0
  9. //
  10. // Unless required by applicable law or agreed to in writing, software
  11. // distributed under the License is distributed on an "AS IS" BASIS,
  12. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. // See the License for the specific language governing permissions and
  14. // limitations under the License.
  15. .class public auto ansi beforefieldinit Example2
  16. extends [mscorlib]System.Object
  17. {
  18. } // end of class Example2
  19. // =============== CLASS MEMBERS DECLARATION ===================
  20. // note that class flags, 'extends' and 'implements' clauses
  21. // are provided here for information only
  22. .class public auto ansi beforefieldinit Example2
  23. extends [mscorlib]System.Object
  24. {
  25. .field public int32 some_variable
  26. .method public hidebysig specialname rtspecialname
  27. instance void .ctor() cil managed
  28. {
  29. // Code size 14 (0xe)
  30. .maxstack 2
  31. IL_0000: ldarg.0
  32. IL_0001: ldc.i4.3
  33. IL_0002: stfld int32 Example2::some_variable
  34. IL_0007: ldarg.0
  35. IL_0008: call instance void [mscorlib]System.Object::.ctor()
  36. IL_000d: ret
  37. } // end of method Example2::.ctor
  38. } // end of class Example2