提交 29ab8cba 编写于 作者: D Dustin Campbell

Merge pull request #8580 from DustinCampbell/issue-162325

Fix bug in IVsSimpleLibrary2.CreateNavInfo(...) implementation where we were clearing string builders before they were used
......@@ -395,12 +395,12 @@ protected override int CreateNavInfo(SYMBOL_DESCRIPTION_NODE[] rgSymbolNodes, ui
}
}
SharedPools.Default<StringBuilder>().ClearAndFree(namespaceName);
SharedPools.Default<StringBuilder>().ClearAndFree(className);
// TODO: Make sure we pass the right value for Visual Basic.
ppNavInfo = this.LibraryService.NavInfoFactory.Create(libraryName, referenceOwnerName, namespaceName.ToString(), className.ToString(), memberName);
SharedPools.Default<StringBuilder>().ClearAndFree(namespaceName);
SharedPools.Default<StringBuilder>().ClearAndFree(className);
return VSConstants.S_OK;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册