PageRenderTime 9ms CodeModel.GetById 2ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 1ms

/Mono.Cecil/GenericParameterAttributes.cs

http://github.com/jbevain/cecil
C# | 27 lines | 14 code | 4 blank | 9 comment | 0 complexity | 118afeb4fe34146e733cbdd57ce219b9 MD5 | raw file
 1//
 2// Author:
 3//   Jb Evain (jbevain@gmail.com)
 4//
 5// Copyright (c) 2008 - 2015 Jb Evain
 6// Copyright (c) 2008 - 2011 Novell, Inc.
 7//
 8// Licensed under the MIT/X11 license.
 9//
10
11using System;
12
13namespace Mono.Cecil {
14
15	[Flags]
16	public enum GenericParameterAttributes : ushort {
17		VarianceMask	= 0x0003,
18		NonVariant		= 0x0000,
19		Covariant		= 0x0001,
20		Contravariant	= 0x0002,
21
22		SpecialConstraintMask			= 0x001c,
23		ReferenceTypeConstraint			= 0x0004,
24		NotNullableValueTypeConstraint	= 0x0008,
25		DefaultConstructorConstraint	= 0x0010
26	}
27}