File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<Project >
3
3
<PropertyGroup >
4
- <Version >29.0.0-beta.3 </Version >
4
+ <Version >29.0.0-beta.4 </Version >
5
5
<NoWarn >CA1822;CS1591;CS0649;xUnit1026;xUnit1013;CS1573;VerifyTestsProjectDir;VerifySetParameters;PolyFillTargetsForNuget;xUnit1051</NoWarn >
6
6
<ImplicitUsings >enable</ImplicitUsings >
7
7
<LangVersion >preview</LangVersion >
Original file line number Diff line number Diff line change @@ -34,13 +34,14 @@ public static void AssignTargetAssembly(Assembly assembly)
34
34
return ;
35
35
}
36
36
37
- lock ( locker )
37
+ using ( locker . EnterScope ( ) )
38
38
{
39
39
if ( VerifierSettings . assembly is not null )
40
40
{
41
41
return ;
42
42
}
43
43
44
+ VerifierSettings . assembly = assembly ;
44
45
Namer . UseAssembly ( assembly ) ;
45
46
IoHelpers . MapPathsForCallingAssembly ( assembly ) ;
46
47
ProjectDir = AttributeReader . GetProjectDirectory ( assembly ) ;
@@ -53,7 +54,6 @@ public static void AssignTargetAssembly(Assembly assembly)
53
54
54
55
SolutionDir = solutionDir ;
55
56
ApplyScrubbers . UseAssembly ( solutionDir , ProjectDir ) ;
56
- VerifierSettings . assembly = assembly ;
57
57
}
58
58
}
59
59
}
You can’t perform that action at this time.
0 commit comments