chore: Use var everywhere (#2294)
This commit is contained in:
parent
0b34cc4417
commit
ebaf104935
267 changed files with 873 additions and 873 deletions
|
|
@ -53,7 +53,7 @@ public class HousePacketTests
|
|||
[Fact]
|
||||
public void TestHouseDesignStateDetailed()
|
||||
{
|
||||
Serial serial = (Serial)0x40000001;
|
||||
var serial = (Serial)0x40000001;
|
||||
var revision = 10;
|
||||
var tiles = new MultiTileEntry[250];
|
||||
for (var i = 0; i < tiles.Length; i++)
|
||||
|
|
|
|||
|
|
@ -200,7 +200,7 @@ public sealed class DesignStateDetailed : Packet
|
|||
|
||||
++planeCount;
|
||||
|
||||
int size = i switch
|
||||
var size = i switch
|
||||
{
|
||||
0 => width * height * 2,
|
||||
< 5 => (width - 1) * (height - 2) * 2,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue