greuelpirat / DeepCopy

Inject deep copy constructors into C# types
MIT License
13 stars 3 forks source link

Support for Array of Classes #26

Closed mortensp closed 1 year ago

mortensp commented 1 year ago

I have something like this in my class:

 public SSATricks[] Tricks:

But the array isn't cloned, witch I have verified with DotPeek

greuelpirat commented 1 year ago

Fields are not supported per design. Use Properties:

public SSATricks[] Tricks { get; set; }