You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publicclassFoo{publicBarBar{get;set;}}publicclassBar{publicFooFoo{get;set;}}
…
anon.Any<Foo>(PopulateOption.Deep);// Results in an OutOfMemoryException
AnonymousData should detect cycles and react to them. Possible options, that maybe should be configurable behavior by the caller.
Throw an exception that provides information about the cycle.
Simply don't populate the property that causes the cycle.
Populate the property with the "parent" value.
The text was updated successfully, but these errors were encountered:
AnonymousData should detect cycles and react to them. Possible options, that maybe should be configurable behavior by the caller.
The text was updated successfully, but these errors were encountered: