36 references to Any
Microsoft.CodeAnalysis (3)
DiagnosticAnalyzer\AnalyzerExecutor.cs (2)
897
if (ephemeralActions.
Any
())
1009
if (ephemeralActions.
Any
())
Operations\OperationExtensions.cs (1)
101
while (stack.
Any
())
Microsoft.CodeAnalysis.CSharp (33)
Binder\Binder_Expressions.cs (5)
3419
bool hasRefKinds = result.RefKinds.
Any
();
3440
bool hasNames = result.Names.
Any
();
8654
Debug.Assert(lookupResult.Symbols.
Any
());
10175
Debug.Assert(!methodOrPropertyGroup.
Any
());
10227
Debug.Assert(methodOrPropertyGroup.
Any
() || ((object)other != null));
Binder\Binder_Operators.cs (2)
2180
if (result.Results.
Any
())
2334
if (result.Results.
Any
())
Binder\Binder_Statements.cs (2)
2629
if (stack.
Any
())
2635
while (stack.
Any
());
Binder\Binder.IdentifierUsedAsValueFinder.cs (1)
277
Debug.Assert(lookupResult.Symbols.
Any
());
Binder\DecisionDagBuilder.cs (2)
1739
if (whenTruePossible && !whenTrueState.IsImpossible && !(whenTrueBuilder.
Any
() && whenTrueBuilder.Last().IsFullyMatched))
1742
if (whenFalsePossible && !whenFalseState.IsImpossible && !(whenFalseBuilder.
Any
() && whenFalseBuilder.Last().IsFullyMatched))
Binder\ForEachLoopBinder.cs (1)
1910
if (lookupResult.Symbols.
Any
())
Binder\Semantics\OverloadResolution\OverloadResolution_ArgsToParameters.cs (1)
181
if (arguments.Names.
Any
() && arguments.Names.Last() != null && isVararg)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (2)
3928
bool hasAnyRefArg = argumentRefKinds.
Any
();
4067
bool hasAnyRefArg = argumentRefKinds.
Any
();
BoundTree\NullabilityRewriter.cs (1)
67
while (stack.
Any
());
CodeGen\EmitArrayInitializer.cs (1)
150
Debug.Assert(!indices.
Any
());
Emitter\Model\PEModuleBuilder.cs (2)
1727
if (!flagsBuilder.
Any
())
1815
Debug.Assert(builder.
Any
());
FlowAnalysis\AbstractFlowPass.cs (1)
1810
if (!stack.
Any
())
Lowering\LocalRewriter\LocalRewriter_DeconstructionAssignmentOperator.cs (1)
120
&& effects.init.
Any
()
Lowering\LocalRewriter\LocalRewriter_Event.cs (1)
186
Debug.Assert(sideEffects.
Any
(), "Otherwise, we shouldn't be building a sequence");
Lowering\LocalRewriter\LocalRewriter_IfStatement.cs (1)
113
while (stack.
Any
());
Operations\CSharpOperationFactory.cs (1)
1904
while (stack.
Any
());
Parser\LanguageParser.cs (2)
10126
attributeLists: stack.
Any
() ? default : attributes,
10135
while (stack.
Any
());
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (3)
554
Debug.Assert(!builder.
Any
());
572
Debug.Assert(!builder.
Any
());
594
Debug.Assert(!builder.
Any
());
Symbols\Compilation_WellKnownMembers.cs (2)
935
Debug.Assert(flagsBuilder.
Any
());
959
Debug.Assert(!transformFlagsBuilder.
Any
());
Symbols\Source\SourceMemberContainerSymbol.cs (1)
3051
bool hasOp = ops.
Any
();