Use out var syntax
This commit is contained in:
@@ -109,8 +109,7 @@ namespace OpenRA.Mods.Common.FileSystem
|
||||
|
||||
public Stream GetStream(string filename)
|
||||
{
|
||||
Entry e;
|
||||
if (!index.TryGetValue(filename, out e))
|
||||
if (!index.TryGetValue(filename, out var e))
|
||||
return null;
|
||||
|
||||
s.Seek(dataStart + e.Offset, SeekOrigin.Begin);
|
||||
|
||||
Reference in New Issue
Block a user