Skip to content

Commit 8f57b88

Browse files
Kevin SmithKevin Smith
authored andcommitted
Apply using to all versions.
1 parent 9b75fa8 commit 8f57b88

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/shared/Z.EF.Plus.QueryFuture.Shared/QueryFutureEnumerable.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -167,14 +167,8 @@ public override void GetResultDirectly()
167167

168168
internal void GetResultDirectly(IQueryable<T> query)
169169
{
170-
#if NETSTANDARD2_0
171170
using(var enumerator = query.GetEnumerator())
172171
SetResult(enumerator);
173-
#else
174-
var enumerator = query.GetEnumerator();
175-
176-
SetResult(enumerator);
177-
#endif
178172
}
179173
}
180174
}

0 commit comments

Comments
 (0)