msbuild
msbuild copied to clipboard
Use CallerArgumentExpression for internal assert-like constructs
CallerArgumentExpression is a new (C# 10) language feature that allows us to simplify a bunch of our assert-like code to drop the redundant specifications of, like, "which argument is null?".
I strongly recommend reviewing commit-by-commit; the bulk of the changes are a regex replace on top of a framework that is fairly small.