GeraldLx

Results 8 comments of GeraldLx

You probably need to specify your setup more specific. I cannot reproduce the problem. I made a small project targeting the oldest .NET version supported by NSubstitute 2.0.3 (which is...

I know the template system now for a long time and love how it works. As long as I am in full control of the code, there is no problem....

Personally I would suggest a mix of the recommendations. I would change the OutParam to follow the Dispose pattern. Then your OutParam has a nice virtual Dispose method. Then you...

You expect that everyone can compile your code. It would be much easier to help, if you could provide a sample code. If all you want is a substitute for...

I still dont know which version you are talking about. I just pulled the latest PRISM NuGet packages. I also dont understand why the change of DialogResult to internal is...

Version 2 works for me without RedundantArgumentMatcherException and is the right syntax. Personally I would ask if it is really a good thing to use a mocking framework for this...

Not sure what you are trying to do. The Arg.AnyType was introduced to say "I dont care which type, I just want to test that the method was called". So...

NSubstitute relies on Castle.Core for proxy generation. It seems Castle.Core does not work with ref struct types. So there is not much NSubstitute can do about this.