FieldAttributes.cs 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. // FieldAttributes.cs
  2. //
  3. // This code was automatically generated from
  4. // ECMA CLI XML Library Specification.
  5. // Generator: libgen.xsl [1.0; (C) Sergey Chaban ([email protected])]
  6. // Created: Wed, 5 Sep 2001 06:39:12 UTC
  7. // Source file: all.xml
  8. // URL: http://devresource.hp.com/devresource/Docs/TechPapers/CSharp/all.xml
  9. //
  10. // (C) 2001 Ximian, Inc. http://www.ximian.com
  11. //
  12. // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
  13. //
  14. // Permission is hereby granted, free of charge, to any person obtaining
  15. // a copy of this software and associated documentation files (the
  16. // "Software"), to deal in the Software without restriction, including
  17. // without limitation the rights to use, copy, modify, merge, publish,
  18. // distribute, sublicense, and/or sell copies of the Software, and to
  19. // permit persons to whom the Software is furnished to do so, subject to
  20. // the following conditions:
  21. //
  22. // The above copyright notice and this permission notice shall be
  23. // included in all copies or substantial portions of the Software.
  24. //
  25. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  26. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  27. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  28. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  29. // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  30. // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  31. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  32. //
  33. using System.Runtime.InteropServices;
  34. namespace System.Reflection {
  35. /// <summary>
  36. /// </summary>
  37. [ComVisible (true)]
  38. [Serializable]
  39. [Flags]
  40. public enum FieldAttributes {
  41. /// <summary>
  42. /// </summary>
  43. FieldAccessMask = 7,
  44. /// <summary>
  45. /// </summary>
  46. PrivateScope = 0x0,
  47. /// <summary>
  48. /// </summary>
  49. Private = 0x1,
  50. /// <summary>
  51. /// </summary>
  52. FamANDAssem = 0x2,
  53. /// <summary>
  54. /// </summary>
  55. Assembly = 0x3,
  56. /// <summary>
  57. /// </summary>
  58. Family = 0x4,
  59. /// <summary>
  60. /// </summary>
  61. FamORAssem = 0x5,
  62. /// <summary>
  63. /// </summary>
  64. Public = 0x6,
  65. /// <summary>
  66. /// </summary>
  67. Static = 0x10,
  68. /// <summary>
  69. /// </summary>
  70. InitOnly = 0x20,
  71. /// <summary>
  72. /// </summary>
  73. Literal = 0x40,
  74. /// <summary>
  75. /// </summary>
  76. NotSerialized = 0x80,
  77. /// <summary>
  78. /// </summary>
  79. HasFieldRVA = 0x100,
  80. /// <summary>
  81. /// </summary>
  82. SpecialName = 0x200,
  83. /// <summary>
  84. /// </summary>
  85. RTSpecialName = 0x400,
  86. /// <summary>
  87. /// </summary>
  88. HasFieldMarshal = 0x1000,
  89. /// <summary>
  90. /// </summary>
  91. PinvokeImpl = 0x2000,
  92. /// <summary>
  93. /// </summary>
  94. // HasSecurity = 0x4000,
  95. /// <summary>
  96. /// </summary>
  97. HasDefault = 0x8000,
  98. /// <summary>
  99. /// </summary>
  100. ReservedMask = HasDefault | HasFieldMarshal | RTSpecialName | HasFieldRVA,
  101. } // FieldAttributes
  102. } // System.Reflection