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