Given a ParameterInfo p
from this:
void foo(int modopt(IsLong) n);
p.GetOptionalCustomModifiers()
returns a System.Runtime.CompilerServices.IsLong; however, if the method signature happens to be:
void foo(out int modopt(IsLong) n);
It does not. Is there a work around for this?