roslyn icon indicating copy to clipboard operation
roslyn copied to clipboard

Integrate Lambda Default Parameters into Synthesized Delegate Types and Lowering Pass

Open adamperlin opened this issue 2 years ago • 0 comments

Allows default values to be attached to the parameters of synthesized delegate types and threaded through the closure lowering pass in order to support code-gen for lambda default parameters.

Still missing (will be added in a subsequent PR):

  • Diagnostics for invalid target-type conversions between lambdas with default parameters and delegate types
  • Synthesizing delegate types for method groups with default parameters (and associated conversion warnings)

adamperlin avatar Aug 09 '22 23:08 adamperlin