CodeQL library for C#
codeql/csharp-all 2.0.1-dev (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)