23 references to Any
Microsoft.CodeAnalysis (4)
Syntax\SeparatedSyntaxList.cs (4)
218if (this.Any()) 233if (this.Any()) 609if (this.Any()) 619if (this.Any())
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (1)
205if (!originalParams.Any())
Microsoft.CodeAnalysis.CSharp.Features (3)
ChangeSignature\CSharpChangeSignatureService.cs (1)
405!nameMemberCref.Parameters.Parameters.Any())
ConvertLinq\ConvertForEachToLinqQuery\ToToListConverter.cs (2)
33(objectCreationExpression.ArgumentList == null || !objectCreationExpression.ArgumentList.Arguments.Any()) && 34(objectCreationExpression.Initializer == null || !objectCreationExpression.Initializer.Expressions.Any());
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (1)
205if (!originalParams.Any())
Microsoft.CodeAnalysis.Test.Utilities (5)
Compilation\ControlFlowGraphVerifier.cs (5)
1103if (((CSharp.Syntax.BaseObjectCreationExpressionSyntax)syntax).Initializer?.Expressions.Any() == true) 1109if (((CSharp.Syntax.CollectionExpressionSyntax)syntax).Elements.Any()) 1117&& withExpr.Initializer.Expressions.Any() 1214if ((objCreation.Initializer is VisualBasic.Syntax.ObjectMemberInitializerSyntax memberInit && memberInit.Initializers.Any()) || 1215(objCreation.Initializer is VisualBasic.Syntax.ObjectCollectionInitializerSyntax collectionInit && collectionInit.Initializer.Initializers.Any()))
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\SpeculationAnalyzer.vb (1)
279If Not originalParams.Any() Then
Microsoft.CodeAnalysis.VisualBasic.Features (7)
ChangeSignature\VisualBasicChangeSignatureService.vb (5)
209Return If(parameterList IsNot Nothing AndAlso parameterList.Parameters.Any(), 214Return If(parameterList IsNot Nothing AndAlso parameterList.Parameters.Any(), 444Not crefReference.Signature.ArgumentTypes.Any() Then 457If Not lambda.SubOrFunctionHeader.ParameterList.Parameters.Any() Then 471If Not lambda.SubOrFunctionHeader.ParameterList.Parameters.Any() Then
EditAndContinue\BreakpointSpans.vb (2)
339If query.Clauses.First() IsNot fromClause AndAlso fromClause.Variables.Any() Then 361If orderByClause.Orderings.Any() Then
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\SpeculationAnalyzer.vb (1)
279If Not originalParams.Any() Then