Enum TypeAttributes
- Namespace
- AsmResolver.PE.DotNet.Metadata.Tables
- Assembly
- AsmResolver.PE.dll
Provides members defining all flags that can be assigned to a type definition.
[Flags]
public enum TypeAttributes : uint
Fields
Abstract = 128Class is abstract.
AnsiClass = 0LPTSTR is interpreted as ANSI in this class.
AutoClass = 131072LPTSTR is interpreted automatically
AutoLayout = 0Class fields are auto-laid out
BeforeFieldInit = 1048576Initialize the class any time before first static field access.
Class = 0BaseType is a class.
ClassSemanticsMask = 96Provides a bitmask for obtaining flags related to the semantics of the type.
CustomFormatClass = UnicodeClass | AutoClassA non-standard encoding specified by CustomFormatMask.
ExplicitLayout = 16Layout is supplied explicitly
Forwarder = 2097152This ExportedType is a type forwarder.
HasSecurity = 262144Class has security associate with it.
Import = 4096Class / interface is imported.
Interface = 32BaseType is an interface.
LayoutMask = SequentialLayout | ExplicitLayoutProvides a bitmask for obtaining flags related to the layout of the type.
NestedAssembly = Public | NestedFamilyClass is nested with assembly visibility.
NestedFamily = 4Class is nested with family visibility.
NestedFamilyAndAssembly = NestedPublic | NestedFamilyClass is nested with family and assembly visibility.
NestedFamilyOrAssembly = Public | NestedFamilyAndAssemblyClass is nested with family or assembly visibility.
NestedPrivate = Public | NestedPublicClass is nested with private visibility.
NestedPublic = 2Class is nested with public visibility.
NotPublic = 0Class is not public scope.
Public = 1Class is public scope.
RuntimeSpecialName = 2048Runtime should check name encoding.
Sealed = 256Class is concrete and may not be extended.
SequentialLayout = 8Class fields are laid out sequentially
Serializable = 8192The class is Serializable.
SpecialName = 1024Class name is special. Name describes how.
StringFormatMask = UnicodeClass | AutoClassProvides a bitmask for obtaining flag related to string format.
UnicodeClass = 65536LPTSTR is interpreted as UNICODE.
VisibilityMask = Public | NestedFamilyAndAssemblyProvides a bitmask for obtaining flags related to visibility.