Fix IDE0251

This commit is contained in:
RoosterDragon
2023-08-10 18:50:20 +01:00
committed by abcdefg30
parent 3b2fad6ea8
commit a1dfb42812
10 changed files with 41 additions and 37 deletions

View File

@@ -162,8 +162,8 @@ namespace OpenRA
}
public CPos Current { get; private set; }
object IEnumerator.Current => Current;
public void Dispose() { }
readonly object IEnumerator.Current => Current;
public readonly void Dispose() { }
}
}
}

View File

@@ -53,8 +53,8 @@ namespace OpenRA
}
public MPos Current { get; private set; }
object IEnumerator.Current => Current;
public void Dispose() { }
readonly object IEnumerator.Current => Current;
public readonly void Dispose() { }
}
public MapCoordsRegion(MPos mapTopLeft, MPos mapBottomRight)

View File

@@ -118,8 +118,8 @@ namespace OpenRA
}
public PPos Current { get; private set; }
object IEnumerator.Current => Current;
public void Dispose() { }
readonly object IEnumerator.Current => Current;
public readonly void Dispose() { }
}
}
}