Skip to content

Conversation

@michaelnebel
Copy link
Contributor

@michaelnebel michaelnebel commented Jan 26, 2022

In this PR, we make support for C# 10 Improvements on lambda expressions

  • Lambda expressions may have a natural type, where the compiler can infer a delegate type from the lambda expression or method group (test only).
  • Lambda expressions may declare a return type when the compiler can't infer it.
  • Attributes can be applied to lambda expressions.

What is still needed in this PR

@github-actions github-actions bot added the C# label Jan 26, 2022
@michaelnebel michaelnebel force-pushed the csharp/lambda-improvements branch from 6922c09 to a906464 Compare January 28, 2022 08:19
@michaelnebel michaelnebel force-pushed the csharp/lambda-improvements branch from a906464 to 6ee3084 Compare February 4, 2022 15:55
@michaelnebel michaelnebel marked this pull request as ready for review February 7, 2022 08:36
@michaelnebel michaelnebel requested a review from a team as a code owner February 7, 2022 08:36
Copy link
Contributor

@hvitved hvitved left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Go ahead with generating and adding new stats.

@michaelnebel
Copy link
Contributor Author

DCA run shows that performance is not affected.

@michaelnebel michaelnebel requested a review from hvitved February 8, 2022 08:42
@michaelnebel michaelnebel merged commit c04e344 into github:main Feb 8, 2022
@michaelnebel michaelnebel deleted the csharp/lambda-improvements branch February 8, 2022 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants