4 ms·
> so if you mistype the parameter name in the decoration, there's no warning Mistyping the parameter name results in the following compiler warning, thankfully
by ripley12 5y ago
> so if you mistype the parameter name in the decoration, there's no warning
Mistyping the parameter name results in the following compiler warning, thankfully:
CS8963 The CallerArgumentExpressionAttribute applied to parameter 'conditionExpression' will have no effect. It is applied with an invalid parameter name.
- tialaramex 5y agoNice, an actual error that describes what you did wrong and why it's wrong. That's what you want to see in the twenty first century. Does it have typo checks too, so that if you wrote coditionExpression or conditionExpresion it would point out that maybe you meant the parameter conditionExpression ?