GenericParameterAttributes.cs 596 B

1234567891011121314151617181920
  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. namespace System.Reflection
  5. {
  6. [Flags]
  7. public enum GenericParameterAttributes
  8. {
  9. None = 0x0000,
  10. VarianceMask = 0x0003,
  11. Covariant = 0x0001,
  12. Contravariant = 0x0002,
  13. SpecialConstraintMask = 0x001C,
  14. ReferenceTypeConstraint = 0x0004,
  15. NotNullableValueTypeConstraint = 0x0008,
  16. DefaultConstructorConstraint = 0x0010,
  17. }
  18. }