GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Remove unnecessary usings part 1 by xtqqczze · Pull Request #14014 · PowerShell/PowerShell

Conversation

@xtqqczze

@xtqqczze xtqqczze commented Nov 9, 2020 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

src\Microsoft.Management.Infrastructure.CimCmdlets\Microsoft.Management.Infrastructure.CimCmdlets.csproj

Contributes to #13504.

https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
xtqqczze added 2 commits November 9, 2020 16:37
@xtqqczze
Fix IDE0005: Remove unnecessary import
b410e47
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005
@xtqqczze
Sort usings
1dcf155
@ghost ghost assigned Ilya (iSazonov) Nov 9, 2020
@xtqqczze xtqqczze mentioned this pull request Nov 9, 2020
WIP: Fix IDE0005: Remove unnecessary usings #13504
Closed
@iSazonov

Ilya (iSazonov) commented Nov 9, 2020

Copy link
Copy Markdown
Collaborator

Why do you use import term instead of using?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@iSazonov Ilya (iSazonov) added the CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log label Nov 9, 2020
@xtqqczze xtqqczze changed the title Fix IDE0005: Remove unnecessary import part 1 Fix IDE0005: Remove unnecessary usings part 1 Nov 10, 2020
@xtqqczze

xtqqczze commented Nov 10, 2020 •
edited by unfurl-links Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

Why do you use import term instead of using?

It is the description in documentation:
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005

IDE0005: Remove unnecessary import - .NET
Learn about code analysis rule IDE0005: Remove unnecessary import
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@xtqqczze xtqqczze changed the title Fix IDE0005: Remove unnecessary usings part 1 Remove unnecessary usings part 1 Nov 10, 2020
iSazonov
Ilya (iSazonov) approved these changes Nov 10, 2020
View reviewed changes
@iSazonov
Ilya (iSazonov) merged commit 8f0c631 into PowerShell:master Nov 10, 2020
@xtqqczze
xtqqczze deleted the IDE0005-p1 branch November 10, 2020 12:09
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
@xtqqczze
Remove unnecessary usings part 1 (PowerShell#14014)
aee9f02
* Fix IDE0005: Remove unnecessary import

https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005

* Sort usings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@iSazonov Ilya (iSazonov) iSazonov approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@iSazonov Ilya (iSazonov)

Labels

CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@xtqqczze @iSazonov
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.