Use expression body syntax
This commit is contained in:
@@ -72,9 +72,10 @@ namespace OpenRA
|
||||
#endregion
|
||||
|
||||
#region IReadOnlyList implementation
|
||||
public int Count { get { return list.Count; } }
|
||||
public int Count => list.Count;
|
||||
|
||||
public T this[int index] => list[index];
|
||||
|
||||
public T this[int index] { get { return list[index]; } }
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user