Skip to content

Commit

Permalink
Fix implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Youssef1313 committed Jan 3, 2023
1 parent c8ae325 commit c4909ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utilities/Compiler/Extensions/IOperationExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ internal static partial class IOperationExtensions
{
return beforeConversion ?
GetReceiverType(firstArg.Value.Syntax, compilation, cancellationToken) :
firstArg.Type as INamedTypeSymbol;
firstArg.Value.Type as INamedTypeSymbol;
}
else if (invocation.TargetMethod.Parameters[0].IsParams)
{
Expand Down

0 comments on commit c4909ec

Please sign in to comment.