[Mono-list] inlining of methods using structs

Sijmen Mulder Sijmen Mulder <sjmulder@gmail.com>
Thu, 19 Aug 2004 09:33:55 +0200

> and, according to that document, "If any of the method's formal
> arguments are structs, the method will not be inlined."
> > <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/highperfmanagedapps.asp>

Uhm, now thinking of it, if a method/property is inlined, what happens
when the API changes? So when you use Rectangle, and the setter of
Width is changed, won't your program still used the obsolete version
of Rectangle.set_With? Or am I thinking totally wrong?


 'May the Lord bless you and protect you. May the Lord smile on you
and be gracious to you. May the Lord show you his favor and give you
his peace.'
 'De Heer zegent je, en Hij bewaart je. De Heer kijkt met liefde naar
je, en Hij is je genadig. De Heer bedenkt het goede voor je, en geeft
je vrede.'

Sijmen Mulder