39 references to Any
Microsoft.CodeAnalysis (3)
DiagnosticAnalyzer\AnalyzerExecutor.cs (2)
780if (ephemeralActions.Any()) 881if (ephemeralActions.Any())
Operations\OperationExtensions.cs (1)
99while (stack.Any())
Microsoft.CodeAnalysis.CSharp (33)
Binder\Binder.IdentifierUsedAsValueFinder.cs (1)
269Debug.Assert(lookupResult.Symbols.Any());
Binder\Binder_Expressions.cs (5)
3342bool hasRefKinds = result.RefKinds.Any(); 3363bool hasNames = result.Names.Any(); 8417Debug.Assert(lookupResult.Symbols.Any()); 9193Debug.Assert(!methodOrPropertyGroup.Any()); 9245Debug.Assert(methodOrPropertyGroup.Any() || ((object)other != null));
Binder\Binder_Operators.cs (2)
2078if (result.Results.Any()) 2224if (result.Results.Any())
Binder\Binder_Statements.cs (2)
2598if (stack.Any()) 2604while (stack.Any());
Binder\DecisionDagBuilder.cs (2)
1113if (whenTruePossible && !whenTrueState.IsImpossible && !(whenTrueBuilder.Any() && whenTrueBuilder.Last().IsFullyMatched)) 1116if (whenFalsePossible && !whenFalseState.IsImpossible && !(whenFalseBuilder.Any() && whenFalseBuilder.Last().IsFullyMatched))
Binder\ForEachLoopBinder.cs (1)
1911if (lookupResult.Symbols.Any())
Binder\Semantics\OverloadResolution\OverloadResolution.cs (2)
3906bool hasAnyRefArg = argumentRefKinds.Any(); 4045bool hasAnyRefArg = argumentRefKinds.Any();
Binder\Semantics\OverloadResolution\OverloadResolution_ArgsToParameters.cs (1)
181if (arguments.Names.Any() && arguments.Names.Last() != null && isVararg)
BoundTree\NullabilityRewriter.cs (1)
67while (stack.Any());
CodeGen\EmitArrayInitializer.cs (1)
150Debug.Assert(!indices.Any());
Emitter\Model\PEModuleBuilder.cs (2)
1564if (!flagsBuilder.Any()) 1652Debug.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)
1838while (stack.Any());
Parser\LanguageParser.cs (2)
9716attributeLists: stack.Any() ? default : attributes, 9725while (stack.Any());
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (3)
607Debug.Assert(!builder.Any()); 625Debug.Assert(!builder.Any()); 647Debug.Assert(!builder.Any());
Symbols\Compilation_WellKnownMembers.cs (2)
895Debug.Assert(flagsBuilder.Any()); 919Debug.Assert(!transformFlagsBuilder.Any());
Symbols\Source\SourceMemberContainerSymbol.cs (1)
2918bool hasOp = ops.Any();
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (3)
MetadataUtilities.cs (2)
112if (kind == MakeAssemblyReferencesKind.AllReferences && runtimeWinMdBuilder.Any()) 238if (runtimeWinMdBuilder.Any())
PDB\PdbHelpers.cs (1)
44while (stack.Any())