ParameterAttributes.cs 1005 B

1234567891011121314151617181920212223242526272829
  1. // Licensed to the .NET Foundation under one or more agreements.
  2. // The .NET Foundation licenses this file to you under the MIT license.
  3. // See the LICENSE file in the project root for more information.
  4. // ParameterAttributes is an enum defining the attributes that may be
  5. // associated with a Parameter. These are defined in CorHdr.h.
  6. namespace System.Reflection
  7. {
  8. // This Enum matchs the CorParamAttr defined in CorHdr.h
  9. [Flags]
  10. public enum ParameterAttributes
  11. {
  12. None = 0x0000, // no flag is specified
  13. In = 0x0001, // Param is [In]
  14. Out = 0x0002, // Param is [Out]
  15. Lcid = 0x0004, // Param is [lcid]
  16. Retval = 0x0008, // Param is [Retval]
  17. Optional = 0x0010, // Param is optional
  18. HasDefault = 0x1000, // Param has default value.
  19. HasFieldMarshal = 0x2000, // Param has FieldMarshal.
  20. Reserved3 = 0x4000,
  21. Reserved4 = 0x8000,
  22. ReservedMask = 0xf000,
  23. }
  24. }