Open sandboxFocus

Method IsRecordCopyConstructor

IsRecordCopyConstructor(IConstructor)

Determines whether a constructor is a compiler-generated record copy constructor.

Declaration
public static bool IsRecordCopyConstructor(this IConstructor constructor)
Parameters
Type Name Description
IConstructor constructor

The constructor to check.

Returns
Type Description
bool

true if the constructor is a record copy constructor; otherwise, false.