bitflag enum · System.Reflection

BindingFlags

public bitflag enum BindingFlags

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

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

Values

Default = 0
#
DeclaredOnly = 2
#
Instance = 4
#
Static = 8
#
Public = 16
#
NonPublic = 32
#

Methods

ToString() : str
#

Extension methods

HasFlag(T x) : bool
#

from System

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

HasAny(T x) : bool
#

from System

Whether any bit of x is set.

With(T x) : T
#

from System

The flags with the bits of x set.

Without(T x) : T
#

from System

The flags with the bits of x cleared.

Toggle(T x) : T
#

from System

The flags with the bits of x flipped.

Source

BindingFlags as Antril, decompiled from its Larva HIR.

System.Reflection.BindingFlags.ant
// System.Reflection.BindingFlags — System.Core (decompiled from Larva HIR)

into namespace System.Reflection
{
	/// Which members to look at: instance or static ones, public or not, only the type's own.
	public bitflag enum BindingFlags { Default = 0, DeclaredOnly = 2, Instance = 4, Static = 8, Public = 16, NonPublic = 32 }
}
Esc