2003-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Mon, 27 Jan 2003 04:23:43 +0000 (04:23 -0000)
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Mon, 27 Jan 2003 04:23:43 +0000 (04:23 -0000)
* AssemblyBuilder.cs: fixed compilation with csc.

svn path=/trunk/mcs/; revision=10935

mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.cs
mcs/class/corlib/System.Reflection.Emit/ChangeLog

index acbda23bcf1d898b13e17d6f0fe7ea9dc1c5af98..e1116e1ef11ce9e3303da9c0a132f68dcda0d694 100755 (executable)
@@ -279,7 +279,7 @@ namespace System.Reflection.Emit {
                        //
                        // The constant 0x80000000 is internal to Mono, it means `make executable'
                        //
-                       File.SetAttributes (assemblyFileName, (FileAttributes) 0x80000000);
+                       File.SetAttributes (assemblyFileName, (FileAttributes) (unchecked ((int) 0x80000000)));
                }
 
                public void SetEntryPoint (MethodInfo entryMethod)
index 10fb02476932156686988c856cb9e165a8fe2086..891bed217c7fad1794af519f2539c7dedd195d4e 100644 (file)
@@ -1,3 +1,7 @@
+2003-01-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * AssemblyBuilder.cs: fixed compilation with csc.
+
 2003-01-26  Miguel de Icaza  <miguel@ximian.com>
 
        * AssemblyBuilder.cs (Save): Set the executable bit at the end.