[Mono-bugs] [Bug 625114] New: dmcs System.Core compilation issue with generic parameters

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jul 23 10:39:12 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=625114

http://bugzilla.novell.com/show_bug.cgi?id=625114#c0


           Summary: dmcs System.Core compilation issue with generic
                    parameters
    Classification: Mono
           Product: Mono: Compilers
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: msafar at novell.com
        ReportedBy: jbevain at novell.com
         QAContact: mono-bugs at lists.ximian.com
                CC: lupus at novell.com
          Found By: ---
           Blocker: ---


Extract from monodis --method mcs/class/lib/net_4_0/System.Core.dll:

<<<<<
########## System.Func`15
2949: instance default void '.ctor' (object A_1, native int A_2)  (param: 4185
impl_flags: runtime managed )
2950: instance default !TResult Invoke (!T1 arg1, !T2 arg2, !T3 arg3, !T4 arg4,
!T5 arg5, !T6 arg6, !T7 arg7, !T8 arg8, !T9 arg9, !T10 arg10, !T11 arg11, !T12
arg12, !T13 arg13, !T4 arg14)  (param: 4185 impl_flags: runtime managed )
2951: instance default class [mscorlib]System.IAsyncResult BeginInvoke (!T1
arg1, !T2 arg2, !T3 arg3, !T4 arg4, !T5 arg5, !T6 arg6, !T7 arg7, !T8 arg8, !T9
arg9, !T10 arg10, !T11 arg11, !T12 arg12, !T13 arg13, !T4 arg14, class
[mscorlib]System.AsyncCallback callback, object 'object')  (param: 4199
impl_flags: runtime managed )
2952: instance default !TResult EndInvoke (class [mscorlib]System.IAsyncResult
A_1)  (param: 4215 impl_flags: runtime managed )
<<<<<

Notice that the last parameter of Invoke is of type T4 while in the source it's
defined as T14:

from mcs/class/dlr/Runtime/Microsoft.Scripting.Core/Utils/Function.cs:

    public delegate TResult Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
T12, T13, T14, TResult>(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6,
T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14
arg14);

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list