CallerArgumentExpression and extension methods don’t mix
Mahmoud Al-Qudsi
This post is for the C# developers out there and takes a look at the interesting conjunction of [CallerArgumentExpression] and static extension methods – a mix that at first seems too convenient to pass up. A quick recap: [CallerArgumentExpression] landed as part of the C# 10.0 language update and...