public bool? IsCompatibilitySwitchSet (string value)
{
if (value == null)
throw new ArgumentNullException ("value");
// default (at least for SL4) is to return false for unknown values (can't get a null out of it)
return ((compatibility_switch != null) && compatibility_switch.Contains (value));
}