-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
#1681 'using' statements life hacks #1682
Conversation
@TomPallister Hey Tom! |
@RaynaldM Hi Ray! |
I've decided not adding this comment line because implicit usings are disabled now and all global usings are presented in this file.
Implicit usings are disabled at all. We will use global explicit usings. This is more clear approach to manage usings. Pay attention that sample projects have implicit usings disabled also, but they won't have Usings.cs file because of small code base. So, there is no sense to add global usings to the sample projects, therefore all using statements will be explicit for samples. Could you review once again and approve please? |
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.
A lot of files 😊
@TomPallister |
@raman-m, no, I received a message last week telling me that I was no longer part of the team |
Oh, my gosh! I am very sorry! Don't worry, I can still add you to the team. Maybe Tom tried to change security policies... P.S. Please, forward GitHub message aka notification concerning your removal from the team, to me: dotnet044 at gmail dot com |
done |
IDE0005: Using directive is unnecessary.
Remove 'global::' prefix
Remove and Sort Usings
Remove Unnecessary Usings
@RaynaldM Approve once again please! |
Fixes #1681
Proposed Changes
using
code block starts at the beginning of file!using
statements are sortedusing
statements are removedusing
statementsusing
statements are decreased to the minimum