10 references to Any
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\CSharpTriviaFormatter.cs (1)
188structuredTrivia.GetTrailingTrivia().Any(SyntaxKind.EndOfLineTrivia);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\UseSimpleUsingStatement\UseSimpleUsingStatementCodeFixProvider.cs (1)
120.Any(SyntaxKind.EndOfLineTrivia);
Microsoft.CodeAnalysis.CSharp.Features (3)
DocumentationComments\CSharpDocumentationCommentSnippetService.cs (1)
311if (token.LeadingTrivia.Any(SyntaxKind.DocumentationCommentExteriorTrivia))
DocumentationComments\DocCommentConverter.cs (1)
48if (node.GetLeadingTrivia().Any(SyntaxKind.SingleLineDocumentationCommentTrivia))
src\Analyzers\CSharp\CodeFixes\UseSimpleUsingStatement\UseSimpleUsingStatementCodeFixProvider.cs (1)
120.Any(SyntaxKind.EndOfLineTrivia);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
LexicalAndXml\LexicalTests.cs (2)
3825t => t.LeadingTrivia.Any(SyntaxKind.ConflictMarkerTrivia) || 3826t.TrailingTrivia.Any(SyntaxKind.ConflictMarkerTrivia)));
Syntax\SyntaxTriviaListTests.cs (2)
235Assert.True(list.Any(SyntaxKind.MultiLineCommentTrivia)); 238Assert.False(list.Any(SyntaxKind.SingleLineCommentTrivia));
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\CSharpTriviaFormatter.cs (1)
188structuredTrivia.GetTrailingTrivia().Any(SyntaxKind.EndOfLineTrivia);