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
Currently all generated methods are public regardless of the visibility of the contained type.
public
Thus the following generates invalid code because the generated members have inconsistent accessibility:
internal class A { } [Variant] public class Variant { static partial void VariantOf(A a); // generated code: // CS0051 and CS0057: Inconsistent accessibility public void Match(out A a) { ... } }
The text was updated successfully, but these errors were encountered:
mknejp
No branches or pull requests
Currently all generated methods are
public
regardless of the visibility of the contained type.Thus the following generates invalid code because the generated members have inconsistent accessibility:
The text was updated successfully, but these errors were encountered: