Update MethodInfoExtractor.cs

Added support for non-public methods to MethodInfoExtractor.