Edit on GitHub

xUnit1022 Error

Theory methods cannot have a parameter array

Cause

In versions of xUnit.net prior to 2.2.0, [Theory] methods did not support params arrays.

How to fix violations

To fix a violation of this rule, upgrade to xUnit.net 2.2.0 or later.

Copyright © .NET Foundation. Contributions welcomed at https://github.com/xunit/xunit/tree/gh-pages.