Created
February 12, 2014 21:09
-
-
Save kumpera/8964570 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| using System; | |
| using System.Reflection; | |
| class Base { | |
| internal void Foo () {} | |
| } | |
| class Child { | |
| internal void Bar () {} | |
| } | |
| class Driver { | |
| static void Main () | |
| { | |
| var all = typeof(Child).GetMethods (BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static ); | |
| foreach (var m in all) | |
| Console.WriteLine (m); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment