You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.
I'm unsure how to fix this immediately other than the below potential, but very ugly, workaround. However, for a brief synopsis of what I think the problem is: It seems that the argument 12 is attempting to be converted into an array of System.Object but failing.
Possible workaround: [TestCase(0=>12)]
Explanation of thinking: as it's expecting an array my suggestion is to attempt to convince the parser that 12 is the value of index 0 in an anonymous array.
@weirdan Phalanger's development is mostly discontinued in favor of PeachPie, the more modern compiler and runtime that also targets .NET Core. Please feel free to give that a try.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I tried to use NUnit I encountered the following error:
Source code:
If I take out
[TestCase(12)]
attribute (or replace it with[Test]
) it compiles ok.TestCaseAttribute
is defined like this:The text was updated successfully, but these errors were encountered: