4 references to Any
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Lambda.cs (1)
323var requiresTypes = parameterSyntaxList.Any(static p => p.Type != null);
Declarations\DeclarationTreeBuilder.cs (1)
902bool anyMemberHasAttributes = members.Any(static m => m.AttributeLists.Any());
Lowering\Instrumentation\DebugInfoInjector.cs (1)
96Debug.Assert(typeDecl.BaseList?.Types.Any(t => t is PrimaryConstructorBaseTypeSyntax { ArgumentList: not null }) != true);
Syntax\SyntaxFacts.cs (1)
530return parameterList.Parameters.Any(static p => p.IsArgList);