Merge pull request #876 from knocte/master
[mono.git] / mcs / class / System / System.ComponentModel / TypeConverterAttribute.cs
index c8f5d302906813badd562d7129a9e1517323feed..f56db31be77b871bd894be01b53ad7bb9e02d577 100644 (file)
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
-using System;
-namespace System.ComponentModel 
-{
+
+using System.Runtime.InteropServices;
+
+namespace System.ComponentModel {
+#if NET_2_1
+       [ComVisible (true)]
+#endif
        [AttributeUsage(AttributeTargets.All)]
        public sealed class TypeConverterAttribute : Attribute
        {