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

C#: Re-factor imports. #13995

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

michaelnebel
Copy link
Contributor

In this PR we introduce the following standard for using statements in our C# extractor source code files.
The order is

  • System* (the standard library).
  • Third party libraries (eg. Microsoft.CodeAnalysis).
  • Semmle* (out own namespaces), starting with Semmle.Util* (the remaining is in alphabetical order)
  • Type abbreviations (using X = Y).

Unit test projects follows the same pattern except that the first using statement is using Xunit.

@github-actions github-actions bot added the C# label Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant