I have a CF.Net 2.0 application and I encounter a lot of false negatives in my code. I'm working with the latest version, 3.0.517.8.
Some examples are:
- Cannot convert source type 'System.DayOfWeek' to target type 'System.DayOfWeek'. This also happens with other types, e.g. System.Reflection.ConstructorInfo.
- Cannot apply operator '+=' to operands of type 'System.EventHandler' and 'System.EventHandler'.
Also, when using String.Format:
String.Format(CultureInfo.CurrentCulture, " ", now, logLevel), it doesn't see that CultureInfo.CurrentCulture implements IFormatProvider and thus I get the message "Cannot resolve method".
The list goes on, but these are just a few examples. I have the feeling it's not the individual issues, but there's something else going wrong that I get so much false positives.
Any ideas what might be going wrong here?