Skip to content

Commit 0ae1af3

Browse files
author
Oren Novotny
committed
Fix build error
1 parent 8123088 commit 0ae1af3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Ix.NET/Source/System.Interactive.Providers/System/Linq/QueryableEx.Generated.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2152,7 +2152,11 @@ public static IQueryable<TSource> TakeLast<TSource>(this IQueryable<TSource> sou
21522152
[EditorBrowsable(EditorBrowsableState.Never)]
21532153
public static IEnumerable<TSource> TakeLast<TSource>(IEnumerable<TSource> source, int count)
21542154
{
2155+
#if REFERENCE_ASSEMBLY
2156+
return null;
2157+
#else
21552158
return EnumerableEx.TakeLast(source, count);
2159+
#endif
21562160
}
21572161
#pragma warning restore 1591
21582162

@@ -2186,7 +2190,11 @@ public static IQueryable<TSource> SkipLast<TSource>(this IQueryable<TSource> sou
21862190
[EditorBrowsable(EditorBrowsableState.Never)]
21872191
public static IEnumerable<TSource> SkipLast<TSource>(IEnumerable<TSource> source, int count)
21882192
{
2193+
#if REFERENCE_ASSEMBLY
2194+
return null;
2195+
#else
21892196
return EnumerableEx.SkipLast(source, count);
2197+
#endif
21902198
}
21912199
#pragma warning restore 1591
21922200

0 commit comments

Comments
 (0)