CodeQL library for C#
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()