Method Parameter Reflection...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bryan

    #1

    Method Parameter Reflection...

    Does anyone know if there is a way, when reflecting on a method (given a
    System.Reflecti on.MethodInfo object), to tell if a parameter of type
    "object[]" is actually a "params object[]" parameter? Basically, is there a
    way to tell these two function signatures apart, given their MethodInfo
    objects? --

    void foo(params object[] o)
    void bar(object[] o)

    Thanks,
    Bryan


Working...