2008-06-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
[mono.git] / mcs / class / corlib / System / CLSCompliantAttribute.cs
index 63356cb1cc3b01dc0fad64d3b2ad2af14b0696ff..afb95d789d9353beb2d5da743f62555d42e54b36 100644 (file)
@@ -29,6 +29,7 @@
 // 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.Runtime.InteropServices;
 
 namespace System
 {
@@ -37,6 +38,9 @@ namespace System
        /// </summary>
        [AttributeUsage (AttributeTargets.All)]
        [Serializable]
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        public sealed class CLSCompliantAttribute : Attribute
        {
                bool is_compliant;