Merge pull request #409 from Alkarex/patch-1
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / _AssemblyName.cs
index fa5f720d6a5371295822f835141cfe134746e572..13f4659d74c15bc8a96662fa1be32ee4f3616f00 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_1_1
-
 using System.Reflection;
 
 namespace System.Runtime.InteropServices {
-#if NET_2_0
        [ComVisible (true)]
-#endif
        [CLSCompliant (false)]
        [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
        [Guid ("B42B6AAC-317E-34D5-9FA9-093BB4160C50")]
+#if !FULL_AOT_RUNTIME
        [TypeLibImportClass (typeof (AssemblyName))]
+#endif
        public interface _AssemblyName {
 
                void GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
@@ -51,5 +49,3 @@ namespace System.Runtime.InteropServices {
                        IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
        }
 }
-
-#endif