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
// This prevents, for example, an unused params parameter after the out parameters.
684
684
vardeconstructMethod=((BoundCall)result).Method;
685
685
varparameters=deconstructMethod.Parameters;
686
-
for(inti=(deconstructMethod.IsExtensionMethod?1:0);i<parameters.Length;i++)// Tracked by https://github.com/dotnet/roslyn/issues/76130: Test this code path with new extensions
BoundExpressionconstruction=MakeInvocationExpression(// Tracked by https://github.com/dotnet/roslyn/issues/76130 : test this scenario with a delegate-returning property (should be blocked by virtue of allowFieldsAndProperties: false)
Copy file name to clipboardExpand all lines: src/Compilers/CSharp/Portable/Binder/Binder_Patterns.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1058,7 +1058,7 @@ deconstructMethod is null &&
1058
1058
if(deconstructMethodisnull)
1059
1059
hasErrors=true;
1060
1060
1061
-
intskippedExtensionParameters=deconstructMethod?.IsExtensionMethod==true?1:0;// Tracked by https://github.com/dotnet/roslyn/issues/76130: Test this code path with new extensions
varordinal=GetOrdinal((TypeParameterSymbol)target.Type);// Tracked by https://github.com/dotnet/roslyn/issues/76130 : test nullability scenario where the override of ordinals matters
Copy file name to clipboardExpand all lines: src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_ObjectOrCollectionInitializerExpression.cs
0 commit comments