Open sandboxFocus

Method MustNotBeStatic

MustNotBeStatic(IEligibilityBuilder<IMemberOrNamedType>)

Forbids the target member or type from being static.

Declaration
public static void MustNotBeStatic(this IEligibilityBuilder<IMemberOrNamedType> eligibilityBuilder)
Parameters
Type Name Description
IEligibilityBuilder<IMemberOrNamedType> eligibilityBuilder