/Test/Resources/cs/Fields.cs

http://github.com/jbevain/cecil · C# · 41 lines · 35 code · 6 blank · 0 comment · 0 complexity · 4e2e1b418135d84ad6baa9fefff0cf0f MD5 · raw file

  1. using System;
  2. using System.Runtime.InteropServices;
  3. class Foo {
  4. Bar bar;
  5. }
  6. class Bar {
  7. volatile int oiseau;
  8. }
  9. class Baz {
  10. bool @bool;
  11. char @char;
  12. sbyte @sbyte;
  13. byte @byte;
  14. short int16;
  15. ushort uint16;
  16. int int32;
  17. uint uint32;
  18. long int64;
  19. ulong uint64;
  20. float single;
  21. double @double;
  22. string @string;
  23. object @object;
  24. }
  25. enum Pim {
  26. Pam = 1,
  27. Poum = 2,
  28. }
  29. class PanPan {
  30. public const PanPan Peter = null;
  31. public const string QQ = "qq";
  32. public const string nil = null;
  33. public const object obj = null;
  34. public const int [] ints = null;
  35. }