Skip to content

Commit 7cad9b3

Browse files
Add link to runtime-configuration-file.md (#657)
Add link to runtime-configuration-file.md
1 parent e15e653 commit 7cad9b3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/coverlet.core/Instrumentation/CecilAssemblyResolver.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Collections.Generic;
33
using System.IO;
44
using System.Linq;
5-
using System.Text;
5+
66
using Coverlet.Core.Abstracts;
77
using Coverlet.Core.Exceptions;
88
using 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);

0 commit comments

Comments
 (0)