Skip to content

C#: Fix inconsistent casing of Cs/CS.#21613

Open
aschackmull wants to merge 1 commit intogithub:mainfrom
aschackmull:csharp/consistent-cs-abbrev
Open

C#: Fix inconsistent casing of Cs/CS.#21613
aschackmull wants to merge 1 commit intogithub:mainfrom
aschackmull:csharp/consistent-cs-abbrev

Conversation

@aschackmull
Copy link
Copy Markdown
Contributor

Flagged by ql-for-ql. CS was more common so I went with that.

@aschackmull aschackmull requested a review from a team as a code owner March 30, 2026 13:27
Copilot AI review requested due to automatic review settings March 30, 2026 13:27
@aschackmull aschackmull added the no-change-note-required This PR does not need a change note label Mar 30, 2026
@github-actions github-actions bot added the C# label Mar 30, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR standardizes the casing of the C# QL import alias to CS across a few internal library/test modules, aligning with the predominant convention flagged by ql-for-ql.

Changes:

  • Renamed private import csharp as Cs to private import csharp as CS and updated corresponding qualifier uses.
  • Removed an unused csharp as Cs import from SsaImpl.qll.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
csharp/ql/lib/utils/test/InlineMadTest.qll Renames Cs alias to CS in the inline MAD test language adapter.
csharp/ql/lib/semmle/code/csharp/dataflow/internal/SsaImpl.qll Removes an unused csharp as Cs import in DataFlowIntegrationInput.
csharp/ql/lib/semmle/code/csharp/dataflow/internal/FlowSummaryImpl.qll Renames Cs alias to CS in the source/sink interpretation input module.
csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowPrivate.qll Renames Cs alias to CS in variable capture internals.

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

Labels

C# no-change-note-required This PR does not need a change note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants