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