MetalamaAPI documentationAspect APIMetalama.​Framework.​CodeIConstructorIs­Primary
Open sandboxFocus

IConstructor.IsPrimary Property

IsPrimary

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

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

Primary constructors are recognized only for the current compilation.