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

Module CustomModifierReceiver

Provides a class to represent modopt and modreq declarations.

Import path

import semmle.code.cil.CustomModifierReceiver



A class to represent entities that can receive custom modifiers. Custom modifiers can be attached to - the type of a Field, - the return type of a Method or Property, - the type of parameters. A CustomModifierReceiver is therefore either a Field, Property, Method, or Parameter.