public static bool GetComplexType( String targetNamespace, String typeName, out XmlSchemaComplexType complexType ) { complexType = null; bool hasType = Instance._complexTypes.ContainsKey( targetNamespace + ":" + typeName ); if (hasType) complexType = Instance._complexTypes[targetNamespace + ":" + typeName]; return hasType; }