Skip to content

visited.Add() belongs directly after the clone #15

Open
@jpmikkers

Description

@jpmikkers

Otherwise, you can construct an array that cannot be copied, like this:

        object[] test = new object[1];
        test[0] = test;
        test.Copy(); // CRASH

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions