CloneMethod
Gets the clone method, whose metadata name is <Clone>$, or null when the type is a record
struct, which has none. The with expression of a record class calls this method.
Declaration
IMethod? CloneMethod { get; }Property Value
| Type | Description |
|---|---|
| IMethod |
Remarks
The name of this method is not a C# identifier, so the method is absent from Methods, which represents what can be written in C#. This property is the only way to reach it.