Fix CA1802

This commit is contained in:
RoosterDragon
2023-03-12 15:46:31 +00:00
committed by abcdefg30
parent 0958197df2
commit a50e72f68d
8 changed files with 17 additions and 13 deletions

View File

@@ -35,6 +35,9 @@ namespace OpenRA
public sealed class Actor : IScriptBindable, IScriptNotifyBind, ILuaTableBinding, ILuaEqualityBinding, ILuaToStringBinding, IEquatable<Actor>, IDisposable
{
/// <summary>Value used to represent an invalid token.</summary>
public const int InvalidConditionToken = -1;
internal readonly struct SyncHash
{
public readonly ISync Trait;
@@ -78,9 +81,6 @@ namespace OpenRA
public WRot Orientation => facing?.Orientation ?? WRot.None;
/// <summary>Value used to represent an invalid token.</summary>
public static readonly int InvalidConditionToken = -1;
sealed class ConditionState
{
/// <summary>Delegates that have registered to be notified when this condition changes.</summary>