Merge pull request #910 from akoeplinger/cleanup-test-ignores
[mono.git] / mcs / class / corlib / Microsoft.Win32 / RegistryHive.cs
index 09f0e94ce32131cc9408c0c9e0e5b10f7b5fdef6..aa5e9d99276de0264ee927a2aa964fc146d85b92 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+#if !NET_2_1
+
 using System;
+using System.Runtime.InteropServices;
 
 namespace Microsoft.Win32
 {
 
        [Serializable]
+       [ComVisible (true)]
        public enum RegistryHive
        {
                
@@ -46,3 +50,6 @@ namespace Microsoft.Win32
        }
 
 }
+
+#endif // NET_2_1
+