Skip to content
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 file scoped types #748

Closed
belav opened this issue Oct 28, 2022 · 1 comment · Fixed by #759
Closed

Support file scoped types #748

belav opened this issue Oct 28, 2022 · 1 comment · Fixed by #759

Comments

@belav
Copy link
Owner

belav commented Oct 28, 2022

https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-11#file-scoped-types

@belav
Copy link
Owner Author

belav commented Oct 29, 2022

This works with Microsoft.CodeAnalysis.CSharp 4.4.0-4.final, probably best to wait until that is an official release which should be soon.

file class HiddenWidget
{
    // implementation
}

Also #744 may need to take the file modifier into account.

belav added a commit that referenced this issue Nov 21, 2022
@belav belav added this to the 1.0.0 milestone Nov 21, 2022
belav added a commit that referenced this issue Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant