Skip to content

Commit fdfbf55

Browse files
committed
Fixed compiler errors
1 parent 40c1aa8 commit fdfbf55

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Foundatio.Repositories.Elasticsearch/Extensions/CollectionExtensions.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
namespace Foundatio.Repositories.Elasticsearch.Extensions;
66

7+
#if NETSTANDARD
78
internal static class CollectionExtensions
89
{
910
public static IEnumerable<TSource> DistinctBy<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector)
@@ -47,3 +48,4 @@ public static IEnumerable<IEnumerable<T>> Chunk<T>(this IEnumerable<T> source, i
4748
}
4849
}
4950
}
51+
#endif

0 commit comments

Comments
 (0)