43 references to Any
Microsoft.CodeAnalysis (2)
DiagnosticAnalyzer\AnalyzerExecutor.cs (1)
860if (executableNodeActions.Any())
Operations\OperationExtensions.cs (1)
99while (stack.Any())
Microsoft.CodeAnalysis.CSharp (27)
Binder\Binder.IdentifierUsedAsValueFinder.cs (1)
269Debug.Assert(lookupResult.Symbols.Any());
Binder\Binder_Expressions.cs (6)
3074bool hasRefKinds = result.RefKinds.Any(); 3095bool hasNames = result.Names.Any(); 7166Debug.Assert(lookupResult.Symbols.Any()); 7400Debug.Assert(lookupResult.Symbols.Any()); 7750Debug.Assert(!methodOrPropertyGroup.Any()); 7802Debug.Assert(methodOrPropertyGroup.Any() || ((object)other != null));
Binder\Binder_Operators.cs (2)
1299if (result.Results.Any()) 1392if (result.Results.Any())
Binder\DecisionDagBuilder.cs (2)
1064if (whenTruePossible && !whenTrueState.IsImpossible && !(whenTrueBuilder.Any() && whenTrueBuilder.Last().IsFullyMatched)) 1067if (whenFalsePossible && !whenFalseState.IsImpossible && !(whenFalseBuilder.Any() && whenFalseBuilder.Last().IsFullyMatched))
Binder\ForEachLoopBinder.cs (1)
1644if (lookupResult.Symbols.Any())
Binder\Semantics\OverloadResolution\OverloadResolution.cs (2)
3147bool hasAnyRefArg = argumentRefKinds.Any(); 3238bool hasAnyRefArg = argumentRefKinds.Any();
Binder\Semantics\OverloadResolution\OverloadResolution_ArgsToParameters.cs (1)
175if (arguments.Names.Any() && arguments.Names.Last() != null && isVararg)
CodeGen\EmitArrayInitializer.cs (1)
149Debug.Assert(!indices.Any());
Emitter\Model\PEModuleBuilder.cs (2)
1599if (!flagsBuilder.Any()) 1687Debug.Assert(builder.Any());
Lowering\LocalRewriter\LocalRewriter_DeconstructionAssignmentOperator.cs (1)
120&& effects.init.Any()
Lowering\LocalRewriter\LocalRewriter_Event.cs (1)
177Debug.Assert(sideEffects.Any(), "Otherwise, we shouldn't be building a sequence");
Lowering\LocalRewriter\LocalRewriter_StringConcat.cs (2)
69if (leftFlattened.Any() && rightFlattened.Any())
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (3)
601Debug.Assert(!builder.Any()); 619Debug.Assert(!builder.Any()); 641Debug.Assert(!builder.Any());
Symbols\Compilation_WellKnownMembers.cs (2)
865Debug.Assert(flagsBuilder.Any()); 889Debug.Assert(!transformFlagsBuilder.Any());
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (1)
CompilationContext.cs (1)
1468if (displayClassInstances.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())
Microsoft.CodeAnalysis.VisualBasic (9)
Binding\Binder_SelectCase.vb (2)
389If Not generateSwitchTable AndAlso caseBlockBuilder.Any() Then 572If Not caseBlocks.Any() OrElse Not selectExpr.Type.IsValidTypeForSwitchTable() Then
CodeGen\EmitArrayInitializer.vb (1)
121Debug.Assert(Not indices.Any)
CommandLine\VisualBasicCommandLineParser.vb (1)
1288If flattenedArgs.Any Then
Lowering\LocalRewriter\LocalRewriter_StringConcat.vb (2)
58If leftFlattened.Any AndAlso rightFlattened.Any Then
Symbols\AnonymousTypes\AnonymousTypeManager_Templates.vb (2)
297Debug.Assert(Not builder.Any()) 302If builder.Any() Then
Symbols\Source\OverrideHidingHelper.vb (1)
226If unimplementedMembers.Any Then
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (1)
CompilationContext.vb (1)
1093If displayClassInstances.Any() Then