[PR #13938] [MERGED] Fix C# warnings across the project, modernize slightly #29838

Open
opened 2026-01-31 09:37:10 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/13938
Author: @SiliconA-Z
Created: 9/7/2022
Status: Merged
Merged: 11/1/2022
Merged by: @undefined

Base: mainHead: CS


📝 Commits (5)

📊 Changes

6 files changed (+65 additions, -62 deletions)

View changed files

📝 src/cascadia/WindowsTerminal_UIATests/Common/NativeMethods.cs (+13 -13)
📝 src/cascadia/WindowsTerminal_UIATests/Elements/TerminalApp.cs (+1 -1)
📝 src/cascadia/WpfTerminalControl/TerminalContainer.cs (+24 -21)
📝 src/cascadia/WpfTerminalControl/TerminalControl.xaml.cs (+13 -13)
📝 src/host/ft_uia/Common/NativeMethods.cs (+13 -13)
📝 src/host/ft_uia/Elements/CmdApp.cs (+1 -1)

📄 Description

No behavioral changes, just C# modernizations.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/13938 **Author:** [@SiliconA-Z](https://github.com/SiliconA-Z) **Created:** 9/7/2022 **Status:** ✅ Merged **Merged:** 11/1/2022 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `CS` --- ### 📝 Commits (5) - [`f15aed5`](https://github.com/microsoft/terminal/commit/f15aed56a27bae9371a184a80a95a0ced2bd9076) Fix C# Warnings - [`b94d7ab`](https://github.com/microsoft/terminal/commit/b94d7ab681a8d690c599ed36b87b34d4662ad3a5) Committed suggestions - [`bd1b188`](https://github.com/microsoft/terminal/commit/bd1b188423641785f700240aebb21e265ecf307c) Update TerminalContainer.cs - [`4cbea9f`](https://github.com/microsoft/terminal/commit/4cbea9fbc2db12e6c9d8249bb5483e5af1159432) Make DispatcherTimer not readonly just in case - [`d611063`](https://github.com/microsoft/terminal/commit/d6110639722363c51d0d93dd95974daacb86a3b7) No more readonly ### 📊 Changes **6 files changed** (+65 additions, -62 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/WindowsTerminal_UIATests/Common/NativeMethods.cs` (+13 -13) 📝 `src/cascadia/WindowsTerminal_UIATests/Elements/TerminalApp.cs` (+1 -1) 📝 `src/cascadia/WpfTerminalControl/TerminalContainer.cs` (+24 -21) 📝 `src/cascadia/WpfTerminalControl/TerminalControl.xaml.cs` (+13 -13) 📝 `src/host/ft_uia/Common/NativeMethods.cs` (+13 -13) 📝 `src/host/ft_uia/Elements/CmdApp.cs` (+1 -1) </details> ### 📄 Description No behavioral changes, just C# modernizations. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:37:10 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#29838