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

IDE0160: Add csharp_style_namespace_declarations=file_scoped:warning #61

Merged
merged 1 commit into from
Oct 13, 2021

Conversation

RehanSaeed
Copy link
Owner

Prefer this using csharp_style_namespace_declarations = file_scoped:

namespace SampleCode;

public class MyClass
{
}

To this using csharp_style_namespace_declarations = block_scoped:

namespace SampleCode
{
    public class MyClass
    {
    }
}

@RehanSaeed RehanSaeed added enhancement Issues describing an enhancement or pull requests adding an enhancement. major Pull requests requiring a major version update according to semantic versioning. labels Oct 12, 2021
@RehanSaeed RehanSaeed requested a review from henrygab October 12, 2021 10:01
@RehanSaeed RehanSaeed merged commit d640370 into main Oct 13, 2021
@RehanSaeed RehanSaeed deleted the add-csharp_style_namespace_declarations branch October 13, 2021 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issues describing an enhancement or pull requests adding an enhancement. major Pull requests requiring a major version update according to semantic versioning.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants