public static bool GetSimpleType( String targetNamespace, String typeName, out XmlSchemaSimpleType simpleType ) { simpleType = null; bool hasType = Instance._simpleTypes.ContainsKey( targetNamespace + ":" + typeName ); if (hasType) simpleType = Instance._simpleTypes[targetNamespace + ":" + typeName]; return hasType; }