Browse Source

fix NRE when trying to decompile in a debugging session with dynamic/in-memory assemblies

pull/315/head
Siegfried Pammer 12 years ago
parent
commit
1190f0ae97
  1. 2
      src/Main/SharpDevelop/Dom/AssemblyModel.cs

2
src/Main/SharpDevelop/Dom/AssemblyModel.cs

@ -68,7 +68,7 @@ namespace ICSharpCode.SharpDevelop.Dom
public FileName Location { public FileName Location {
get { get {
if (context != null) { if (context != null && !string.IsNullOrEmpty(context.Location)) {
return new FileName(context.Location); return new FileName(context.Location);
} }
return null; return null;

Loading…
Cancel
Save