File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Ix.NET/Source/System.Interactive.Providers/System/Linq Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments