Skip to content

Commit 5db0c75

Browse files
Make synchronous
1 parent 50b7611 commit 5db0c75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/VisualStudio/Core/Def/Progression/GraphBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ public async Task<GraphNode> AddNodeAsync(
210210
// We may need to look up source code within this solution
211211
if (preferredLocation == null && symbol.Locations.Any(static loc => loc.IsInMetadata))
212212
{
213-
var newSymbol = await SymbolFinder.FindSourceDefinitionAsync(symbol, contextProject.Solution, cancellationToken).ConfigureAwait(false);
213+
var newSymbol = SymbolFinder.FindSourceDefinition(symbol, contextProject.Solution, cancellationToken);
214214
if (newSymbol != null)
215215
preferredLocation = newSymbol.Locations.Where(loc => loc.IsInSource).FirstOrDefault();
216216
}

0 commit comments

Comments
 (0)