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
Support for CSharp 9 #207
Comments
I'll add another to the list:
This is debatable.
This would be reasonably straightforward as the setter's return type gets annotated with a This would be a prerequisite for...
Sensible support for
I think we should start by focusing on |
As of 5/17/2022, Visual Studio 17.2.1 and/or SDK 6.0.300 uses the
In my application, these methods of struct record types are not listed anymore in the output:
Additionally, for class record types, these methods are not listed in the output:
|
Also see #247 |
As with |
I think that no one wants to see all that internal default stuff for records : |
Actually all that stuff is filtered out now by |
// in core library
public record User(string login, string password); // switch to User1
public class User1 : System.IEquatable<User1>
{
public User1(string login, string password) { }
public string login { get; init; }
public string password { get; init; }
}
// in some external library
public record Admin(string login, string password) : User(login, password)
{
protected override bool PrintMembers(StringBuilder builder) // BOOM after swithing from record to class for User
{
builder.Append("BlaBlaBla");
return base.PrintMembers(builder);
}
} User and User1 APIs are equal. |
Well, I found a bug. See |
The text was updated successfully, but these errors were encountered: