Open sandboxFocus

Method MustNotBePrimaryConstructor

MustNotBePrimaryConstructor(IEligibilityBuilder<IConstructor>)

Forbids the target constructor from being a primary constructor.

Declaration
public static void MustNotBePrimaryConstructor(this IEligibilityBuilder<IConstructor> eligibilityBuilder)
Parameters
Type Name Description
IEligibilityBuilder<IConstructor> eligibilityBuilder