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

Fix code format #1065

Merged
merged 4 commits into from Jul 15, 2019
Merged

Conversation

lindexi
Copy link
Contributor

@lindexi lindexi commented Jul 9, 2019

Summary

Fix the code in Assembly.GetType Method (System.Reflection)

In corefx/coding-style.md at master · dotnet/corefx NO.1, we use Allman style braces, where each brace begins on a new line. A single line statement block can go without braces but the block must be properly indented on its own line and must not be nested in other statement blocks that use braces (See issue 381 for examples). One exception is that a using statement is permitted to be nested within another using statement by starting on the following line at the same indentation level, even if the nested using contains a controlled block.

lindexi and others added 3 commits March 23, 2019 08:30
In [corefx/coding-style.md at master · dotnet/corefx](https://github.com/dotnet/corefx/blob/master/Documentation/coding-guidelines/coding-style.md ) NO.1, we use Allman style braces, where each brace begins on a new line. A single line statement block can go without braces but the block must be properly indented on its own line and must not be nested in other statement blocks that use braces (See issue 381 for examples). One exception is that a using statement is permitted to be nested within another using statement by starting on the following line at the same indentation level, even if the nested using contains a controlled block.
@lindexi lindexi requested a review from BillWagner as a code owner July 9, 2019 00:21
Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

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

Thanks again for making these updates @lindexi We appreciate it.

We’re also updated our samples to use interpolated strings. Can you make the suggested updates on this PR? I’ll merge it then.

@BillWagner BillWagner merged commit 63c23fe into dotnet:master Jul 15, 2019
@lindexi lindexi deleted the t/lindexi/assembly_gettype branch July 17, 2019 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants