Package: libmono-corlib2.0-cil Version: 2.4.2.3+dfsg-2 Severity: wishlist Tags: patch
The constructor <<public DynamicMethod (string name, Type returnType, Type[] parameterTypes, bool restrictedSkipVisibility)>> ignores restrictedSkipVisibility. As a side effect some code won't function properly like DbLinq (which would alow use of linq to mysql/postgresql/etc) This bug has been resolved in upstream, but both my patch and the upstream version (they are virtually identical) don't do another check. Please see the description on the restrictedSkipVisibility parameter on http://msdn.microsoft.com/en-us/library/bb348332.aspx for details on the checks (please read them). I'm sending this in case some other people require the DbLinq library till 2.6 is out and into debian. I think I duplicated this bug post, sorry about that, first time using the reportbug application and I think I double clicked the forward button. Sorry sorry. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.30-2-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages libmono-corlib2.0-cil depends on: ii mono-runtime 2.4.2.3+dfsg-2 Mono runtime Versions of packages libmono-corlib2.0-cil recommends: ii libmono-i18n-west2.0-cil 2.4.2.3+dfsg-2 Mono I18N.West library (for CLI 2. Versions of packages libmono-corlib2.0-cil suggests: pn libmono-i18n2.0-cil <none> (no description available) -- no debconf information
#! /bin/sh /usr/share/dpatch/dpatch-run ## debian_version.dpatch by Mirco Bauer <[email protected]> ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: No description. @DPATCH@ diff -urNad mono-2.4+dfsg~/mcs/class/corlib/System.Reflection.Emit/DynamicMethod.cs mono-2.4+dfsg/mcs/class/corlib/System.Reflection.Emit/DynamicMethod.cs --- mono-2.4+dfsg~/mcs/class/corlib/System.Reflection.Emit/DynamicMethod.cs 2009-10-22 02:58:28.000000000 +0300 +++ mono-2.4+dfsg/mcs/class/corlib/System.Reflection.Emit/DynamicMethod.cs 2009-10-22 03:07:07.000000000 +0300 @@ -92,7 +92,7 @@ public DynamicMethod (string name, Type returnType, Type[] parameterTypes) : this (name, returnType, parameterTypes, false) { } - public DynamicMethod (string name, Type returnType, Type[] parameterTypes, bool restrictedSkipVisibility) : this (name, MethodAttributes.Public | MethodAttributes.Static, CallingConventions.Standard, returnType, parameterTypes, null, null, false, true) { + public DynamicMethod (string name, Type returnType, Type[] parameterTypes, bool restrictedSkipVisibility) : this (name, MethodAttributes.Public | MethodAttributes.Static, CallingConventions.Standard, returnType, parameterTypes, null, null, restrictedSkipVisibility, true) { } DynamicMethod (string name, MethodAttributes attributes, CallingConventions callingConvention, Type returnType, Type [] parameterTypes, Type owner, Module m, bool skipVisibility, bool anonHosted)

