Skip to content

Commit

Permalink
Merge 7d3592c into 065542c
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgerangel-msft authored Feb 27, 2025
2 parents 065542c + 7d3592c commit ee85dd7
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,7 @@ protected bool IsClientOptionsType(ITypeSymbol typeSymbol)
while (baseType != null)
{
// validate if the base type is Azure.Core.ClientOptions
var fullName = baseType.ContainingNamespace.GetFullNamespaceName()
.Append(".")
.Append(baseType.Name);

var fullName = $"{baseType.ContainingNamespace.GetFullNamespaceName()}.{baseType.Name}";
if ($"{fullName}".Equals(AzureCoreClientOptions))
{
return typeSymbol.Name.EndsWith(ClientOptionsSuffix) || typeSymbol.Name.EndsWith(ClientsOptionsSuffix);
Expand Down

0 comments on commit ee85dd7

Please sign in to comment.