diff --git a/src/Workspaces/Core/Portable/FindSymbols/SymbolFinder_Declarations.cs b/src/Workspaces/Core/Portable/FindSymbols/SymbolFinder_Declarations.cs index e41efc6d03780d12dbf61d6dbb859c6c5536a359..1811ae8916ffd075663c52e3f8d260cc721bdc1f 100644 --- a/src/Workspaces/Core/Portable/FindSymbols/SymbolFinder_Declarations.cs +++ b/src/Workspaces/Core/Portable/FindSymbols/SymbolFinder_Declarations.cs @@ -128,7 +128,7 @@ public static partial class SymbolFinder if (string.IsNullOrWhiteSpace(name)) { - return ImmutableArray.Empty; + return SpecializedCollections.EmptyEnumerable(); } return await FindDeclarationsAsync( @@ -148,7 +148,7 @@ public static partial class SymbolFinder if (string.IsNullOrWhiteSpace(name)) { - return ImmutableArray.Empty; + return SpecializedCollections.EmptyEnumerable(); } return await FindDeclarationsAsync( @@ -404,7 +404,7 @@ public static Task> FindSourceDeclarationsAsync(Project pro if (string.IsNullOrWhiteSpace(name)) { - return ImmutableArray.Empty; + return SpecializedCollections.EmptyEnumerable(); } using (Logger.LogBlock(FunctionId.SymbolFinder_Project_Name_FindSourceDeclarationsAsync, cancellationToken))