[Mono-bugs] [Bug 622223] Verifier complains about use of uninitialized 'this ptr'

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jul 27 13:56:24 EDT 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=622223#c1


Rodrigo Kumpera <rkumpera at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|verifier                    |Windows.Forms
         AssignedTo|rkumpera at novell.com         |mono-bugs at lists.ximian.com
            Product|Mono: Runtime               |Mono: Class Libraries
   Target Milestone|---                         |SVN

--- Comment #1 from Rodrigo Kumpera <rkumpera at novell.com> 2010-07-27 17:56:23 UTC ---
This is a Windows Form bug that generates unverifiable IL.

>From EventLogger.cs:


            ConstructorBuilder logCtor = logType.DefineConstructor
(MethodAttributes.Public, CallingConventions.HasThis, new Type [] {ListType,
typeof (object)});
            logCtor.DefineParameter (1, ParameterAttributes.None, "test");
            logCtor.DefineParameter (2, ParameterAttributes.None, "obj");
            ILGenerator logIL = logCtor.GetILGenerator ();
            logIL.Emit (OpCodes.Ldarg_0);
            logIL.Emit (OpCodes.Ldarg_1);
            logIL.Emit (OpCodes.Stfld, logField);

Note that it doesn't call super first. This is unverifable.

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


More information about the mono-bugs mailing list