CodeQL queries 1.23

Skip to end of metadata
Go to start of metadata

Finds methods whose return type is 'void'.

import csharp

from Method m
where m.getReturnType() instanceof VoidType
select m