Azure / azure-amqp

AMQP C# library
Other
94 stars 72 forks source link

Use static lambdas #186

Closed danielmarbach closed 3 years ago

danielmarbach commented 3 years ago

This enables CSharp 9 and leverages static lambda support from the compiler to make sure that no accidental closure is reintroduced. Using this feature of CSharp 9 is safe. In fact, Azure SDK also uses CSharp 9 with NetStandard.

danielmarbach commented 3 years ago

@xinchen10 Thanks for looking into this