Closed bddckr closed 5 years ago
The current implementation of the ClearPropertyMethod weaver only sets a reference type property to null.
ClearPropertyMethod
null
The task is to instead do the following (in order):
public void Clear()
Clear
property = default;
Also update the documentation found in the Readme.
Closing in favor of #25.
The current implementation of the
ClearPropertyMethod
weaver only sets a reference type property tonull
.The task is to instead do the following (in order):
public void Clear()
method.Clear
method on the value if found.property = default;
instead.Also update the documentation found in the Readme.