Fix IDE0251
This commit is contained in:
@@ -70,7 +70,7 @@ namespace OpenRA.Network
|
||||
public int Client;
|
||||
public Order Order;
|
||||
|
||||
public override string ToString()
|
||||
public override readonly string ToString()
|
||||
{
|
||||
return $"ClientId: {Client} {Order}";
|
||||
}
|
||||
|
||||
@@ -300,7 +300,7 @@ namespace OpenRA.Network
|
||||
|
||||
public object this[int index]
|
||||
{
|
||||
get
|
||||
readonly get
|
||||
{
|
||||
if (item2OrSentinel == Sentinel)
|
||||
return ((object[])item1OrArray)[index];
|
||||
|
||||
Reference in New Issue
Block a user