Removed a bunch of explicit access modifiers

This commit is contained in:
penev92
2022-01-05 04:14:24 +02:00
committed by Matthias Mailänder
parent 413d564f1d
commit 2f6f214bac
6 changed files with 6 additions and 6 deletions

View File

@@ -83,7 +83,7 @@ namespace OpenRA.Mods.Common
: base(value) { } : base(value) { }
} }
internal class ActorInitLoader : TypeConverter class ActorInitLoader : TypeConverter
{ {
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
{ {

View File

@@ -268,7 +268,7 @@ namespace OpenRA.Mods.Common.Widgets
} }
} }
internal class UndoCopyPaste class UndoCopyPaste
{ {
public CPos Cell { get; private set; } public CPos Cell { get; private set; }
public TerrainTile MapTile { get; private set; } public TerrainTile MapTile { get; private set; }

View File

@@ -29,7 +29,7 @@ namespace OpenRA.Mods.Common.Pathfinder
return LayerPoolTable.GetValue(world, CreateLayerPool); return LayerPoolTable.GetValue(world, CreateLayerPool);
} }
private PathSearch(IGraph<CellInfo> graph) PathSearch(IGraph<CellInfo> graph)
: base(graph) : base(graph)
{ {
} }

View File

@@ -114,7 +114,7 @@ namespace OpenRA.Mods.Common.Widgets
Children[i].Bounds.Y += mostRecentChild.Bounds.Height + ItemSpacing; Children[i].Bounds.Y += mostRecentChild.Bounds.Height + ItemSpacing;
} }
private void RemoveNotification() void RemoveNotification()
{ {
if (Children.Count == 0) if (Children.Count == 0)
return; return;

View File

@@ -21,7 +21,7 @@ namespace OpenRA.Platforms.Default
Justification = "C-style naming is kept for consistency with the underlying native API.")] Justification = "C-style naming is kept for consistency with the underlying native API.")]
[SuppressMessage("Microsoft.StyleCop.CSharp.NamingRules", "SA1310:FieldNamesMustNotContainUnderscore", [SuppressMessage("Microsoft.StyleCop.CSharp.NamingRules", "SA1310:FieldNamesMustNotContainUnderscore",
Justification = "C-style naming is kept for consistency with the underlying native API.")] Justification = "C-style naming is kept for consistency with the underlying native API.")]
internal static class FreeType static class FreeType
{ {
internal const uint OK = 0x00; internal const uint OK = 0x00;
internal const int FT_LOAD_RENDER = 0x04; internal const int FT_LOAD_RENDER = 0x04;

View File

@@ -24,7 +24,7 @@ namespace OpenRA.Platforms.Default
Justification = "C-style naming is kept for consistency with the underlying native API.")] Justification = "C-style naming is kept for consistency with the underlying native API.")]
[SuppressMessage("Microsoft.StyleCop.CSharp.NamingRules", "SA1310:FieldNamesMustNotContainUnderscore", [SuppressMessage("Microsoft.StyleCop.CSharp.NamingRules", "SA1310:FieldNamesMustNotContainUnderscore",
Justification = "C-style naming is kept for consistency with the underlying native API.")] Justification = "C-style naming is kept for consistency with the underlying native API.")]
internal static class OpenGL static class OpenGL
{ {
[Flags] [Flags]
public enum GLFeatures public enum GLFeatures