2 ms·
And C# on .NET disallows non-virtual method calls on null instance locations. It does so by emitting a callvirt IL instruction for the non-virtual method, which
by barrkel 17y ago
And C# on .NET disallows non-virtual method calls on null instance locations. It does so by emitting a callvirt IL instruction for the non-virtual method, which in turn is translated by the CLR to:
cmp dword ptr [ecx],ecx
(Assuming 'this' is in ecx.)