Fix IDE0090

This commit is contained in:
RoosterDragon
2023-04-05 19:34:12 +01:00
committed by Pavel Penev
parent 164abfdae1
commit 8a285f9b19
385 changed files with 790 additions and 794 deletions

View File

@@ -39,7 +39,7 @@ namespace OpenRA.Traits
readonly Actor actor;
readonly ICreatesFrozenActors frozenTrait;
readonly Shroud shroud;
readonly List<WPos> targetablePositions = new List<WPos>();
readonly List<WPos> targetablePositions = new();
public Player Viewer { get; }
public Player Owner { get; private set; }
@@ -253,7 +253,7 @@ namespace OpenRA.Traits
readonly Player owner;
readonly Dictionary<uint, FrozenActor> frozenActorsById;
readonly SpatiallyPartitioned<uint> partitionedFrozenActorIds;
readonly HashSet<uint> dirtyFrozenActorIds = new HashSet<uint>();
readonly HashSet<uint> dirtyFrozenActorIds = new();
public FrozenActorLayer(Actor self, FrozenActorLayerInfo info)
{