単体テストの Row 属性で、他のパラメーターと一緒にオブジェクトを渡そうとしています。
[Row("Test1", new CustomField(), 3)] // parameters MUST be string, object and int
public void Test_Constructor(string testType, CustomField customField, int num)
{
.....
}
しかし、これはエラーを返します:
An attribute argument must be a constant expression, typeof expression or array creation expression of an attribute parameter type.
これどうやってするの....