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