~ubuntu-branches/ubuntu/lucid/monodevelop/lucid

« back to all changes in this revision

Viewing changes to contrib/Mono.Cecil/Mono.Cecil/Mono.Cecil/FieldDefinition.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2010-02-02 11:39:59 UTC
  • mfrom: (1.2.6 upstream) (1.3.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100202113959-s4exdz7er7igylz2
Tags: 2.2.1+dfsg-1
* New upstream release
* debian/control:
  + Standards version 3.8.4 (no changes needed)
* debian/patches/remove_support_for_non_debian_functionality.patch,
  debian/patches/remove_support_for_soft_debugger.patch,
  debian/patches/remove_support_for_moonlight.patch,
  debian/rules:
  + Split patch into two pieces, to make it easier to enable either
    SDB or Moonlight support with a rebuild
* debian/monodevelop-moonlight.install,
  debian/monodevelop-debugger-sdb.install,
  debian/control:
  + Create packaging data for the Soft Debugger addin and Moonlight addin -
    and comment them out of debian/control as we can't provide them on
    Debian for now

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
                        }
89
89
                }
90
90
 
 
91
                public bool HasCustomAttributes {
 
92
                        get { return (m_customAttrs == null) ? false : (m_customAttrs.Count > 0); }
 
93
                }
 
94
 
91
95
                public CustomAttributeCollection CustomAttributes {
92
96
                        get {
93
97
                                if (m_customAttrs == null)
269
273
 
270
274
                #endregion
271
275
 
 
276
                public new TypeDefinition DeclaringType {
 
277
                        get { return (TypeDefinition) base.DeclaringType; }
 
278
                        set { base.DeclaringType = value; }
 
279
                }
 
280
 
272
281
                public FieldDefinition (string name, TypeReference fieldType,
273
282
                        FieldAttributes attrs) : base (name, fieldType)
274
283
                {
275
284
                        m_attributes = attrs;
276
285
                }
277
286
 
 
287
                public override FieldDefinition Resolve ()
 
288
                {
 
289
                        return this;
 
290
                }
 
291
 
278
292
                public FieldDefinition Clone ()
279
293
                {
280
294
                        return Clone (this, new ImportContext (NullReferenceImporter.Instance, this.DeclaringType));