Add all classes to AssemblyLoadContext collection

To ensure that the initializer is called before any other code. This is
as close to a global init hook as I can find.
This commit is contained in:
Andrew Schwartzmeyer
2016-03-17 18:15:39 -07:00
parent b820817c84
commit 6d93a1766b
9 changed files with 9 additions and 0 deletions
+1
View File
@@ -4,6 +4,7 @@ using System.Management.Automation;
namespace PSTests
{
[Collection("AssemblyLoadContext")]
public static class SecuritySupportTests
{
[Fact]