9 references to IsRegularComment
Microsoft.CodeAnalysis.CSharp.Features (3)
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryImports\CSharpRemoveUnnecessaryImportsDiagnosticAnalyzer.cs (1)
44=> trivia.IsRegularComment() || trivia.IsDocComment();
src\Analyzers\CSharp\Analyzers\UseExpressionBody\Helpers\UseExpressionBodyHelper`1.cs (2)
273if (expressionBody.GetLeadingTrivia().Any(t => t.IsRegularComment())) 278var lastComment = trailingTrivia.LastOrDefault(t => t.IsRegularComment());
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
903var hasTrailingComments = from.GetTrailingTrivia().Any(t => t.IsRegularComment());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTriviaExtensions.cs (1)
34=> trivia.IsRegularComment() || trivia.IsDocComment();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTriviaListExtensions.cs (1)
28.Where(t => t.IsRegularComment())
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
1147=> trivia.IsRegularComment();
Microsoft.VisualStudio.LanguageServices.CSharp (2)
CodeModel\CSharpCodeModelService.cs (2)
1227if (trivia.IsRegularComment()) 1256if (trivia.IsRegularComment())