Merge pull request #900 from Blewzman/FixAggregateExceptionGetBaseException
[mono.git] / mcs / class / corlib / System.Reflection.Emit / PEFileKinds.cs
index fcf2b2080aa6877ecf8c70370ff0c612d0721020..adb9998e66ef4a999312c29926c33e762c4b8e3c 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+#if !FULL_AOT_RUNTIME || IOS_REFLECTION
 using System.Runtime.InteropServices;
 
 namespace System.Reflection.Emit {
 
-#if NET_2_0
        [ComVisible (true)]
-#endif
+       [Serializable]
        public enum PEFileKinds {
                Dll = 1,
                ConsoleApplication = 2,
@@ -36,3 +36,4 @@ namespace System.Reflection.Emit {
        }
 }
 
+#endif