Skip to content

Commit 43da9bd

Browse files
Use canonical view to consider customized ctors (Azure#50702)
1 parent 48aacbf commit 43da9bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/packages/http-client-csharp/generator/Azure.Generator/src/Providers/ClientBuilderExtensionsDefinition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ protected override MethodProvider[] BuildMethods()
6969
var methodReturnType = new CSharpType(typeof(IAzureClientBuilder<,>), client.Type,
7070
client.ClientOptionsParameter.Type);
7171

72-
foreach (var constructor in client.Constructors)
72+
foreach (var constructor in client.CanonicalView.Constructors)
7373
{
7474
if (!constructor.Signature.Modifiers.HasFlag(MethodSignatureModifiers.Public))
7575
{

0 commit comments

Comments
 (0)