Need help regarding anonymous methods
Hi,
I am creating a rule which checks for Class level variables, method level variables and method parameters. I know that for anonymous methods the nested class is generated by the compiler. But for the following anonymous method no nested class is generated but compiler creates a static method is generated
// Create a delegate instance
delegatevoidDel (int x);
// Instantiate the delegate using ananonymous method
Del d =delegate(int derive_one) {/* ... */};
The compiler creates a static method for such an anonymous method which has some compiler generated complex name and is contained in the same class as anonymous method. I m not able to differentiate between this compiler generated method and user defined method. I need help on it. If anybody has any idea about it pls let me know.
Thanks

