Skip to content

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

Merged
davidwengier merged 5 commits intodotnet:mainfrom
davidwengier:AccessibilityModifiersForPartialModifiers
Aug 20, 2021
Merged

Don't add accessibility modifiers to partial classes in new documents#55713
davidwengier merged 5 commits intodotnet:mainfrom
davidwengier:AccessibilityModifiersForPartialModifiers

Conversation

@davidwengier
Copy link
Member

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
@ghost ghost added the Area-IDE label Aug 18, 2021
Copy link
Contributor

@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
Member 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

Development

Successfully merging this pull request may close these issues.

Internal modifier added to partial classes breaks new project creation for WinForms, WebTools and anything using partial classes in their templates

4 participants