Skip to content

Commit

Permalink
Fixed IsTWCore
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas committed Oct 4, 2024
1 parent 708cc43 commit 17caacd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public virtual AssemblyModelType GetAssemblyType(AssemblyModelType type, CrashRe
{
static bool IsTWCore(Assembly assembly)
{
if (assembly.IsDynamic)
if (assembly.IsDynamic || string.IsNullOrEmpty(assembly.Location))
return false;
var binFolder = Path.GetDirectoryName(assembly.Location);
if (!string.Equals(binFolder, "bin", StringComparison.OrdinalIgnoreCase))
Expand Down

0 comments on commit 17caacd

Please sign in to comment.