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