Telerik® JustDecompile™ by Progress

Specifies various properties that can apply to a given .NET type

Namespace: JustDecompile.API.Core
Assembly: JustDecompile.API (in JustDecompile.API.dll) Version: 1.0.0.3 (1.0.0.0)

Syntax

C#
[FlagsAttribute]
public enum TypeAttributes
Visual Basic
<FlagsAttribute> _
Public Enumeration TypeAttributes
Visual C++
[FlagsAttribute]
public enum class TypeAttributes

Members

Member nameValueDescription
VisibilityMask7Specifies type visibility information.
NotPublic0Specifies that the class is not public.
Public1Specifies that the class is public.
NestedPublic2Specifies that the class is nested with public visibility.
NestedPrivate3Specifies that the class is nested with private visibility.
NestedFamily4Specifies that the class is nested with family visibility, and is thus accessible only by methods within its own type and any subtypes.
NestedAssembly5Specifies that the class is nested with assembly visibility, and is thus accessible only by methods within its assembly.
NestedFamANDAssem6Specifies that the class is nested with assembly and family visibility, and is thus accessible only by methods lying in the intersection of its family and assembly.
NestedFamORAssem7Specifies that the class is nested with family or assembly visibility, and is thus accessible only by methods lying in the union of its family and assembly.
LayoutMask24Specifies class layout information.
AutoLayout0Specifies that class fields are automatically laid out by the common language runtime.
SequentialLayout8Specifies that class fields are laid out sequentially, in the order that the fields were emitted to the metadata.
ExplicitLayout16Specifies that class fields are laid out at the specified offsets.
ClassSemanticMask32Specifies class semantics information; the current class is contextful (else agile).
Class0Specifies that the type is a class.
Interface32Specifies that the type is an interface.
Abstract128Specifies that the type is abstract.
Sealed256Specifies that the class is concrete and cannot be extended.
SpecialName1024Specifies that the class is special in a way denoted by the name.
Import4096Specifies that the class or interface is imported from another module.
Serializable8192Specifies that the class can be serialized.
StringFormatMask196608Used to retrieve string information for native interoperability.
AnsiClass0LPTSTR is interpreted as ANSI.
UnicodeClass65536LPTSTR is interpreted as UNICODE.
AutoClass131072LPTSTR is interpreted automatically.
BeforeFieldInit1048576Specifies that calling static methods of the type does not force the system to initialize the type.
RTSpecialName2048Runtime should check name encoding.
HasSecurity262144Type has security associate with it.
Forwarder2097152Exported type is a type forwarder.

See Also