Got it, just forgot the cast:
if (paraType.IsByReference)
paraType = ((ByReferenceType)paraType).ElementType; // removes refThanks Jan -- -- mono-cecil
Got it, just forgot the cast:
if (paraType.IsByReference)
paraType = ((ByReferenceType)paraType).ElementType; // removes refThanks Jan -- -- mono-cecil