Created
June 20, 2015 12:10
-
-
Save rofr/0dc9c0e1bf30bc82a9b3 to your computer and use it in GitHub Desktop.
hackity hack..
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
internal static Boolean HasRefArg(MethodInfo methodInfo) | |
{ | |
const string pattern = " ByRef[,)]"; | |
return Regex.IsMatch(methodInfo.ToString(), pattern); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment