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

« back to all changes in this revision

Viewing changes to contrib/Mono.Cecil/Mono.Cecil/Mono.Cecil/SecurityDeclarationReader.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:
95
95
                                                return dec;
96
96
                                        }
97
97
 
98
 
                                        IPermission p = sa.CreatePermission ();
99
 
                                        dec.PermissionSet.AddPermission (p);
 
98
                                        try {
 
99
                                                IPermission p = sa.CreatePermission ();
 
100
                                                dec.PermissionSet.AddPermission (p);
 
101
                                        } catch {
 
102
                                                dec.Resolved = false;
 
103
                                                dec.Blob = declaration;
 
104
                                                return dec;
 
105
                                        }
100
106
                                }
101
107
 
102
108
                                dec.Resolved = true;
156
162
                                }
157
163
                        }
158
164
 
 
165
                        start = (int) br.BaseStream.Position;
 
166
 
159
167
                        return sa;
160
168
                }
161
169
#endif