Fix CA1310, CA1311
This commit is contained in:
committed by
Matthias Mailänder
parent
d83e579dfe
commit
285443f10f
@@ -9,6 +9,7 @@
|
||||
*/
|
||||
#endregion
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
|
||||
@@ -111,7 +112,7 @@ namespace OpenRA.Mods.Cnc.FileFormats
|
||||
|
||||
public VxlReader(Stream s)
|
||||
{
|
||||
if (!s.ReadASCII(16).StartsWith("Voxel Animation"))
|
||||
if (!s.ReadASCII(16).StartsWith("Voxel Animation", StringComparison.Ordinal))
|
||||
throw new InvalidDataException("Invalid vxl header");
|
||||
|
||||
s.ReadUInt32();
|
||||
|
||||
Reference in New Issue
Block a user