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

Don't add accessibility modifiers to partial classes in new documents #55713

Conversation

davidwengier
Copy link
Contributor

Fixes #55703

Unfortunately we don't have enough information to go on when processing new documents to do anything smarter here :(

@davidwengier davidwengier requested a review from a team as a code owner August 18, 2021 23:34
Copy link
Member

@CyrusNajmabadi CyrusNajmabadi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

c# side lgtm. but can we validate if we have an issue with VB?

@davidwengier
Copy link
Contributor Author

validate if we have an issue with VB?

Mentioned above, but for visibility, adjusting accessibility modifiers in new documents only happens for C# files.

davidwengier and others added 4 commits August 19, 2021 15:55
PackageSettingsPersister.InitializeAsync is not guaranteed to complete
before the constructor returns, so it's possible for TryFetch to be
called. This method is now implemented to provide a best-known value
prior to initialization completing.
@davidwengier davidwengier enabled auto-merge (squash) August 19, 2021 23:46
@davidwengier davidwengier merged commit 7c6289a into dotnet:main Aug 20, 2021
@ghost ghost added this to the Next milestone Aug 20, 2021
@davidwengier davidwengier deleted the AccessibilityModifiersForPartialModifiers branch August 20, 2021 06:17
@dibarbet dibarbet modified the milestones: Next, 17.0.P4 Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants