2 writes to Kind
Microsoft.CodeAnalysis.Workspaces (2)
FindSymbols\SearchQuery.cs (2)
28Kind = kind; 53Kind = SearchKind.Custom;
10 references to Kind
Microsoft.CodeAnalysis.Workspaces (10)
FindSymbols\Declarations\DeclarationFinder.cs (4)
30Contract.ThrowIfTrue(query.Kind == SearchKind.Custom, "Custom queries are not supported in this API"); 42var isExactNameSearch = query.Kind == SearchKind.Exact || 43(query.Kind == SearchKind.ExactIgnoreCase && !syntaxFacts.IsCaseSensitive); 80Contract.ThrowIfTrue(query.Kind == SearchKind.Custom, "Custom queries are not supported in this API");
FindSymbols\Declarations\DeclarationFinder_AllDeclarations.cs (2)
28Contract.ThrowIfTrue(query.Kind == SearchKind.Custom, "Custom queries are not supported in this API"); 44(service, solutionInfo, cancellationToken) => service.FindAllDeclarationsWithNormalQueryAsync(solutionInfo, project.Id, query.Name, query.Kind, criteria, cancellationToken),
FindSymbols\SymbolTree\SymbolTreeInfo.cs (4)
126Contract.ThrowIfTrue(query.Kind == SearchKind.Custom, "Custom queries are not supported in this API"); 138Contract.ThrowIfTrue(query.Kind == SearchKind.Custom, "Custom queries are not supported in this API"); 150Contract.ThrowIfTrue(query.Kind == SearchKind.Custom, "Custom queries are not supported in this API"); 158return query.Kind switch