Module GeneratedCode

Provides classes for detecting generated code.

Import path

semmle.code.csharp.commons.GeneratedCode

Imports

csharp

The default C# QL library.

Predicates

isGeneratedCode

Holds if file looks like it contains generated code.

Classes

AutogenXsdFile

An auto-generated XSD code file.

DesignerFile

An auto-generated Designer file.

DontModifyMarkerComment

A comment warning against modifications.

FeatureFile

An auto-generated SpecFlow feature file.

GeneratedAttributeFile

An auto-generated CodeDOM file.

GeneratedCodeComment

A comment line that indicates generated code.

GeneratedCodeFile

A source file that contains generated code.

GeneratedCommentFile

A file contining comments suggesting it contains generated code.

GeneratedNamespaceFile

A file auto-generated by sgen.exe.

GenericGeneratedCodeComment

A generic comment line that suggests that the file is generated.

XamlFile

An auto-generated XAML code file.