projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54ab501
)
Check for missing Assembly.Location
author
Gabriel Garcia
<garciat@live.com>
Wed, 8 Apr 2015 14:48:16 +0000
(10:48 -0400)
committer
Gabriel Garcia
<garciat@live.com>
Wed, 8 Apr 2015 14:48:16 +0000
(10:48 -0400)
mcs/class/corlib/System.Reflection/Assembly.cs
patch
|
blob
|
history
diff --git
a/mcs/class/corlib/System.Reflection/Assembly.cs
b/mcs/class/corlib/System.Reflection/Assembly.cs
index ad50e600bbb7a7c4024adb7285023a5bc8ea8444..0bba65f4693a630934df471360618a9d26b4b2f7 100644
(file)
--- a/
mcs/class/corlib/System.Reflection/Assembly.cs
+++ b/
mcs/class/corlib/System.Reflection/Assembly.cs
@@
-514,6
+514,9
@@
namespace System.Reflection {
// ignore
}
+ if (String.IsNullOrEmpty (Location))
+ return null;
+
// Try the assembly directory
string location = Path.GetDirectoryName (Location);
string fullName = Path.Combine (location, Path.Combine (culture.Name, an.Name + ".dll"));