public Element(string name, string namespaceName, string type, ElementTypes elementTypes) { _elementTypes = elementTypes; Name = name; Namespace = namespaceName; _typeId = elementTypes.AddElementType(type); _hash = FullName.GetHashCode(); }