Fix CA1852
This commit is contained in:
committed by
Pavel Penev
parent
277699cbd5
commit
f4af5c1764
@@ -45,7 +45,7 @@ namespace OpenRA.Mods.Common.SpriteLoaders
|
||||
|
||||
public class DdsSprite
|
||||
{
|
||||
class DdsFrame : ISpriteFrame
|
||||
sealed class DdsFrame : ISpriteFrame
|
||||
{
|
||||
public SpriteFrameType Type { get; }
|
||||
public Size Size { get; }
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace OpenRA.Mods.Common.SpriteLoaders
|
||||
|
||||
public class PngSheetLoader : ISpriteLoader
|
||||
{
|
||||
class PngSheetFrame : ISpriteFrame
|
||||
sealed class PngSheetFrame : ISpriteFrame
|
||||
{
|
||||
public SpriteFrameType Type { get; set; }
|
||||
public Size Size { get; set; }
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace OpenRA.Mods.Common.SpriteLoaders
|
||||
{
|
||||
public class ShpTSLoader : ISpriteLoader
|
||||
{
|
||||
class ShpTSFrame : ISpriteFrame
|
||||
sealed class ShpTSFrame : ISpriteFrame
|
||||
{
|
||||
public SpriteFrameType Type => SpriteFrameType.Indexed8;
|
||||
public Size Size { get; }
|
||||
|
||||
Reference in New Issue
Block a user