Boo
  1. Boo
  2. BOO-404

custom parameter attributes

    Details

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

      Description

      Custom parameter attributes aren't being added.

      import System
      [AttributeUsage(AttributeTargets.Parameter, AllowMultiple: false, Inherited:true)]
      class DemoAttribute(Attribute):
      def constructor():
      print "DemoAttribute constructor"

      class DemoClass:
      def DemoMethod([Demo] demoArg):
      pass

      print typeof(DemoClass).GetMethod("DemoMethod").GetParameters()[0].GetCustomAttributes(true)[0]

        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: