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

Member predicate ObjectCreation::hasInitializer

Holds if this constructor call includes an object initializer or an element initializer.

predicate hasInitializer()