CodeQL library for C#
codeql/csharp-all 1.0.5-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()