-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Fix 'create constructor' with types without bodies #76083
Fix 'create constructor' with types without bodies #76083
Conversation
|
||
#region constructors | ||
|
||
#endregion | ||
|
||
public C(int i) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is it about calling EnsureOpenAndCloseBraceTokens
that caused this constructor to change where it was generated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Never mind. I should have just looked.
Lines 121 to 124 in 151e2d7
if (!hasMembers) | |
{ | |
// Bug 539673: If there are no members, take any trivia that | |
// belongs to the end brace and attach it to the opening brace. |
fixes #72340