2 writes to Kind
Microsoft.CodeAnalysis.Workspaces (2)
FindSymbols\SearchQuery.cs (2)
31Kind = kind; 56Kind = SearchKind.Custom;
10 references to Kind
Microsoft.CodeAnalysis.Workspaces (10)
FindSymbols\Declarations\DeclarationFinder.cs (4)
28Contract.ThrowIfTrue(query.Kind == SearchKind.Custom, "Custom queries are not supported in this API"); 40var isExactNameSearch = query.Kind == SearchKind.Exact || 41(query.Kind == SearchKind.ExactIgnoreCase && !syntaxFacts.IsCaseSensitive); 78Contract.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)
123Contract.ThrowIfTrue(query.Kind == SearchKind.Custom, "Custom queries are not supported in this API"); 135Contract.ThrowIfTrue(query.Kind == SearchKind.Custom, "Custom queries are not supported in this API"); 147Contract.ThrowIfTrue(query.Kind == SearchKind.Custom, "Custom queries are not supported in this API"); 155return query.Kind switch