Boo
  1. Boo
  2. BOO-476

emit custom attributes for constructors

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.6
    • Fix Version/s: 0.7
    • Component/s: Emitter
    • Labels:
      None
    • Testcase included:
      yes
    • Number of attachments :
      1

      Description

      I missed this when fixing an earlier bug with emitting custom attributes for parameters.
      This patch emits attributes for constructors too.

      Also, custom attributes on the return type of a method are not emitted. Although apparently there is a bug in .NET 1.1's system.reflection.emit preventing this from working anyway (DefineParameter cannot be called with an index of 0, which specifies the return type). This prevents using things like wsdl generated wrapper classes (using the google api for example).

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Doug H
            Reporter:
            Doug H
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: