-
Notifications
You must be signed in to change notification settings - Fork 260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.NET Core - HttpWebRequest #245
Comments
I'm sorry I didn't dig deep but it turns out that the |
@alexandrnikitin I look on currently TypeExtensions source code via decompiler and it's look currently .NET Core doesn't support GetConstructors();
|
@jirisykora83 I wouldn't be surprised if they shipped that not implemented version. But hopefully they didn't. https://github.com/dotnet/corefx/blob/release/1.0.0/src/System.Reflection.TypeExtensions/src/System/Reflection/TypeExtensions.CoreCLR.cs |
Could not reproduce this with NSub 3.0 and .NET Core 2.0. Please re-open is this is still an issue. |
In .NET Core not working this code. But same code working on full .NET.
HttpWebRequest webRequestMock = Substitute.For<HttpWebRequest>();
Error message:
Parent does not have a default constructor. The default constructor must be explicitly defined.
StackTrace:
The text was updated successfully, but these errors were encountered: