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