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

Class InvalidOverride

An override that is invalid because the overridden method is not in a base class.

Import path

import semmle.code.cil.ConsistencyChecks

Direct supertypes

Indirect supertypes

Predicates

Inherited predicates

getMethod

Gets the method containing the violation.

from MethodViolation
toStringfrom MethodViolation

Charpred