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