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

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Projects/MonoDevelop.Projects.Dom/CopyDomVisitor.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2010-01-10 14:25:59 UTC
  • mfrom: (1.2.5 upstream) (1.3.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100110142559-sorji5exvk9tyknr
Tags: 2.2+dfsg-2
* debian/rules/remove_support_for_non_debian_functionality.patch:
  + Also fix monodevelop-core-addins.pc to remove links to the
    addins we remove in Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
183
183
                        DomParameter result = new DomParameter ();
184
184
                        result.Name               = source.Name;
185
185
                        result.ParameterModifiers = source.ParameterModifiers;
186
 
                        result.ReturnType         = (IReturnType) source.ReturnType.AcceptVisitor (this, data);
 
186
            if (source.ReturnType != null)
 
187
                            result.ReturnType         = (IReturnType) source.ReturnType.AcceptVisitor (this, data);
187
188
                        foreach (IAttribute attr in source.Attributes)
188
189
                                result.Add ((IAttribute) attr.AcceptVisitor (this, data));
189
190
                        return result;