CodeQL library for C#

Predicate tokenLocation

Holds if the index-th token of block copy is in file file, spanning column sc of line sl to column ec of line el.

For more information, see Locations.

Import path

import external.CodeDuplication
predicate tokenLocation(File file, int sl, int sc, int ec, int el, Copy copy, int index)