You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(resolution.IsExtensionMethodGroup)// Tracked by https://github.com/dotnet/roslyn/issues/76130 : we need to handle new extension methods
1470
+
if(resolution.IsExtensionMethodGroup)// Tracked by https://github.com/dotnet/roslyn/issues/78960 : we need to handle new extension methods
1471
1471
{
1472
1472
// We need to validate an ability to infer type arguments as well as check conversion to 'this' parameter.
1473
1473
// Overload resolution doesn't check the conversion when 'this' type refers to a type parameter
// Tracked by https://github.com/dotnet/roslyn/issues/76130: It looks like we added a bunch of code in BindInvocationExpressionContinued at this position
1604
+
// Tracked by https://github.com/dotnet/roslyn/issues/78960: It looks like we added a bunch of code in BindInvocationExpressionContinued at this position
1605
1605
// that specifically deals with new extension methods. It adjusts analyzedArguments, etc.
// Add methods. This case can be hit for spreads and non-spread elements.
1664
1664
Debug.Assert(call.HasErrors);
1665
1665
Debug.Assert(call.Method.Name=="Add");
1666
-
returncall.Arguments[call.InvokedAsExtensionMethod?1:0];// Tracked by https://github.com/dotnet/roslyn/issues/76130: Add test coverage for new extensions
1666
+
returncall.Arguments[call.InvokedAsExtensionMethod?1:0];// Tracked by https://github.com/dotnet/roslyn/issues/78960: Add test coverage for new extensions
1667
1667
caseBoundBadExpressionbadExpression:
1668
1668
Debug.Assert(false);// Add test if we hit this assert.
0 commit comments