~ubuntu-branches/ubuntu/feisty/monodevelop/feisty

« back to all changes in this revision

Viewing changes to Core/src/MonoDevelop.Projects/MonoDevelop.Projects.Parser/AbstractReturnType.cs

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2006-08-18 00:51:23 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060818005123-5iit07y0j7wjg55f
Tags: 0.11+svn20060818-0ubuntu1
* New SVN snapshot
  + Works with Gtk# 2.9.0
* debian/control:
  + Updated Build-Depends
* debian/patches/use_nunit2.2.dpatch,
  debian/patches/use_real_libs.dpatch:
  + Updated
* debian/patches/versioncontrol_buildfix.dpatch:
  + Fix build failure in the version control addin

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
                protected int    pointerNestingLevel;
16
16
                protected int[]  arrayDimensions;
17
17
                protected object declaredin = null;
 
18
                protected ReturnTypeList genericArguments;
 
19
                protected bool   byRef;
18
20
                string fname;
19
21
                
20
22
                public virtual string FullyQualifiedName {
74
76
                                return arrayDimensions;
75
77
                        }
76
78
                }
 
79
                                
 
80
                /// <summary>
 
81
                /// Indicates whether the return type is passed by reference.
 
82
                /// </summary>
 
83
                public virtual bool ByRef {
 
84
                        get {
 
85
                                return byRef;
 
86
                        }
 
87
                }
 
88
                                
 
89
                /// <summary>
 
90
                /// Contains values (types) of actual parameters (arguments) to a
 
91
                /// generic type.
 
92
                /// </summary>
 
93
                public virtual ReturnTypeList GenericArguments {
 
94
                        get {
 
95
                                return genericArguments;
 
96
                        }
 
97
                        set {
 
98
                                genericArguments = value;
 
99
                        }
 
100
                }
77
101
 
78
102
                public virtual int CompareTo (object ob) 
79
103
                {
95
119
                                return cmp;
96
120
                        }
97
121
                        
98
 
                        return DiffUtility.Compare(ArrayDimensions, value.ArrayDimensions);
 
122
                        cmp = DiffUtility.Compare(ArrayDimensions, value.ArrayDimensions);
 
123
                        if (cmp != 0)
 
124
                                return cmp;
 
125
                        
 
126
                        if (GenericArguments == value.GenericArguments)
 
127
                                return 0;
 
128
                        else
 
129
                                return DiffUtility.Compare(GenericArguments, value.GenericArguments);
99
130
                }
100
131
                
101
132
                int IComparable.CompareTo(object value)