@@ -27,9 +27,9 @@ public class NUnitFrameworkDriver : IFrameworkDriver
27
27
/// <param name="nunitRef">An AssemblyName referring to the test framework.</param>
28
28
public NUnitFrameworkDriver ( AppDomain testDomain , string id , AssemblyName nunitRef )
29
29
{
30
- Guard . ArgumentNotNull ( testDomain , nameof ( testDomain ) ) ;
31
- Guard . ArgumentNotNullOrEmpty ( id , nameof ( id ) ) ;
32
- Guard . ArgumentNotNull ( nunitRef , nameof ( nunitRef ) ) ;
30
+ Guard . ArgumentNotNull ( testDomain ) ;
31
+ Guard . ArgumentNotNullOrEmpty ( id ) ;
32
+ Guard . ArgumentNotNull ( nunitRef ) ;
33
33
34
34
ID = id ;
35
35
@@ -60,11 +60,11 @@ public NUnitFrameworkDriver(AppDomain testDomain, string id, AssemblyName nunitR
60
60
/// <param name="nunitRef">An AssemblyName referring to the test framework.</param>
61
61
internal NUnitFrameworkDriver ( AppDomain testDomain , string api , string id , AssemblyName nunitRef )
62
62
{
63
- Guard . ArgumentNotNull ( testDomain , nameof ( testDomain ) ) ;
64
- Guard . ArgumentNotNull ( api , nameof ( api ) ) ;
63
+ Guard . ArgumentNotNull ( testDomain ) ;
64
+ Guard . ArgumentNotNull ( api ) ;
65
65
Guard . ArgumentValid ( api == "2009" || api == "2018" , $ "Invalid API specified: { api } ", nameof ( api ) ) ;
66
- Guard . ArgumentNotNullOrEmpty ( id , nameof ( id ) ) ;
67
- Guard . ArgumentNotNull ( nunitRef , nameof ( nunitRef ) ) ;
66
+ Guard . ArgumentNotNullOrEmpty ( id ) ;
67
+ Guard . ArgumentNotNull ( nunitRef ) ;
68
68
69
69
ID = id ;
70
70
API = api ;
@@ -90,8 +90,8 @@ internal NUnitFrameworkDriver(AppDomain testDomain, string api, string id, Assem
90
90
/// <param name="reference">An AssemblyName referring to the test framework.</param>
91
91
public NUnitFrameworkDriver ( string id , AssemblyName nunitRef )
92
92
{
93
- Guard . ArgumentNotNullOrEmpty ( id , nameof ( id ) ) ;
94
- Guard . ArgumentNotNull ( nunitRef , nameof ( nunitRef ) ) ;
93
+ Guard . ArgumentNotNullOrEmpty ( id ) ;
94
+ Guard . ArgumentNotNull ( nunitRef ) ;
95
95
96
96
ID = id ;
97
97
API = "2018" ;
0 commit comments