8 references to IsDocComment
Microsoft.CodeAnalysis.CSharp.CodeStyle (8)
src\Analyzers\CSharp\Analyzers\ConvertProgram\ConvertProgramAnalysis_TopLevelStatements.cs (2)
117
if (typeDeclaration.GetLeadingTrivia().Any(t => t.
IsDocComment
()))
146
if (member.GetLeadingTrivia().Any(t => t.
IsDocComment
()))
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryImports\CSharpRemoveUnnecessaryImportsDiagnosticAnalyzer.cs (1)
44
=> trivia.IsRegularComment() || trivia.
IsDocComment
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTriviaExtensions.cs (1)
34
=> trivia.IsRegularComment() || trivia.
IsDocComment
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\CSharpTriviaFormatter.cs (2)
334
if (!trivia.
IsDocComment
())
361
if (!trivia.
IsDocComment
())
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaRewriter.cs (1)
125
if (trivia.
IsDocComment
())
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
1217
=> trivia.
IsDocComment
();