public override bool IsSameNameAndType(CssElementSelector anotherSelector)
{
if (anotherSelector == null)
{
return false;
}
if (anotherSelector == this)
{
return true;
}
//------------------------------
CssSimpleElementSelector another = anotherSelector as CssSimpleElementSelector;
return another != null && (another.Name == this.Name) &&
(another.selectorType == this.selectorType);
}
public static bool IsCompatible(CssSimpleElementSelector sel1, CssSimpleElementSelector sel2)