Skip to content

Commit 1761cb0

Browse files
author
Mohamed Koubaa
committed
Add comment
1 parent f58e574 commit 1761cb0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

netfx_loader/ClrLoader.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ private static string AssemblyDirectory
2626
{
2727
get
2828
{
29+
// This is needed in case the DLL was shadow-copied
30+
// (Otherwise .Location would work)
2931
string codeBase = Assembly.GetExecutingAssembly().CodeBase;
3032
UriBuilder uri = new UriBuilder(codeBase);
3133
string path = Uri.UnescapeDataString(uri.Path);

0 commit comments

Comments
 (0)