CodeQL queries 1.25
Skip to end of metadata
Go to start of metadata

Finds methods with more than ten parameters.

import csharp

from Method m
where m.getNumberOfParameters() > 10
select m