2 instantiations of Any
Microsoft.CodeAnalysis.Features (1)
NavigateTo\RegexQueryCompiler.cs (1)
119
return new RegexQuery.
Any
(children.MoveToImmutable());
Microsoft.CodeAnalysis.Workspaces (1)
PatternMatching\RegexQuery.cs (1)
168
_ => new
Any
(children.ToImmutable()),
10 references to Any
Microsoft.CodeAnalysis.Features (1)
NavigateTo\RegexQueryCompiler.cs (1)
54
/// <see cref="RegexQuery.
Any
"/>, and <see cref="RegexQuery.Literal"/> nodes — no
Microsoft.CodeAnalysis.Workspaces (9)
FindSymbols\TopLevelSyntaxTree\NavigateToSearchIndex.NavigateToSearchInfo.cs (1)
759
case PatternMatching.RegexQuery.
Any
any:
PatternMatching\RegexQuery.cs (8)
17
/// (AND), alternation becomes <see cref="
Any
"/> (OR), and opaque constructs (wildcards, character
90
/// Simplifies the query tree by flattening nested <see cref="All"/>/<see cref="
Any
"/> nodes,
95
/// still constrain the match. In an <see cref="
Any
"/> (OR), it poisons the whole disjunction —
96
/// if one branch can match anything, the entire <see cref="
Any
"/> can match anything, so it
101
/// <see cref="
Any
"/>, or <see cref="Literal"/>, no <see cref="None"/> nodes exist anywhere
110
Any
any => OptimizeAny(any),
145
static RegexQuery OptimizeAny(
Any
any)
158
if (optimized is
Any
inner)