Fix codefactor issue

This commit is contained in:
Dean Herbert 2019-01-24 17:46:09 +09:00
parent 8617aaa2a7
commit a580c17949
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ public static SerializationReader GetReader(SerializationInfo info)
/// <summary> Reads a string from the buffer. Overrides the base implementation so it can cope with nulls. </summary>
public override string ReadString()
{
if (0 == ReadByte()) return null;
if (ReadByte() == 0) return null;
return base.ReadString();
}