Skip to content

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

Open
@jpmikkers

Description

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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