We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f1891d commit e074b6aCopy full SHA for e074b6a
1 file changed
test/test.xunit.assert/Asserts/TypeAssertsTests.cs
@@ -487,12 +487,13 @@ public CSharpDynamicAssembly() :
487
base(Path.GetTempPath())
488
{ }
489
490
- protected override IEnumerable<string> GetStandardReferences() => Array.Empty<string>();
+ protected override IEnumerable<string> GetStandardReferences() =>
491
+ [];
492
493
public static async Task<CSharpDynamicAssembly> Create(string code)
494
{
495
var assembly = new CSharpDynamicAssembly();
- await assembly.Compile(new[] { code });
496
+ await assembly.Compile([code]);
497
return assembly;
498
}
499
0 commit comments