Skip to content

ArgumentOutOfRangeException #1

@jc508

Description

@jc508

An unhandled exception of type 'System.ArgumentOutOfRangeException' occurred in System.Private.CoreLib.dll: 'Non-negative number required.'
in the line (355)
var list = new List<KeyValuePair<string, string>>(tagSet.Count - tagsEntered.Count);
(tagSet.Count - tagsEntered.Count) will always return a negative number if there are more tags in the main set than in the ammended set.
Considering the comment says looking for the 'remaining tags' suggest just using (tagSet.Count) as there can never be more 'remaining' that there were to begin with.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions