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

Member predicate Parameter::hasExtensionMethodModifier

Holds this parameter is the first parameter of an extension method. For example, list is the first parameter of the extension method Count in

static int Count(this IEnumerable list) {
  ...
}
predicate hasExtensionMethodModifier()