Skip to content

Commit 515378a

Browse files
committed
Fix preprocessor checks.
The API changed to ValueTask<T> in 6e8bc8c which is supported on lower frameworks.
1 parent 55d1585 commit 515378a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/MySqlConnector/MySqlBulkCopy.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public MySqlBulkCopyResult WriteToServer(DataTable dataTable)
108108
#pragma warning restore CA2012
109109
}
110110

111-
#if NETCOREAPP2_1_OR_GREATER || NETSTANDARD2_1_OR_GREATER
111+
#if NETCOREAPP || NETSTANDARD2_0_OR_GREATER
112112
/// <summary>
113113
/// Asynchronously copies all rows in the supplied <see cref="DataTable"/> to the destination table specified by the
114114
/// <see cref="DestinationTableName"/> property of the <see cref="MySqlBulkCopy"/> object.
@@ -152,7 +152,7 @@ public MySqlBulkCopyResult WriteToServer(IEnumerable<DataRow> dataRows, int colu
152152
#pragma warning restore CA2012
153153
}
154154

155-
#if NETCOREAPP2_1_OR_GREATER || NETSTANDARD2_1_OR_GREATER
155+
#if NETCOREAPP || NETSTANDARD2_0_OR_GREATER
156156
/// <summary>
157157
/// Asynchronously copies all rows in the supplied sequence of <see cref="DataRow"/> objects to the destination table specified by the
158158
/// <see cref="DestinationTableName"/> property of the <see cref="MySqlBulkCopy"/> object. The number of columns
@@ -198,7 +198,7 @@ public MySqlBulkCopyResult WriteToServer(IDataReader dataReader)
198198
#pragma warning restore CA2012
199199
}
200200

201-
#if NETCOREAPP2_1_OR_GREATER || NETSTANDARD2_1_OR_GREATER
201+
#if NETCOREAPP || NETSTANDARD2_0_OR_GREATER
202202
/// <summary>
203203
/// Asynchronously copies all rows in the supplied <see cref="IDataReader"/> to the destination table specified by the
204204
/// <see cref="DestinationTableName"/> property of the <see cref="MySqlBulkCopy"/> object.

0 commit comments

Comments
 (0)