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 = 128
Class is abstract.
AnsiClass = 0
LPTSTR is interpreted as ANSI in this class.
AutoClass = 131072
LPTSTR is interpreted automatically
AutoLayout = 0
Class fields are auto-laid out
BeforeFieldInit = 1048576
Initialize the class any time before first static field access.
Class = 0
BaseType is a class.
ClassSemanticsMask = 96
Provides a bitmask for obtaining flags related to the semantics of the type.
CustomFormatClass = UnicodeClass | AutoClass
A non-standard encoding specified by CustomFormatMask.
ExplicitLayout = 16
Layout is supplied explicitly
Forwarder = 2097152
This ExportedType is a type forwarder.
HasSecurity = 262144
Class has security associate with it.
Import = 4096
Class / interface is imported.
Interface = 32
BaseType is an interface.
LayoutMask = SequentialLayout | ExplicitLayout
Provides a bitmask for obtaining flags related to the layout of the type.
NestedAssembly = Public | NestedFamily
Class is nested with assembly visibility.
NestedFamily = 4
Class is nested with family visibility.
NestedFamilyAndAssembly = NestedPublic | NestedFamily
Class is nested with family and assembly visibility.
NestedFamilyOrAssembly = Public | NestedFamilyAndAssembly
Class is nested with family or assembly visibility.
NestedPrivate = Public | NestedPublic
Class is nested with private visibility.
NestedPublic = 2
Class is nested with public visibility.
NotPublic = 0
Class is not public scope.
Public = 1
Class is public scope.
RuntimeSpecialName = 2048
Runtime should check name encoding.
Sealed = 256
Class is concrete and may not be extended.
SequentialLayout = 8
Class fields are laid out sequentially
Serializable = 8192
The class is Serializable.
SpecialName = 1024
Class name is special. Name describes how.
StringFormatMask = UnicodeClass | AutoClass
Provides a bitmask for obtaining flag related to string format.
UnicodeClass = 65536
LPTSTR is interpreted as UNICODE.
VisibilityMask = Public | NestedFamilyAndAssembly
Provides a bitmask for obtaining flags related to visibility.