Browse Source

Fix: Add-in has passed the wrong name to ILSpy for generic types.

pull/1167/head
Andreas Weizel 7 years ago
parent
commit
8b56eaa473
  1. 3
      ILSpy.AddIn/Commands/OpenCodeItemCommand.cs

3
ILSpy.AddIn/Commands/OpenCodeItemCommand.cs

@ -93,7 +93,8 @@ namespace ICSharpCode.ILSpy.AddIn.Commands @@ -93,7 +93,8 @@ namespace ICSharpCode.ILSpy.AddIn.Commands
}
var refs = refsmap.Select(fn => fn.Value).Where(f => File.Exists(f));
OpenAssembliesInILSpy(new ILSpyParameters(refs, "/navigateTo:" + symbol.GetDocumentationCommentId()));
OpenAssembliesInILSpy(new ILSpyParameters(refs, "/navigateTo:" +
(symbol.OriginalDefinition ?? symbol).GetDocumentationCommentId()));
}
ISymbol GetSymbolResolvableByILSpy(SemanticModel model, SyntaxNode node)

Loading…
Cancel
Save