Sitelet https://web.archive.org/web/20260603052604/https://github.com/github/codeql/pull/4613
Skip to content

C#: C#9 add test cases for discards as lambda/delegate parameters#4613

Merged
tamasvajk merged 2 commits into
github:mainfrom
tamasvajk:feature/csharp9-multiple-discards
Nov 25, 2020
Merged

C#: C#9 add test cases for discards as lambda/delegate parameters#4613
tamasvajk merged 2 commits into
github:mainfrom
tamasvajk:feature/csharp9-multiple-discards

Conversation

@tamasvajk
Copy link
Copy Markdown
Contributor

@tamasvajk tamasvajk commented Nov 5, 2020 •

There was already some logic in place to make parameter names unique. This means that the second discard param will show up with the _`1 name whereever we display the name, such as in PrintAst.

@github-actions github-actions Bot added the C# label Nov 5, 2020
@tamasvajk tamasvajk force-pushed the feature/csharp9-multiple-discards branch from 3fdd60f to 33bc9bd Compare November 18, 2020 09:55
@tamasvajk tamasvajk marked this pull request as ready for review November 18, 2020 09:58
@tamasvajk tamasvajk requested a review from a team as a code owner November 18, 2020 09:59
hvitved
hvitved previously approved these changes Nov 24, 2020
@tamasvajk tamasvajk force-pushed the feature/csharp9-multiple-discards branch from 0e59b91 to 6d95105 Compare November 25, 2020 11:02
@tamasvajk
Copy link
Copy Markdown
Contributor Author

@hvitved I rebased this PR to fix the merge conflict. I also pushed an extra commit to adjust the nint test so that it would not have more conflict with upcoming changes in the c# test folder.

@tamasvajk tamasvajk merged commit aa45920 into github:main Nov 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants