FieldAttributes.cs 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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. #if NET_2_0
  38. [ComVisible (true)]
  39. #endif
  40. [Flags]
  41. public enum FieldAttributes {
  42. /// <summary>
  43. /// </summary>
  44. FieldAccessMask = 7,
  45. /// <summary>
  46. /// </summary>
  47. PrivateScope = 0x0,
  48. /// <summary>
  49. /// </summary>
  50. Private = 0x1,
  51. /// <summary>
  52. /// </summary>
  53. FamANDAssem = 0x2,
  54. /// <summary>
  55. /// </summary>
  56. Assembly = 0x3,
  57. /// <summary>
  58. /// </summary>
  59. Family = 0x4,
  60. /// <summary>
  61. /// </summary>
  62. FamORAssem = 0x5,
  63. /// <summary>
  64. /// </summary>
  65. Public = 0x6,
  66. /// <summary>
  67. /// </summary>
  68. Static = 0x10,
  69. /// <summary>
  70. /// </summary>
  71. InitOnly = 0x20,
  72. /// <summary>
  73. /// </summary>
  74. Literal = 0x40,
  75. /// <summary>
  76. /// </summary>
  77. NotSerialized = 0x80,
  78. /// <summary>
  79. /// </summary>
  80. HasFieldRVA = 0x100,
  81. /// <summary>
  82. /// </summary>
  83. SpecialName = 0x200,
  84. /// <summary>
  85. /// </summary>
  86. RTSpecialName = 0x400,
  87. /// <summary>
  88. /// </summary>
  89. HasFieldMarshal = 0x1000,
  90. /// <summary>
  91. /// </summary>
  92. PinvokeImpl = 0x2000,
  93. /// <summary>
  94. /// </summary>
  95. // HasSecurity = 0x4000,
  96. /// <summary>
  97. /// </summary>
  98. HasDefault = 0x8000,
  99. /// <summary>
  100. /// </summary>
  101. ReservedMask = HasDefault | HasFieldMarshal | RTSpecialName | HasFieldRVA,
  102. } // FieldAttributes
  103. } // System.Reflection