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

Class CompilerError

A diagnostic that is a compilation error.

Import path

import semmle.code.csharp.commons.Diagnostics

Direct supertypes

Indirect supertypes

Inherited fields

Inherited predicates

getCompilation

Gets the compilation that generated this diagnostic.

from Diagnostic
getElement

Gets the element associated with this diagnostic, if any.

from Diagnostic
getFullMessage

Gets the full error message of this diagnostic.

from Diagnostic
getLocation

Gets the location of this diagnostic.

from Diagnostic
getMessage

Gets the short error message of this diagnostic.

from Diagnostic
getSeverity

Gets the severity of this diagnostic. 0 = Hidden 1 = Info 2 = Warning 3 = Error

from Diagnostic
getSeverityText

Gets a string representation of the severity of this diagnostic.

from Diagnostic
getTag

Gets the identifier of this diagnostic, for example “CS8019”.

from Diagnostic
toString

Gets a textual representation of this diagnostic.

from Diagnostic

Charpred