Merge pull request #819 from brendanzagaeski/patch-1
[mono.git] / mcs / class / corlib / System.Runtime.CompilerServices / MethodCodeType.cs
index e08ed9de8403f3fb9ff992acf419760fa64b16cb..24792ffa4c4e9a0c4b471259ddc8c46af81b28b6 100644 (file)
@@ -1,13 +1,13 @@
-//------------------------------------------------------------------------------\r
-// \r
-// System.Runtime.CompilerServices.MethodCodeType.cs \r
-//\r
-// Copyright (C) 2001 Michael Lambert, All Rights Reserved\r
-// \r
-// Author:         Michael Lambert, michaellambert@email.com\r
-// Created:        Thu 07/18/2001 \r
-//\r
-//------------------------------------------------------------------------------\r
+//------------------------------------------------------------------------------
+// 
+// System.Runtime.CompilerServices.MethodCodeType.cs 
+//
+// Copyright (C) 2001 Michael Lambert, All Rights Reserved
+// 
+// Author:         Michael Lambert, michaellambert@email.com
+// Created:        Thu 07/18/2001 
+//
+//------------------------------------------------------------------------------
 
 //
 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
-\r
-namespace System.Runtime.CompilerServices\r
-{\r
-#if !NET_2_0
-[Flags] \r
-#endif
-public enum MethodCodeType\r
-{\r
-    IL,\r
-    Native,\r
-    OPTIL,\r
-    Runtime,\r
-}\r
-\r
-} // Namespace\r
+
+using System.Runtime.InteropServices;
+
+namespace System.Runtime.CompilerServices
+{
+       [ComVisible (true)]
+       [Serializable]
+       public enum MethodCodeType
+       {
+               IL,
+               Native,
+               OPTIL,
+               Runtime,
+       }
+
+} // Namespace