MethodAttributes.cs 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. // MethodAttributes.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:32 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 MethodAttributes {
  41. /// <summary>
  42. /// </summary>
  43. MemberAccessMask = 7,
  44. /// <summary>
  45. /// </summary>
  46. PrivateScope = 0,
  47. /// <summary>
  48. /// </summary>
  49. Private = 1,
  50. /// <summary>
  51. /// </summary>
  52. FamANDAssem = 2,
  53. /// <summary>
  54. /// </summary>
  55. Assembly = 3,
  56. /// <summary>
  57. /// </summary>
  58. Family = 4,
  59. /// <summary>
  60. /// </summary>
  61. FamORAssem = 5,
  62. /// <summary>
  63. /// </summary>
  64. Public = 6,
  65. /// <summary>
  66. /// </summary>
  67. Static = 16,
  68. /// <summary>
  69. /// </summary>
  70. Final = 32,
  71. /// <summary>
  72. /// </summary>
  73. Virtual = 64,
  74. /// <summary>
  75. /// </summary>
  76. HideBySig = 128,
  77. /// <summary>
  78. /// </summary>
  79. VtableLayoutMask = 256,
  80. /// <summary>
  81. /// </summary>
  82. CheckAccessOnOverride = 512,
  83. /// <summary>
  84. /// </summary>
  85. ReuseSlot = 0,
  86. /// <summary>
  87. /// </summary>
  88. NewSlot = 256,
  89. /// <summary>
  90. /// </summary>
  91. Abstract = 1024,
  92. /// <summary>
  93. /// </summary>
  94. SpecialName = 2048,
  95. /// <summary>
  96. /// </summary>
  97. PinvokeImpl = 8192,
  98. /// <summary>
  99. /// </summary>
  100. UnmanagedExport = 8,
  101. /// <summary>
  102. /// </summary>
  103. RTSpecialName = 4096,
  104. /// <summary>
  105. /// </summary>
  106. ReservedMask = 53248,
  107. /// <summary>
  108. /// </summary>
  109. HasSecurity = 16384,
  110. /// <summary>
  111. /// </summary>
  112. RequireSecObject = 32768,
  113. } // MethodAttributes
  114. } // System.Reflection