Here is the test case to prove:

    public class Foo
    {
        public Foo(object [] o)
        {
            Console.WriteLine(o??(object)"null array");
        }

        public static void Main(string[] args)
        {
            Mockery.GenerateMock<Foo>(null);
        }
    }

output: null array



2009/7/22 Krzysztof Koźmic (2) <[email protected]>:
> That's just drawback of using params object[] because this means:
> "literally anything". That's why we deprecated this in DynamicProxy

Krzysztof,

I'm curious to know what is the replacement for this.

Cheers,
Kenneth

--~--~---------~--~----~------------~-------~--~----~
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