Skip to content

Commit 2f8473f

Browse files
authored
fix pagable method name. (Azure#51671)
1 parent 9ef7f67 commit 2f8473f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/src/Providers/OperationMethodProviders/PageableOperationMethodProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ protected MethodSignature CreateSignature()
7070
: new CSharpType(typeof(Pageable<>), actualItemType);
7171
var methodName = _methodKind == ResourceOperationKind.List
7272
? (_isAsync ? "GetAllAsync" : "GetAll")
73-
: (_isAsync ? $"{_convenienceMethod.Signature.Name}Async" : _convenienceMethod.Signature.Name);
73+
: _convenienceMethod.Signature.Name;
7474

7575
return new MethodSignature(
7676
methodName,

eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/ZooResource.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)