internal static XmlSchemaAnyAttribute Union(XmlSchemaAnyAttribute o1, XmlSchemaAnyAttribute o2, bool v1Compat) {
NamespaceList nsl = NamespaceList.Union(o1.NamespaceList, o2.NamespaceList, v1Compat);
if (nsl != null) {
XmlSchemaAnyAttribute anyAttribute = new XmlSchemaAnyAttribute();
anyAttribute.namespaceList = nsl;
anyAttribute.processContents = o1.processContents;
anyAttribute.Annotation = o1.Annotation;
return anyAttribute;
}
else {
// not expressible
return null;
}
}
}