We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50b7611 commit 5db0c75Copy full SHA for 5db0c75
src/VisualStudio/Core/Def/Progression/GraphBuilder.cs
@@ -210,7 +210,7 @@ public async Task<GraphNode> AddNodeAsync(
210
// We may need to look up source code within this solution
211
if (preferredLocation == null && symbol.Locations.Any(static loc => loc.IsInMetadata))
212
{
213
- var newSymbol = await SymbolFinder.FindSourceDefinitionAsync(symbol, contextProject.Solution, cancellationToken).ConfigureAwait(false);
+ var newSymbol = SymbolFinder.FindSourceDefinition(symbol, contextProject.Solution, cancellationToken);
214
if (newSymbol != null)
215
preferredLocation = newSymbol.Locations.Where(loc => loc.IsInSource).FirstOrDefault();
216
}
0 commit comments