Fix CA1052
This commit is contained in:
@@ -69,7 +69,7 @@ namespace OpenRA
|
||||
|
||||
// HACK: Temporary placeholder to avoid having to change all the traits that reference this constant.
|
||||
// This can be removed after the palette references have been moved from traits to sequences.
|
||||
public class TileSet
|
||||
public static class TileSet
|
||||
{
|
||||
public const string TerrainPaletteInternalName = "terrain";
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ using ICSharpCode.SharpZipLib.Zip;
|
||||
|
||||
namespace OpenRA.Network
|
||||
{
|
||||
public class GeoIP
|
||||
public static class GeoIP
|
||||
{
|
||||
sealed class IP2LocationReader
|
||||
{
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace OpenRA.Network
|
||||
{
|
||||
public enum NatStatus { Enabled, Disabled, NotSupported }
|
||||
|
||||
public class Nat
|
||||
public static class Nat
|
||||
{
|
||||
public static NatStatus Status => NatUtility.IsSearching ? natDevice != null ? NatStatus.Enabled : NatStatus.NotSupported : NatStatus.Disabled;
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ using System.Net.Http;
|
||||
|
||||
namespace OpenRA.Support
|
||||
{
|
||||
public class HttpClientFactory
|
||||
public static class HttpClientFactory
|
||||
{
|
||||
#if NET5_0_OR_GREATER
|
||||
const int MaxConnectionPerServer = 20;
|
||||
|
||||
Reference in New Issue
Block a user