public void AssemblyLoadShouldBeUsed() =>
 Verifier.VerifyAnalyzer(@"TestCases\AssemblyLoadShouldBeUsed.cs",
                         new DoNotCallAssemblyLoadInvalidMethods(),
                         additionalReferences: MetadataReferenceFacade.GetSystemSecurityPermissions());
 private static IEnumerable <MetadataReference> GetAdditionalReferences() =>
 MetadataReferenceFacade.GetSystemSecurityPermissions();
 public void DoNotCallAssemblyLoadInvalidMethods_CSharp9() =>
 Verifier.VerifyAnalyzerFromCSharp9Console(@"TestCases\DoNotCallAssemblyLoadInvalidMethods.CSharp9.cs",
                                           new DoNotCallAssemblyLoadInvalidMethods(),
                                           additionalReferences: MetadataReferenceFacade.GetSystemSecurityPermissions());