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

Class MultilineComment

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

/* This is
   a comment * /

Import path

import csharp

Direct supertypes

Indirect supertypes

Predicates

toString

Gets a textual representation of this comment line.

Inherited predicates

getLocation

Gets the location of this comment line.

from CommentLine
getParent

Gets the containing comment block.

from CommentLine
getRawText

Gets the raw text of the comment, including the comment markers.

from CommentLine
getText

Gets the text in the comment, trimmed to remove comment markers and leading and trailing whitespace.

from CommentLine