Damn MSDN!

  • Thread starter Thread starter Peter Morris [Droopy eyes software]
  • Start date Start date
P

Peter Morris [Droopy eyes software]

http://msdn2.microsoft.com/en-us/library/sk6k8h17.aspx

Now that clearly says that WeakReference(object, bool) is supported on CF2
doesn't it?

So I've changed my code to give my objects a minimum life time, and guess
what?

new WeakReference(this, true); throws a NotImplementedException!

Thanks MSDN for wasting 2 hours of my time!
 
Always check the objects directly (through Object rowser or Reflector) when
you suspect that a method you're not used before isn't there. The overload
must not have shown in intellisense in the first 5 minutes of trying.

-Chris
 
Always check the objects directly (through Object rowser or Reflector)
when you suspect that a method you're not used before isn't there.

That's the problem, I had no reason to suspect it wasn't there :-)
 
Back
Top