chore: Use var everywhere (#2294)
This commit is contained in:
parent
0b34cc4417
commit
ebaf104935
267 changed files with 873 additions and 873 deletions
|
|
@ -95,10 +95,10 @@ public static partial class GumpSystem
|
|||
return;
|
||||
}
|
||||
|
||||
int switchByteCount = switchCount * 4;
|
||||
var switchByteCount = switchCount * 4;
|
||||
|
||||
// Read all the integers
|
||||
ReadOnlySpan<int> switchBlock =
|
||||
var switchBlock =
|
||||
MemoryMarshal.Cast<byte, int>(reader.Buffer.Slice(reader.Position, switchByteCount));
|
||||
|
||||
reader.Seek(switchByteCount, SeekOrigin.Current);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue