~ubuntu-branches/ubuntu/wily/monodevelop/wily

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2010-02-02 11:39:59 UTC
  • mfrom: (10.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20100202113959-n3u848nfj35yyd03
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:
58
58
                        set { m_remMeth = value; }
59
59
                }
60
60
 
 
61
                public bool HasCustomAttributes {
 
62
                        get { return (m_customAttrs == null) ? false : (m_customAttrs.Count > 0); }
 
63
                }
 
64
 
61
65
                public CustomAttributeCollection CustomAttributes {
62
66
                        get {
63
67
                                if (m_customAttrs == null)
91
95
 
92
96
                #endregion
93
97
 
 
98
                public new TypeDefinition DeclaringType {
 
99
                        get { return (TypeDefinition) base.DeclaringType; }
 
100
                        set { base.DeclaringType = value; }
 
101
                }
 
102
 
94
103
                public EventDefinition (string name, TypeReference eventType,
95
104
                        EventAttributes attrs) : base (name, eventType)
96
105
                {
97
106
                        m_attributes = attrs;
98
107
                }
99
108
 
 
109
                public override EventDefinition Resolve ()
 
110
                {
 
111
                        return this;
 
112
                }
 
113
 
100
114
                public static MethodDefinition CreateAddMethod (EventDefinition evt)
101
115
                {
102
116
                        MethodDefinition add = new MethodDefinition (