Skip to content

Commit 03ad08a

Browse files
committed
Moved ifdefs.
1 parent 8f039f9 commit 03ad08a

File tree

1 file changed

+1
-1
lines changed
  • Provider/src/FirebirdSql.Data.FirebirdClient/FirebirdClient

1 file changed

+1
-1
lines changed

Provider/src/FirebirdSql.Data.FirebirdClient/FirebirdClient/FbCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,7 @@ public int EndExecuteNonQuery(IAsyncResult asyncResult)
527527

528528
return _activeReader;
529529
}
530+
#if !NETSTANDARD1_6
530531
public IAsyncResult BeginExecuteReader(AsyncCallback callback, object objectState)
531532
{
532533
// BeginInvoke might be slow, but the query processing will make this irrelevant
@@ -537,7 +538,6 @@ public IAsyncResult BeginExecuteReader(CommandBehavior behavior, AsyncCallback c
537538
// BeginInvoke might be slow, but the query processing will make this irrelevant
538539
return ((Func<CommandBehavior, FbDataReader>)ExecuteReader).BeginInvoke(behavior, callback, objectState);
539540
}
540-
#if !NETSTANDARD1_6
541541
public FbDataReader EndExecuteReader(IAsyncResult asyncResult)
542542
{
543543
if ((asyncResult as AsyncResult).AsyncDelegate is Func<FbDataReader>)

0 commit comments

Comments
 (0)