diff options
Diffstat (limited to 'test/ILLink.Tasks.Tests/Mock.cs')
-rw-r--r-- | test/ILLink.Tasks.Tests/Mock.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ILLink.Tasks.Tests/Mock.cs b/test/ILLink.Tasks.Tests/Mock.cs index dba28887b..2ea9e492c 100644 --- a/test/ILLink.Tasks.Tests/Mock.cs +++ b/test/ILLink.Tasks.Tests/Mock.cs @@ -21,8 +21,8 @@ namespace ILLink.Tasks.Tests public MockTask () { // Ensure that [Required] members are non-null - AssemblyPaths = new ITaskItem[0]; - RootAssemblyNames = new ITaskItem[0]; + AssemblyPaths = Array.Empty<ITaskItem> (); + RootAssemblyNames = Array.Empty<ITaskItem> (); ILLinkPath = Path.Combine (Path.GetDirectoryName (Assembly.GetExecutingAssembly ().Location), "illink.dll"); } |