You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following code used to work in 4.2.1409.1722, but does not in 4.2.1502.0911. It throw a StackOverflowException. Please fix it. This looks similar to #161
var httpContext = new Mock<HttpContextBase> { DefaultValue = DefaultValue.Mock };
httpContext.SetupGet(c => c.Request.Cookies).Returns(new HttpCookieCollection());
The text was updated successfully, but these errors were encountered:
`SerializableTypesValueProvider` is supposed to work around Castle
DynamicProxy refusing to proxy classes that implement ISerializable
incorrectly. In such cases, Moq is supposed to just fall back to
the empty default value provider, even when a mock has been set up
to use the mock default value provider.
The problem was mentioned in GitHub issue devlooped#163, and there was even
a test demonstrating how Moq previously propagated DynamicProxy's
exception. A fix was then added to Moq, but no tests. This commit
adds some. Better late than never.
Following code used to work in 4.2.1409.1722, but does not in 4.2.1502.0911. It throw a
StackOverflowException
. Please fix it. This looks similar to #161The text was updated successfully, but these errors were encountered: