Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Microsoft.CodeAnalysis.SemanticSearch;
[ExportWorkspaceService(typeof(ITextBufferSupportsFeatureService), WorkspaceKind.SemanticSearch), Shared]
[method: ImportingConstructor]
[method: Obsolete(MefConstruction.ImportingConstructorMessage, error: true)]
internal sealed class SemanticSeatchTextBufferSupportsFeatureService() : ITextBufferSupportsFeatureService
internal sealed class SemanticSearchTextBufferSupportsFeatureService() : ITextBufferSupportsFeatureService
{
public bool SupportsCodeFixes(ITextBuffer textBuffer)
=> true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// See the LICENSE file in the project root for more information.

using System;
using System.Collections.Immutable;
using System.Composition;
using System.Threading;
using System.Threading.Tasks;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ internal interface ISemanticSearchService : ILanguageService
/// Compiles a query. The query has to be executed or discarded.
/// </summary>
/// <param name="query">Query (top-level code).</param>
/// <param name="referenceAssembliesDir">Directory that contains refernece assemblies to be used for compilation of the query.</param>
/// <param name="referenceAssembliesDir">Directory that contains reference assemblies to be used for compilation of the query.</param>
CompileQueryResult CompileQuery(
SolutionServices services,
string query,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public async IAsyncEnumerable<SyntaxNode> FindAsync(ISymbol symbol)
{
using var _ = PooledHashSet<SyntaxNode>.GetInstance(out var cachedRoots);

// Kick off the SymbolFinder.FindReferencesAsync call on the provided symbol/solution. As it finds
// Kick off the SymbolFinder.FindReferencesAsync call on the provided symbol/solution. As it finds
// ReferenceLocations, it will push those into the 'callback' delegate passed into it. ProducerConsumer will
// then convert this to a simple IAsyncEnumerable<ReferenceLocation> that we can iterate over, converting those
// locations to SyntaxNodes in the corresponding C# or VB document.
Expand Down
Loading