43 references to Any
Microsoft.CodeAnalysis.CSharp (7)
Declarations\DeclarationTreeBuilder.cs (7)
933return (((Syntax.InternalSyntax.CompilationUnitSyntax)member).AttributeLists).Any(); 941return (((Syntax.InternalSyntax.BaseTypeDeclarationSyntax)member).AttributeLists).Any(); 944return (((Syntax.InternalSyntax.DelegateDeclarationSyntax)member).AttributeLists).Any(); 948return (((Syntax.InternalSyntax.BaseFieldDeclarationSyntax)member).AttributeLists).Any(); 955return (((Syntax.InternalSyntax.BaseMethodDeclarationSyntax)member).AttributeLists).Any(); 961bool hasAttributes = baseProp.AttributeLists.Any(); 967hasAttributes |= accessor.AttributeLists.Any();
Microsoft.CodeAnalysis.VisualBasic (36)
Parser\BlockContexts\DeclarationContext.vb (1)
118If modifiers.Any Then
Parser\BlockContexts\ExecutableStatementContext.vb (3)
109If Not DirectCast(node, TypeStatementSyntax).Modifiers.Any() Then 120If Not DirectCast(node, EnumStatementSyntax).Modifiers.Any() Then 136If Not DirectCast(node, MethodBaseSyntax).Modifiers.Any() Then
Parser\BlockContexts\PropertyBlockContext.vb (1)
42If accessors.Any Then
Parser\Parser.vb (14)
548If method.Statements.Any Then 1293If Context.BlockKind = SyntaxKind.EnumBlock AndAlso Not modifiers.Any Then 1391If attributes.Any AndAlso Not modifiers.Any Then 1399ElseIf modifiers.Any AndAlso CurrentToken.IsKeyword Then 1493If Not attributes.Any() AndAlso ShouldParseAsLabel() Then 2082If attributes.Any Then 2097If Not modifiers.Any Then 2099If(attributes.Any, 3423If modifiers.Any AndAlso 4664If Not (modifiers.Any AndAlso modifiers.Any(SyntaxKind.OptionalKeyword)) Then 4670ElseIf modifiers.Any AndAlso modifiers.Any(SyntaxKind.OptionalKeyword) Then 4755If unexpected.Any() Then 4763Debug.Assert(unexpected.Any())
Parser\ParseReportError.vb (7)
75Debug.Assert(Not forceErrorOnFirstToken OrElse tokens.Any AndAlso (modifiers.Any OrElse attributes.Any)) 85If modifiers.Any OrElse attributes.Any Then 119If modifiers.Any Then 123If attributes.Any Then
Scanner\ScannerXml.vb (2)
269Debug.Assert(Not leadingTrivia.Any() OrElse 732Debug.Assert(Not precedingTrivia.Any)
Scanner\TokenFactories.vb (2)
455Debug.Assert(Not precedingTrivia.Any()) 545Debug.Assert(Not precedingTrivia.Any())
Scanner\XmlDocComments.vb (3)
114Debug.Assert(nodes.Any) 459If Not precedingTrivia.Any AndAlso IsAtNewLine() AndAlso Not Me._doNotRequireXmlDocCommentPrefix Then 473Debug.Assert(Not precedingTrivia.Any)
Scanner\XmlTokenFactories.vb (2)
19If precedingTrivia.Any Then 92(precedingTrivia.Any OrElse
Syntax\InternalSyntax\SyntaxNodeExtensions.vb (1)
98If Not trivia.Any Then