Open sandboxFocus

Property IsPrimary

IsPrimary

Gets a value indicating whether this constructor is the primary constructor of the type.

Declaration
bool IsPrimary { get; }
Property Value
Type Description
bool
Remarks

Primary constructors are recognized only for the current compilation.