Skip to content

Commit 7e0d7a9

Browse files
committed
Make the compiler field static
According to nunit/nunit#947, `ValueSourceAttributes` expects the referenced field to be `static` in NUnit 3.
1 parent 48f443f commit 7e0d7a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitVersionTask.Tests/AssemblyInfoBuilderTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public Compilation Compile(string assemblyInfoText)
5454
public string ApprovedSubFolder { get { return Path.Combine("Approved", "VisualBasic"); } }
5555
}
5656

57-
private readonly ICompiler[] compilers = new ICompiler[]
57+
private static readonly ICompiler[] compilers = new ICompiler[]
5858
{
5959
new CSharpCompiler(),
6060
new VisualBasicCompiler()

0 commit comments

Comments
 (0)