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

Run dotnet-format on Roslyn #55679

Merged
merged 2 commits into from
Aug 23, 2021
Merged

Run dotnet-format on Roslyn #55679

merged 2 commits into from
Aug 23, 2021

Conversation

ryzngard
Copy link
Contributor

@ryzngard ryzngard commented Aug 17, 2021

More changes from running dotnet-format on Roslyn.

Version of dotnet-format run: 6.0.240501

@@ -3650,7 +3650,7 @@ private void AddSynthesizedRecordMembersIfNecessary(MembersAndInitializersBuilde
memberNames.Free();

// Synthesizing non-readonly properties in struct would require changing readonly logic for PrintMembers method synthesis
Debug.Assert(isRecordClass || !members.Any(m => m is PropertySymbol { GetMethod.IsEffectivelyReadOnly : false }));
Debug.Assert(isRecordClass || !members.Any(m => m is PropertySymbol { GetMethod.IsEffectivelyReadOnly: false }));
Copy link
Member

Choose a reason for hiding this comment

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

This change was made in a separate PR that bumps the CodeStyle analyzers that are used in Roslyn (See https://github.com/dotnet/roslyn/pull/55646/files#diff-d8309181586dfce90074c20deb6e6bc4bf23ae0cf0b9c02b850ee1f9ee055091R3653)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Merged from main and rerun with latest

@JoeRobich
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@ryzngard ryzngard marked this pull request as ready for review August 20, 2021 20:14
@ryzngard ryzngard requested review from a team as code owners August 20, 2021 20:14
@jcouv
Copy link
Member

jcouv commented Aug 23, 2021

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@jcouv
Copy link
Member

jcouv commented Aug 23, 2021

@ryzngard This can be merged with single compiler review since no code change.

@ryzngard ryzngard merged commit ab7aae6 into dotnet:main Aug 23, 2021
@ghost ghost added this to the Next milestone Aug 23, 2021
@ryzngard ryzngard deleted the format/8_17_2021 branch August 23, 2021 19:43
@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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants