Browse Source

fix exception 3121

pull/18/head
Siegfried Pammer 14 years ago
parent
commit
c48107b503
  1. 5
      src/AddIns/DisplayBindings/ILSpyAddIn/ViewContent/DecompiledViewContent.cs

5
src/AddIns/DisplayBindings/ILSpyAddIn/ViewContent/DecompiledViewContent.cs

@ -128,10 +128,9 @@ namespace ICSharpCode.ILSpyAddIn @@ -128,10 +128,9 @@ namespace ICSharpCode.ILSpyAddIn
this.jumpToEntityTagWhenDecompilationFinished = entityTag;
return;
}
if (memberLocations != null) {
var location = memberLocations[entityTag];
TextLocation location;
if (memberLocations != null && memberLocations.TryGetValue(entityTag, out location))
codeView.JumpTo(location.Line, location.Column);
}
}
#endregion

Loading…
Cancel
Save