-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Extensions: fix betterness with params and issues with this modifier
#80531
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| // Method begins at RVA 0x206f | ||
| // Code size 14 (0xe) | ||
| // Method begins at RVA 0x2050 | ||
| // Code size 7 (0x7) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| .get instance string System.Runtime.CompilerServices.ExtensionMarkerAttribute::get_Name() | ||
| } | ||
| } // end of class System.Runtime.CompilerServices.ExtensionMarkerAttribute | ||
| """.Replace("[mscorlib]", ExecutionConditionUtil.IsMonoOrCoreClr ? "[netstandard]" : "[mscorlib]")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ) | ||
| // Fields | ||
| .field private initonly string '<Name>k__BackingField' | ||
| // Methods |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
|
||
| var type = parameter.Type; | ||
| if (memberResolutionResult.Kind == MemberResolutionKind.ApplicableInExpandedForm && | ||
| parameter.Ordinal == parameters.Length - 1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reviewed all the usages of Ordinal. Added some tests for that in last commit and fixed handling of this modifier.
|
Done with review pass (commit 1) #Closed |
AlekseyTs
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (commit 5)
this modifier
Fixes #80512
Relates to test plan #76130