9 references to IsSingleLineComment
Microsoft.CodeAnalysis.CSharp.Features (5)
src\Analyzers\CSharp\Analyzers\UseExpressionBody\Helpers\UseExpressionBodyHelper`1.cs (1)
217startOfLine = trivia.IsEndOfLine() || trivia.IsSingleLineComment();
Structure\CSharpStructureHelpers.cs (3)
119Contract.ThrowIfFalse(comment.IsSingleLineComment() || comment.IsMultiLineComment()); 121if (comment.IsSingleLineComment()) 176if (trivia.IsSingleLineComment())
TaskList\CSharpTaskListService.cs (1)
89=> trivia.IsSingleLineComment() || trivia.IsSingleLineDocComment();
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
Rename\CSharpRenameRewriterLanguageService.cs (1)
653if (newTrivia.IsSingleLineComment() || newTrivia.IsMultiLineComment())
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs (2)
283if (trivia.IsSingleLineComment() || trivia.IsShebangDirective()) 309if (trivia.IsSingleLineComment())
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTriviaExtensions.cs (1)
180previousIsSingleLineComment = t.IsSingleLineComment();