Enum Modifiers
Explicit type and type member attributes and modifiers. We don't check if set flag match defaults for applied member or type and always generate modifier if it set by this enum. Also we don't check wether modifier is valid on member/type.
[Flags]
public enum Modifiers
- Extension Methods
Fields
Abstract = 64Abstract class or member.
Async = 2048Async method.
Extension = 4608Extension method.
Internal = 4Internal type or type member. Could be combined with Protected to form
protected internalmodifier.New = 16newoverload attribute on type members.None = 0No explicit attributes on type or type member.
Override = 32Member override.
Partial = 256Partial type or type member (e.g. method).
Private = 8Private type or type member. Could be combined with Protected to form
private protectedmodifier.Protected = 2Protected type member. Could be combined with Private to form
private protectedmodifier. Could be combined with Internal to formprotected internalmodifier.Public = 1Public type or type member.
ReadOnly = 1024Read-only field.
Sealed = 128Sealed class/member.
Static = 4096staticattribute on type/type members.Virtual = 8192virtualattribute on type members.