diff --git a/Directory.Build.targets b/Directory.Build.targets index 2343c750f21..ae07a2cc714 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -33,7 +33,6 @@ - diff --git a/eng/DownloadSharedSource.ps1 b/eng/DownloadSharedSource.ps1 index b3d5f9119c0..8ebd387b1b6 100644 --- a/eng/DownloadSharedSource.ps1 +++ b/eng/DownloadSharedSource.ps1 @@ -46,7 +46,6 @@ $files = @('AsyncLockWithValue.cs', 'ClientDiagnostics.cs', 'DiagnosticScope.cs' 'IUtf8JsonSerializable.cs', 'IXmlSerializable.cs', 'JsonElementExtensions.cs', - 'LowLevelPageableHelpers.cs', 'NextLinkOperationImplementation.cs', 'OperationFinalStateVia.cs', 'Optional.cs', diff --git a/src/assets/Azure.Core.Shared/LowLevelPageableHelpers.cs b/src/assets/Azure.Core.Shared/LowLevelPageableHelpers.cs deleted file mode 100644 index 17f06dc282c..00000000000 --- a/src/assets/Azure.Core.Shared/LowLevelPageableHelpers.cs +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#nullable enable - -namespace Azure.Core -{ - internal static class LowLevelPageableHelpers - { - } -} diff --git a/test/TestServerProjectsLowLevel/dpg-customization/src/Customization/DPGClient.cs b/test/TestServerProjectsLowLevel/dpg-customization/src/Customization/DPGClient.cs index 9a6d877ef81..fe0ff718fc9 100644 --- a/test/TestServerProjectsLowLevel/dpg-customization/src/Customization/DPGClient.cs +++ b/test/TestServerProjectsLowLevel/dpg-customization/src/Customization/DPGClient.cs @@ -6,6 +6,7 @@ using System; using System.Threading; using System.Threading.Tasks; +using Autorest.CSharp.Core; using Azure; using Azure.Core; using dpg_customization_LowLevel.Models; @@ -141,7 +142,7 @@ public virtual AsyncPageable GetPageValuesAsync(string mode, Cancellati Argument.AssertNotNull(mode, nameof(mode)); var requestContext = cancellationToken.CanBeCanceled ? new RequestContext { CancellationToken = cancellationToken } : default; - return PageableHelpers.CreateAsyncPageable + return GeneratorPageableHelpers.CreateAsyncPageable ( _ => CreateGetPagesRequest(mode, requestContext), (_, nextLink) => CreateGetPagesNextPageRequest(nextLink, mode, requestContext), @@ -164,7 +165,7 @@ public virtual Pageable GetPageValues(string mode, CancellationToken ca Argument.AssertNotNull(mode, nameof(mode)); var requestContext = cancellationToken.CanBeCanceled ? new RequestContext { CancellationToken = cancellationToken } : default; - return PageableHelpers.CreatePageable + return GeneratorPageableHelpers.CreatePageable ( _ => CreateGetPagesRequest(mode, requestContext), (_, nextLink) => CreateGetPagesNextPageRequest(nextLink, mode, requestContext),