@@ -17,7 +17,7 @@ namespace NUnit.Engine.Internal
17
17
{
18
18
internal sealed class TestAssemblyResolver : IDisposable
19
19
{
20
- private static readonly Logger _log = InternalTrace . GetLogger ( typeof ( TestAssemblyResolver ) ) ;
20
+ private static readonly Logger log = InternalTrace . GetLogger ( typeof ( TestAssemblyResolver ) ) ;
21
21
22
22
private readonly ICompilationAssemblyResolver _assemblyResolver ;
23
23
private readonly DependencyContext _dependencyContext ;
@@ -68,7 +68,7 @@ private Assembly OnResolving(AssemblyLoadContext context, AssemblyName name)
68
68
69
69
if ( TryLoadFromTrustedPlatformAssemblies ( context , name , out var loadedAssembly ) )
70
70
{
71
- _log . Info ( "'{0}' assembly is loaded from trusted path '{1}'" , name , loadedAssembly . Location ) ;
71
+ log . Info ( "'{0}' assembly is loaded from trusted path '{1}'" , name , loadedAssembly . Location ) ;
72
72
return loadedAssembly ;
73
73
}
74
74
@@ -91,7 +91,7 @@ private Assembly OnResolving(AssemblyLoadContext context, AssemblyName name)
91
91
if ( name . Name == Path . GetFileNameWithoutExtension ( assemblyPath ) )
92
92
{
93
93
loadedAssembly = context . LoadFromAssemblyPath ( assemblyPath ) ;
94
- _log . Info ( "'{0}' ({1}) assembly is loaded from runtime libraries {2} dependencies" ,
94
+ log . Info ( "'{0}' ({1}) assembly is loaded from runtime libraries {2} dependencies" ,
95
95
name ,
96
96
loadedAssembly . Location ,
97
97
library . Name ) ;
@@ -116,7 +116,7 @@ private Assembly OnResolving(AssemblyLoadContext context, AssemblyName name)
116
116
if ( File . Exists ( candidate ) )
117
117
{
118
118
loadedAssembly = context . LoadFromAssemblyPath ( candidate ) ;
119
- _log . Info ( "'{0}' ({1}) assembly is loaded from AdditionalFrameworkDirectory {2} dependencies with best candidate version {3}" ,
119
+ log . Info ( "'{0}' ({1}) assembly is loaded from AdditionalFrameworkDirectory {2} dependencies with best candidate version {3}" ,
120
120
name ,
121
121
loadedAssembly . Location ,
122
122
frameworkDirectory ,
@@ -126,12 +126,12 @@ private Assembly OnResolving(AssemblyLoadContext context, AssemblyName name)
126
126
}
127
127
else
128
128
{
129
- _log . Debug ( "Best version dir for {0} is {1}, but there is no {2} file" , frameworkDirectory , versionDir , candidate ) ;
129
+ log . Debug ( "Best version dir for {0} is {1}, but there is no {2} file" , frameworkDirectory , versionDir , candidate ) ;
130
130
}
131
131
}
132
132
}
133
133
134
- _log . Info ( "Cannot resolve assembly '{0}'" , name ) ;
134
+ log . Info ( "Cannot resolve assembly '{0}'" , name ) ;
135
135
return null ;
136
136
}
137
137
0 commit comments