~ubuntu-branches/ubuntu/oneiric/monodevelop/oneiric

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Core/MonoDevelop.Projects.Dom/ITypeParameter.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2011-06-27 17:03:13 UTC
  • mto: (1.8.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 54.
  • Revision ID: james.westby@ubuntu.com-20110627170313-6cvz3s19x6e9hqe9
ImportĀ upstreamĀ versionĀ 2.5.92+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
namespace MonoDevelop.Projects.Dom
32
32
{
33
33
        public enum TypeParameterVariance { None, Out, In }
34
 
        public interface ITypeParameter
 
34
        
 
35
        [Flags]
 
36
        public enum TypeParameterModifier : byte
 
37
        {       
 
38
                None          = 0,
 
39
                HasDefaultConstructorConstraint = 1
 
40
        }
 
41
        
 
42
        public interface ITypeParameter : INode 
35
43
        {
36
44
                string Name { get; }
37
45
 
39
47
 
40
48
                IList<IReturnType> Constraints { get; }
41
49
                
42
 
                bool ConstructorRequired { get; }
43
 
                
44
 
                bool ClassRequired { get; }
45
 
                
46
 
                bool ValueTypeRequired { get; }
47
 
 
 
50
                TypeParameterModifier TypeParameterModifier { get; }
 
51
                
48
52
                TypeParameterVariance Variance { get; }
49
53
        }
50
54
}