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

Member predicate ConstructorInitializer::getConstructor

Gets the constructor that this initializer call belongs to. For example, the initializer call base() on line 7 belongs to the constructor B on line 6 in

class A
{
    public A() { }
}

class B : A
{
    public B() : base() { }
}
Constructor getConstructor()