Add inline variables to a theory xUnit
<p>I'm trying to use a variable as InlineData when using xUnit.</p>

<p>It looks like this:</p>

<pre><code>static string home = "test";

[Theory]
[InlineData(home)]
public void AddTest(string location)
{
    Assert.True(LocationIs(location));
}
</code></pre>

<p>But I'm getting the error: "An attribute argument must be a constant expression, typeof expression or array creation expression of an attribute parameter type"</p>

<p>Is there any way for me to do what I'm trying? Or do I need to just hardcode the inline data.</p>