39 references to Any
Microsoft.CodeAnalysis (3)
DiagnosticAnalyzer\AnalyzerExecutor.cs (2)
883if (ephemeralActions.Any()) 986if (ephemeralActions.Any())
Operations\OperationExtensions.cs (1)
99while (stack.Any())
Microsoft.CodeAnalysis.CSharp (33)
Binder\Binder.IdentifierUsedAsValueFinder.cs (1)
270Debug.Assert(lookupResult.Symbols.Any());
Binder\Binder_Expressions.cs (5)
3363bool hasRefKinds = result.RefKinds.Any(); 3384bool hasNames = result.Names.Any(); 8445Debug.Assert(lookupResult.Symbols.Any()); 9256Debug.Assert(!methodOrPropertyGroup.Any()); 9308Debug.Assert(methodOrPropertyGroup.Any() || ((object)other != null));
Binder\Binder_Operators.cs (2)
2191if (result.Results.Any()) 2343if (result.Results.Any())
Binder\Binder_Statements.cs (2)
2627if (stack.Any()) 2633while (stack.Any());
Binder\DecisionDagBuilder.cs (2)
1161if (whenTruePossible && !whenTrueState.IsImpossible && !(whenTrueBuilder.Any() && whenTrueBuilder.Last().IsFullyMatched)) 1164if (whenFalsePossible && !whenFalseState.IsImpossible && !(whenFalseBuilder.Any() && whenFalseBuilder.Last().IsFullyMatched))
Binder\ForEachLoopBinder.cs (1)
1898if (lookupResult.Symbols.Any())
Binder\Semantics\OverloadResolution\OverloadResolution.cs (2)
3919bool hasAnyRefArg = argumentRefKinds.Any(); 4058bool 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)
1727if (!flagsBuilder.Any()) 1815Debug.Assert(builder.Any());
FlowAnalysis\AbstractFlowPass.cs (1)
1811if (!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)
1829while (stack.Any());
Parser\LanguageParser.cs (2)
9908attributeLists: stack.Any() ? default : attributes, 9917while (stack.Any());
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (3)
566Debug.Assert(!builder.Any()); 584Debug.Assert(!builder.Any()); 606Debug.Assert(!builder.Any());
Symbols\Compilation_WellKnownMembers.cs (2)
911Debug.Assert(flagsBuilder.Any()); 935Debug.Assert(!transformFlagsBuilder.Any());
Symbols\Source\SourceMemberContainerSymbol.cs (1)
2882bool 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())