Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredpar committed Jan 27, 2023
1 parent 521a1e1 commit 2813c9a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,10 @@ public void AssemblyLoading_OverwriteBeforeLoad(bool shadowLoad)

var name = AssemblyName.GetAssemblyName(testFixture.Delta2.Path);
Assert.Equal(name.FullName, assembly.GetName().FullName);

VerifyDependencyAssemblies(
loader,
testFixture.Delta1.Path);
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public Assembly LoadFromPath(string originalAnalyzerPath)
// Not a managed assembly, nothing else to do
if (assemblyName is null)
{
throw new ArgumentException("Not a valid assembly");
throw new ArgumentException($"Not a valid assembly: {originalAnalyzerPath}");
}

try
Expand Down Expand Up @@ -127,7 +127,7 @@ public Assembly LoadFromPath(string originalAnalyzerPath)

if (tuple is { } info)
{
return (info.AssemblyName, info.RealAssemblyPath);
return info;
}
}

Expand Down

0 comments on commit 2813c9a

Please sign in to comment.