bitflags · System.Reflection

BindingFlags

public bitflags System.Reflection.BindingFlags

Which members to look at: instance or static ones, public or not, only the type's own.

Kind
bitflags
Namespace
System.Reflection
Assembly
System.Core
Access
public
Source file
Reflection.ant

Values

static enumvalue Default: System.Reflection.BindingFlags
#
static enumvalue DeclaredOnly: System.Reflection.BindingFlags
#
static enumvalue Instance: System.Reflection.BindingFlags
#
static enumvalue Static: System.Reflection.BindingFlags
#
static enumvalue Public: System.Reflection.BindingFlags
#
static enumvalue NonPublic: System.Reflection.BindingFlags
#

Methods

method ToString() -> System.String<u8>
#

Extension methods

static method HasFlag(flags: T, x: T) -> bool
#

from System

Whether every bit of x is set ((flags & x) == x).

static method HasAny(flags: T, x: T) -> bool
#

from System

Whether any bit of x is set.

static method With(flags: T, x: T) -> T
#

from System

The flags with the bits of x set.

static method Without(flags: T, x: T) -> T
#

from System

The flags with the bits of x cleared.

static method Toggle(flags: T, x: T) -> T
#

from System

The flags with the bits of x flipped.

Source

BindingFlags as Larva HIR, decompiled from its Larva HIR.

System.Reflection.BindingFlags.hir
// Which members to look at: instance or static ones, public or not, only the type's own.
public bitflags System.Reflection.BindingFlags
{
    static enumvalue Default: System.Reflection.BindingFlags
    static enumvalue DeclaredOnly: System.Reflection.BindingFlags
    static enumvalue Instance: System.Reflection.BindingFlags
    static enumvalue Static: System.Reflection.BindingFlags
    static enumvalue Public: System.Reflection.BindingFlags
    static enumvalue NonPublic: System.Reflection.BindingFlags
    method ToString() -> System.String<u8>
}
Esc