diff --git a/src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/SqlClient/TdsParserStateObject.cs b/src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/SqlClient/TdsParserStateObject.cs index 130806adc8..1ede8f6baf 100644 --- a/src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/SqlClient/TdsParserStateObject.cs +++ b/src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/SqlClient/TdsParserStateObject.cs @@ -1391,8 +1391,7 @@ internal bool TryPeekByte(out byte value) // bytes from the in buffer. public bool TryReadByteArray(Span buff, int len) { - int ignored; - return TryReadByteArray(buff, len, out ignored); + return TryReadByteArray(buff, len, out int _); } // NOTE: This method must be retriable WITHOUT replaying a snapshot