Skip to content

Commit e6b45f0

Browse files
committed
Use OR_GREATER preprocessor test.
1 parent d0641ca commit e6b45f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MySqlConnector/Protocol/Serialization/ByteBufferWriter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public void Write(ReadOnlySpan<char> chars, bool flush)
160160

161161
public void WriteLengthEncodedString(StringBuilder stringBuilder)
162162
{
163-
#if !NET45 && !NET461 && !NET471 && !NETSTANDARD1_3 && !NETSTANDARD2_0 && !NETSTANDARD2_1 && !NETCOREAPP2_1
163+
#if NETCOREAPP3_0_OR_GREATER
164164
// save where the length will be written
165165
var lengthPosition = Position;
166166
if (m_output.Length < 9)

0 commit comments

Comments
 (0)