Avoid possible multiple enumerations in ImportModuleCommand.IsPs1xmlFileHelper_IsPresentInEntries#26104
Merged
iSazonov merged 1 commit intoOct 12, 2025
Conversation
iSazonov
approved these changes
Oct 9, 2025
Contributor
Author
|
Check failure is known issue. |
Collaborator
|
@xtqqczze Please rebase. |
…_IsPresentInEntries` Fix [CA1851: Possible multiple enumerations of 'IEnumerable' collection](https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
auto-merge was automatically disabled
October 10, 2025 10:02
Head branch was pushed to by a user without write access
a054a1e to
5e8d849
Compare
Contributor
Author
|
Rebased. |
Collaborator
|
/azp run PowerShell-Windows-Packaging-CI, PowerShell-CI-linux-packaging |
|
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
Contributor
Author
|
All checked have passed. |
ImportModuleCommand.IsPs1xmlFileHelper_IsPresentInEntriesImportModuleCommand.IsPs1xmlFileHelper_IsPresentInEntries
ImportModuleCommand.IsPs1xmlFileHelper_IsPresentInEntries
Contributor
|
📣 Hey @@xtqqczze, how did we do? We would love to hear your feedback with the link below! 🗣️ 🔗 https://aka.ms/PSRepoFeedback |
SIRMARGIN
pushed a commit
to SIRMARGIN/PowerShell
that referenced
this pull request
Dec 12, 2025
…ileHelper_IsPresentInEntries (PowerShell#26104)
kilasuit
pushed a commit
to kilasuit/PowerShell
that referenced
this pull request
Jan 2, 2026
…ileHelper_IsPresentInEntries (PowerShell#26104)
JustinGrote
pushed a commit
to JustinGrote/PowerShell
that referenced
this pull request
Jun 2, 2026
…ileHelper_IsPresentInEntries (PowerShell#26104)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fix CA1851: Possible multiple enumerations of 'IEnumerable' collection