I have a C# application running under a vendor provided application framework that has a bug in it. I can work around the bug by using reflection to redirect an event handler, but I need to get the instance of the class. I can see the bug from the logging. I don't have source for the application framework and the application framework is no longer supported by the vendor.
I know that memory profilers like redgate can inventory everything in memory so there must be an approach that can get me started.
So how do I grab an instance of an object where I do not have a direct reference?