Add a Test Class to FindGeneric
To test FindGeneric, run it on an input assembly that has at least one generic class with one or more generic methods.
A simple way to create a test case is to add a class to FindGeneric that contains one or more generic methods. You can then test FindGeneric by running the application on itself, as described in
How to Compile and Run FindGeneric
. The following is an example of a simple test class.
void TestMethod<U>(U p1, U p2, int p3)
If you insert this class into FindGeneric and then run the application against itself, you should see the following output:
Generic Methods in generic types from 'FindGeneric':
FindGeneric.Test<T>.TestMethod<U>(U p1, U p2, System.Int32 p3)
Return to Beginning