Skip to content

Rename PCB.cs to Pcb.cs to match declared type name#22

Merged
casuffitsharp merged 2 commits intochore/sq_issuesfrom
copilot/sub-pr-21
Mar 2, 2026
Merged

Rename PCB.cs to Pcb.cs to match declared type name#22
casuffitsharp merged 2 commits intochore/sq_issuesfrom
copilot/sub-pr-21

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 2, 2026

The file PCB.cs was misaligned with the Pcb class it contains, breaking C# filename/type conventions and degrading tooling support (e.g. Go To File/Type).

Changes

  • Renamed src/ProcSim.Core/Process/PCB.csPcb.cs

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: casuffitsharp <78829483+casuffitsharp@users.noreply.github.com>
Copilot AI changed the title [WIP] Address feedback on sonar refactor to resolve remaining issues Rename PCB.cs to Pcb.cs to match declared type name Mar 2, 2026
@casuffitsharp casuffitsharp marked this pull request as ready for review March 2, 2026 04:12
@casuffitsharp casuffitsharp merged commit f8fe835 into chore/sq_issues Mar 2, 2026
1 check passed
@casuffitsharp casuffitsharp deleted the copilot/sub-pr-21 branch March 2, 2026 04:12
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Mar 2, 2026

casuffitsharp added a commit that referenced this pull request Mar 2, 2026
* refactor(sonar): addresses sonarqube issues

* [WIP] Update implementation based on feedback from sonar review (#24)

* Initial plan

* refactor: rename CPU.cs to Cpu.cs to match the Cpu type name

Co-authored-by: casuffitsharp <78829483+casuffitsharp@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: casuffitsharp <78829483+casuffitsharp@users.noreply.github.com>

* Use pattern matching to eliminate NullReferenceException in OnSelectedProcessChanged (#23)

* Initial plan

* Use pattern matching instead of unsafe cast in OnSelectedProcessChanged

Co-authored-by: casuffitsharp <78829483+casuffitsharp@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: casuffitsharp <78829483+casuffitsharp@users.noreply.github.com>

* Rename PCB.cs to Pcb.cs to match declared type name (#22)

* Initial plan

* Rename PCB.cs to Pcb.cs to match the Pcb class name

Co-authored-by: casuffitsharp <78829483+casuffitsharp@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: casuffitsharp <78829483+casuffitsharp@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* [WIP] Update PR to resolve SonarQube issues based on feedback (#25)

* Initial plan

* Fix ConvertBack to parse parameter as string instead of casting to bool

Co-authored-by: casuffitsharp <78829483+casuffitsharp@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: casuffitsharp <78829483+casuffitsharp@users.noreply.github.com>

* Adjusted #pragma warning restore S2325 placement for clarity.

* Fix BooleanToVisibilityConverter parameter handling to support both string and bool types (#26)

* Initial plan

* Fix BooleanToVisibilityConverter to handle parameter as both string and bool

Co-authored-by: casuffitsharp <78829483+casuffitsharp@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: casuffitsharp <78829483+casuffitsharp@users.noreply.github.com>

* Performing code cleanup

* Use null-conditional when updating prev process state

Replaced direct assignment with null-conditional operator for prev.State to prevent possible NullReferenceException if prev is null.

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants