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 = 64
Abstract class or member.
Async = 2048
Async method.
Extension = 4608
Extension method.
Internal = 4
Internal type or type member. Could be combined with Protected to form
protected internal
modifier.New = 16
new
overload attribute on type members.None = 0
No explicit attributes on type or type member.
Override = 32
Member override.
Partial = 256
Partial type or type member (e.g. method).
Private = 8
Private type or type member. Could be combined with Protected to form
private protected
modifier.Protected = 2
Protected type member. Could be combined with Private to form
private protected
modifier. Could be combined with Internal to formprotected internal
modifier.Public = 1
Public type or type member.
ReadOnly = 1024
Read-only field.
Sealed = 128
Sealed class/member.
Static = 4096
static
attribute on type/type members.Virtual = 8192
virtual
attribute on type members.