File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/coverlet.core/Instrumentation Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 22using System . Collections . Generic ;
33using System . IO ;
44using System . Linq ;
5- using System . Text ;
5+
66using Coverlet . Core . Abstracts ;
77using Coverlet . Core . Exceptions ;
88using Microsoft . Extensions . DependencyModel ;
@@ -148,6 +148,8 @@ private bool IsDotNetCore()
148148 /// <PropertyGroup>
149149 /// <PreserveCompilationContext>true</PreserveCompilationContext>
150150 /// </PropertyGroup>
151+ ///
152+ /// Runtime configuration file doc https://github.com/dotnet/cli/blob/master/Documentation/specs/runtime-configuration-file.md
151153 ///
152154 /// </summary>
153155 internal AssemblyDefinition TryWithCustomResolverOnDotNetCore ( AssemblyNameReference name )
@@ -167,6 +169,7 @@ internal AssemblyDefinition TryWithCustomResolverOnDotNetCore(AssemblyNameRefere
167169
168170 using DependencyContextJsonReader contextJsonReader = new DependencyContextJsonReader ( ) ;
169171 Dictionary < string , Lazy < AssemblyDefinition > > libraries = new Dictionary < string , Lazy < AssemblyDefinition > > ( ) ;
172+
170173 foreach ( string fileName in Directory . GetFiles ( Path . GetDirectoryName ( _modulePath ) , "*.deps.json" ) )
171174 {
172175 using FileStream depsFile = File . OpenRead ( fileName ) ;
You can’t perform that action at this time.
0 commit comments