Last week I learned that using static
is going to be the syntax for importing static members (including extension methods) in C# 6. That fulfils a feature request I made in September 2005 (my fourth ever blog post, as it happens). With a feature request turnaround of 10 years, I figure I should get put everything I could ever want out there now… (Just kidding really – more seriously, I’m really pleased to see this change in C# 6, relative to both C# 5 and the earlier designs of C# 6.)
Last week at CodeMash, Dustin Campbell demonstrated one Roslyn DiagnosticAnalyzer
for ArgumentNullException
and friends, and I demonstrated one I’d written for the JetBrains InvokerParameterName
attribute. (Dustin’s isn’t available online yet; I’ll edit this post when it is.) The two diagnostics check largely the same thing: some parameters are “special” in that the argument for them should be…
View original post 399 more words