* Stop using AvailabilityBaseAttribute, this type will disappear in .NET. * Handle System.Runtime.Versioning.SupportedOSPlatformAttribute instead of our own availability attributes for .NET. * Add tests (somewhat hacked together, but they work).