I'll have to look into this but can you explain the use case behind doing 
something like this?

On Aug 18, 2010, at 1:26 AM, Sydney du Plooy <[email protected]> wrote:

> Executing the following code snippet in Rhino Mocks v3.5 and v3.6
> produces two different results. Is the difference in behavior by
> design?
> 
> public interface IFoo
> {
>    void DoSomething();
> }
> 
> class Program
> {
>    static void Main(string[] args)
>    {
>        var stub = MockRepository.GenerateStub<IFoo>();
>        var method = stub.GetType().GetMethod("DoSomething");
>        if (method == null)
>            Console.WriteLine("DoSomething method not found.");
>        else
>            Console.WriteLine("DoSomething method found.");
> 
>        Console.ReadLine();
>    }
> }
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Rhino.Mocks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/rhinomocks?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino.Mocks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rhinomocks?hl=en.

Reply via email to