diff --git a/SpotifyAPI.Web/Clients/Interfaces/IPaginator.cs b/SpotifyAPI.Web/Clients/Interfaces/IPaginator.cs index a9f2bdc4..7ca0fa12 100644 --- a/SpotifyAPI.Web/Clients/Interfaces/IPaginator.cs +++ b/SpotifyAPI.Web/Clients/Interfaces/IPaginator.cs @@ -39,7 +39,7 @@ namespace SpotifyAPI.Web IAPIConnector connector ); -#if NETSTANDARD2_1 +#if !NETSTANDARD2_0 /// /// Fetches all pages and returns one by one using IAsyncEnumerable /// diff --git a/SpotifyAPI.Web/Clients/Interfaces/ISpotifyClient.cs b/SpotifyAPI.Web/Clients/Interfaces/ISpotifyClient.cs index 96b68024..dfa7227f 100644 --- a/SpotifyAPI.Web/Clients/Interfaces/ISpotifyClient.cs +++ b/SpotifyAPI.Web/Clients/Interfaces/ISpotifyClient.cs @@ -128,7 +128,7 @@ namespace SpotifyAPI.Web IPaginator? paginator = default! ); -#if NETSTANDARD2_1 +#if !NETSTANDARD2_0 /// /// Paginate through pages by using IAsyncEnumerable, introduced in C# 8 /// The default paginator will fetch all available resources without a delay between requests. diff --git a/SpotifyAPI.Web/Clients/SimplePaginator.cs b/SpotifyAPI.Web/Clients/SimplePaginator.cs index b6e2c2e1..76edf8d1 100644 --- a/SpotifyAPI.Web/Clients/SimplePaginator.cs +++ b/SpotifyAPI.Web/Clients/SimplePaginator.cs @@ -68,7 +68,7 @@ namespace SpotifyAPI.Web return results; } -#if NETSTANDARD2_1 +#if !NETSTANDARD2_0 public async IAsyncEnumerable Paginate( IPaginatable firstPage, IAPIConnector connector, diff --git a/SpotifyAPI.Web/Clients/SpotifyClient.cs b/SpotifyAPI.Web/Clients/SpotifyClient.cs index 05b9f3b3..92f77107 100644 --- a/SpotifyAPI.Web/Clients/SpotifyClient.cs +++ b/SpotifyAPI.Web/Clients/SpotifyClient.cs @@ -190,7 +190,7 @@ namespace SpotifyAPI.Web return FetchPage(paging.Previous); } -#if NETSTANDARD2_1 +#if !NETSTANDARD2_0 /// /// Paginate through pages by using IAsyncEnumerable, introduced in C# 8