I'm poking around a few dlls within the XNA framework using ILSpy and came across this:
class KerningHelper
{
private void !KerningHelper()
{
((IDisposable)this).Dispose();
}
}
What is the exclamation mark for in the above? Is it an issue with ILSpy, or something else?
Note, the class has a separate destructor: private unsafe void ~KerningHelper()
.
finalizer
rather than adestructor
perhaps it's something to do with that? Have a look here: en.wikipedia.org/wiki/C%2B%2B/… – Cockrell