We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7159b63 commit 5a0b765Copy full SHA for 5a0b765
src/MySqlConnector/Protocol/Serialization/ByteBufferWriter.cs
@@ -104,7 +104,7 @@ public void Write(ReadOnlySpan<byte> span)
104
public void Write(string value)
105
{
106
Debug.Assert(value is object, "value is object");
107
- if (value.Length == 0)
+ if (value!.Length == 0)
108
return;
109
110
var byteCount = Encoding.UTF8.GetByteCount(value);
0 commit comments