“LockSlimInFinalizer” (Solution)
Answer
~Foo: start
Exception: SynchronizationLockException
~Foo: finish
Explanation
A SynchronizationLockException will be thrown because the finalizer will be called from the GC thread.
~Foo: start
Exception: SynchronizationLockException
~Foo: finish
A SynchronizationLockException will be thrown because the finalizer will be called from the GC thread.