The Qualifier class holds standard qualifiers for CIL
objects. It is used by other objects to set the
environment in which CIL objects will be created.
Here is a list of supported qualifiers:
Public = 0x1,
Private = 0x2,
Static = 0x4,
Instance = 0x8,
Explicit = 0x10,
Ansi = 0x20,
Sealed = 0x40,
Enum = 0x80,
Value = 0x100,
Sequential = 0x200,
Auto = 0x400,
Literal = 0x800,
HideBySig = 0x1000,
PreserveSig = 0x2000,
SpecialName = 0x4000,
RTSpecialName = 0x8000,
CIL = 0x10000,
Managed = 0x20000
The qualifier objects usually aren't constructed but are kept as
direct members of other objects. They are often
specified in object constructors.
GetName() is a function that creates the fully qualified ILASM name
for an entity.
static std::string
GetName(std::string root, DataContainer *parent, bool type =
false);
Accessors for the actual flags held by this object
int Flags() const { return
flags_; }
void Flags(int
flags) { flags_ = flags; }