CodeQL library for C#
codeql/csharp-all 0.5.1 (changelog, source)
Search

Predicate isGeneratedCode

Holds if file looks like it contains generated code.

Import path

import semmle.code.csharp.commons.GeneratedCode
predicate isGeneratedCode(GeneratedCodeFile file)