CodeQL library for C#
codeql/csharp-all 0.9.1 (changelog, source)
Search

Module Comments

Provides classes representing comments.

Comments are organized into CommentBlocks, consisting of one or more CommentLines.

Import path

import semmle.code.csharp.Comments

Imports

Element

Provides the Element class, the base class of all C# program elements.

Location

Provides the Location class to give a location for each program element.

Classes

CommentBlock

A collection of adjacent comment lines, for example

CommentLine

A single line of comment.

MultilineComment

A line of comment in a multiline style, for example each of the lines in

SinglelineComment

A single-line comment, for example line 1 in

XmlCommentLine

A line of XML documentation comment, for example each of the lines in