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

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Core/MonoDevelop.Projects.Dom/AbstractMember.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:
45
45
                        get;
46
46
                }
47
47
                
 
48
                public virtual ProjectDom SourceProjectDom {
 
49
                        get {
 
50
                                return DeclaringType.SourceProjectDom;
 
51
                        }
 
52
                        set {
 
53
                                // nothing
 
54
                        }
 
55
                }
 
56
                
 
57
                
48
58
                public IType DeclaringType {
49
59
                        get {
50
60
                                return declaringType;
146
156
                        }
147
157
                }
148
158
                
 
159
                public virtual void Add (IParameter parameter)
 
160
                {
 
161
                        throw new InvalidOperationException ();
 
162
                }
 
163
                
 
164
                public void Add (IEnumerable<IParameter> parameters)
 
165
                {
 
166
                        if (parameters == null)
 
167
                                return;
 
168
                        foreach (IParameter parameter in parameters) {
 
169
                                Add (parameter);
 
170
                        }
 
171
                }
 
172
                
149
173
                List<IAttribute> attributes = null;
150
174
                static readonly IAttribute[] emptyAttributes = new IAttribute[0];
151
175
                public virtual IEnumerable<IAttribute> Attributes {