Add readonly to structs
This commit is contained in:
@@ -13,7 +13,7 @@ using System;
|
||||
|
||||
namespace OpenRA.Primitives
|
||||
{
|
||||
public struct Size : IEquatable<Size>
|
||||
public readonly struct Size : IEquatable<Size>
|
||||
{
|
||||
public readonly int Width;
|
||||
public readonly int Height;
|
||||
|
||||
Reference in New Issue
Block a user