Stylecop fix

Fix StyleCop warnings
Please omit those changes. They will most likely conflict with https://github.com/OpenRA/OpenRA/pull/7173.