Skip to content

CombinedTag.IsEmpty returns true if any child is empty rather than if every child is empty #336

Open
@jibal

Description

@jibal

Replace

public override bool IsEmpty {
	get {
		foreach (Tag tag in tags)
			if (tag.IsEmpty)
				return true;

		return false;
	}
}

with

public override bool IsEmpty {
	get {
		foreach (Tag tag in tags)
			if (!tag.IsEmpty)
				return false;

		return true;
	}
}

in CombinedTag.cs

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