CodeQL queries 1.24

Skip to end of metadata
Go to start of metadata

Finds classes/interfaces that extend/implement 'System.Collections.IEnumerator'.

import csharp

from RefType type
where type.getABaseType+().hasQualifiedName("System.Collections.IEnumerator")
select type