diff --git a/OpenRA.Mods.Common/ActorInitializer.cs b/OpenRA.Mods.Common/ActorInitializer.cs index 7a2ea5a888..9b98e69c77 100644 --- a/OpenRA.Mods.Common/ActorInitializer.cs +++ b/OpenRA.Mods.Common/ActorInitializer.cs @@ -83,7 +83,7 @@ namespace OpenRA.Mods.Common : base(value) { } } - internal class ActorInitLoader : TypeConverter + class ActorInitLoader : TypeConverter { public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { diff --git a/OpenRA.Mods.Common/EditorBrushes/EditorCopyPasteBrush.cs b/OpenRA.Mods.Common/EditorBrushes/EditorCopyPasteBrush.cs index c16f460242..56004a26ab 100644 --- a/OpenRA.Mods.Common/EditorBrushes/EditorCopyPasteBrush.cs +++ b/OpenRA.Mods.Common/EditorBrushes/EditorCopyPasteBrush.cs @@ -268,7 +268,7 @@ namespace OpenRA.Mods.Common.Widgets } } - internal class UndoCopyPaste + class UndoCopyPaste { public CPos Cell { get; private set; } public TerrainTile MapTile { get; private set; } diff --git a/OpenRA.Mods.Common/Pathfinder/PathSearch.cs b/OpenRA.Mods.Common/Pathfinder/PathSearch.cs index 70f314894b..575b6d9282 100644 --- a/OpenRA.Mods.Common/Pathfinder/PathSearch.cs +++ b/OpenRA.Mods.Common/Pathfinder/PathSearch.cs @@ -29,7 +29,7 @@ namespace OpenRA.Mods.Common.Pathfinder return LayerPoolTable.GetValue(world, CreateLayerPool); } - private PathSearch(IGraph graph) + PathSearch(IGraph graph) : base(graph) { } diff --git a/OpenRA.Mods.Common/Widgets/TextNotificationsDisplayWidget.cs b/OpenRA.Mods.Common/Widgets/TextNotificationsDisplayWidget.cs index bb2ab2863e..e940b360b6 100644 --- a/OpenRA.Mods.Common/Widgets/TextNotificationsDisplayWidget.cs +++ b/OpenRA.Mods.Common/Widgets/TextNotificationsDisplayWidget.cs @@ -114,7 +114,7 @@ namespace OpenRA.Mods.Common.Widgets Children[i].Bounds.Y += mostRecentChild.Bounds.Height + ItemSpacing; } - private void RemoveNotification() + void RemoveNotification() { if (Children.Count == 0) return; diff --git a/OpenRA.Platforms.Default/FreeTypeFont.cs b/OpenRA.Platforms.Default/FreeTypeFont.cs index 5fbee769dc..c210c5ae33 100644 --- a/OpenRA.Platforms.Default/FreeTypeFont.cs +++ b/OpenRA.Platforms.Default/FreeTypeFont.cs @@ -21,7 +21,7 @@ namespace OpenRA.Platforms.Default Justification = "C-style naming is kept for consistency with the underlying native API.")] [SuppressMessage("Microsoft.StyleCop.CSharp.NamingRules", "SA1310:FieldNamesMustNotContainUnderscore", 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 int FT_LOAD_RENDER = 0x04; diff --git a/OpenRA.Platforms.Default/OpenGL.cs b/OpenRA.Platforms.Default/OpenGL.cs index 5a19d68d70..fdf9bfbf63 100644 --- a/OpenRA.Platforms.Default/OpenGL.cs +++ b/OpenRA.Platforms.Default/OpenGL.cs @@ -24,7 +24,7 @@ namespace OpenRA.Platforms.Default Justification = "C-style naming is kept for consistency with the underlying native API.")] [SuppressMessage("Microsoft.StyleCop.CSharp.NamingRules", "SA1310:FieldNamesMustNotContainUnderscore", Justification = "C-style naming is kept for consistency with the underlying native API.")] - internal static class OpenGL + static class OpenGL { [Flags] public enum GLFeatures