System.Error.Emit
Brian Graf's software blog
Sunday, May 19, 2002

System.GC.KeepAlive gets my vote for the most semantically challenged method in the framework.  It's purpose is to keep objects from being GC'd the are in use by unmanaged code, i.e. delegates being used as callbacks from PInvoked API calls.  Now that's great, but the way you use the method is to call it when it is SAFE to GC an object.  I understand how it works, and it does it's job well, but it sure does make code unreadable.
7:10:59 PM  






© 2002 Brian Graf
Last Update: 10/25/2002; 5:09:39 PM

Click here to visit the Radio UserLand website.

 











May 2002
Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
Apr   Jun