quickinfo

Not finding all of the symbols I need,How to find more symbols using the Roslyn API

▼魔方 西西 提交于 2019-12-24 13:16:20
问题 I am using the roslyn API and ace text editor to create a web IDE. When i hover over data i need it to find the symbol at the given location. This works in some situations by calling the roslyn method: var symbol = SymbolFinder.FindSymbolAtPosition(semanticModel, offset, dotNetCodeManager.Solution.Workspace, cancellationToken); An example of the situations where this works is when i hover my mouse over the word "table" in the below example. var SchemaName = table.Schema.Name; However when i