We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Version Used: 98ea496
Steps to Reproduce:
abstract record R1 { public sealed record Derived(E E) : R1; // error CS8866 (expected?) public enum E { } } abstract class R2 { public sealed class Derived : R2 { public Derived(E E) => this.E = E; public new E E { get; } // notice the `new` modifier } public enum E { } }
Expected Behavior: No errors or at least a warning.
Actual Behavior: error CS8866: Record member 'R1.E' must be a readable instance property or field of type 'R1.E' to match positional parameter 'E'.
error CS8866: Record member 'R1.E' must be a readable instance property or field of type 'R1.E' to match positional parameter 'E'.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version Used: 98ea496
Steps to Reproduce:
Expected Behavior: No errors or at least a warning.
Actual Behavior:
error CS8866: Record member 'R1.E' must be a readable instance property or field of type 'R1.E' to match positional parameter 'E'.
The text was updated successfully, but these errors were encountered: