Skip to content

Commit 5c005e8

Browse files
Remove unnecessary check
1 parent 76fe534 commit 5c005e8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Workspaces/Core/Portable/FindSymbols/SymbolFinder_Hierarchy.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -331,9 +331,6 @@ public static async Task<IEnumerable<ISymbol>> FindImplementationsAsync(
331331
if (solution == null)
332332
throw new ArgumentNullException(nameof(solution));
333333

334-
if (solution.GetOriginatingProjectId(symbol) == null)
335-
throw new ArgumentException(WorkspacesResources.Symbols_project_could_not_be_found_in_the_provided_solution, nameof(symbol));
336-
337334
// A symbol can only have implementations if it's an interface or a
338335
// method/property/event from an interface.
339336
if (symbol is INamedTypeSymbol namedTypeSymbol)

0 commit comments

Comments
 (0)