[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[DotGNU]callvirt change to cscc

From: Rhys Weatherley
Subject: [DotGNU]callvirt change to cscc
Date: Fri, 15 Nov 2002 11:53:34 +1000

I just changed cscc and ilrun to use "callvirt" instructions for
non-virtual instance methods, as all the other C# compilers do that.
(Personally, I think the previous behaviour was better).

This change will cause calls on instance methods to always throw
NullReferenceException when null is supplied as "this", even if
the method isn't virtual.

It was a simple change, but let me know if this breaks anything.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]