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

« back to all changes in this revision

Viewing changes to contrib/Mono.Cecil/Mono.Cecil/Mono.Cecil/FunctionPointerType.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:
50
50
                        set { m_function.CallingConvention = value; }
51
51
                }
52
52
 
 
53
                public bool HasParameters {
 
54
                        get { return m_function.HasParameters; }
 
55
                }
 
56
 
53
57
                public ParameterDefinitionCollection Parameters {
54
58
                        get { return m_function.Parameters; }
55
59
                }
81
85
                                sb.Append (" ");
82
86
                                sb.Append (m_function.ReturnType.ReturnType.FullName);
83
87
                                sb.Append (" *(");
84
 
                                for (int i = 0; i < m_function.Parameters.Count; i++) {
85
 
                                        if (i > 0)
86
 
                                                sb.Append (",");
87
 
 
88
 
                                        if (i == sentinel)
89
 
                                                sb.Append ("...,");
90
 
 
91
 
                                        sb.Append (m_function.Parameters [i].ParameterType.FullName);
 
88
                                if (m_function.HasParameters) {
 
89
                                        for (int i = 0; i < m_function.Parameters.Count; i++) {
 
90
                                                if (i > 0)
 
91
                                                        sb.Append (",");
 
92
 
 
93
                                                if (i == sentinel)
 
94
                                                        sb.Append ("...,");
 
95
 
 
96
                                                sb.Append (m_function.Parameters [i].ParameterType.FullName);
 
97
                                        }
92
98
                                }
93
99
                                sb.Append (")");
94
100
                                return sb.ToString ();