public ComponentType[] GetComponentTypes(string fileName) { if (IsWidgetLibrary (fileName)) return CecilWidgetLibrary.GetComponentTypes (this, fileName).ToArray (); else return new ComponentType [0]; }