public bool IsImplicitlyClosed(ITextProvider text, ITextRange name, out string[] containerElementNames) {
containerElementNames = null;
if (name.Length < _minCharCountImplicitClosing || name.Length > _maxCharCountImplicitClosing)
return false;
bool found = FindElementName(text, name, _implicitlyClosingElementNameIndex, ignoreCase: true);
if (found) {
string elementName = text.GetText(name);
containerElementNames = GetContainerElements(elementName);
}
return found;
}