<PackageReference Include="NUnit" Version="3.8.0" />

BindingFlags

public enum BindingFlags
Specifies flags that control binding and the way in which the search for members and types is conducted by reflection.

Specifies that only members declared at the level of the supplied type's hierarchy should be considered. Inherited members are not considered.

Default = 0

Specifies no binding flag.

Specifies that public and protected static members up the hierarchy should be returned. Private static members in inherited classes are not returned. Static members include fields, methods, events, and properties. Nested types are not returned.

Specifies that instance members are to be included in the search.

NonPublic = 32

Specifies that non-public members are to be included in the search.

Public = 16

Specifies that public members are to be included in the search.

Static = 8

Specifies that static members are to be included in the search.