[NET 6 Attribute Conversion] CoreLocation (#13861)

This commit is contained in:
Chris Hamons 2022-01-25 12:48:03 -06:00 коммит произвёл GitHub
Родитель 5e384f9400
Коммит 39467f843f
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 11 добавлений и 3 удалений

Просмотреть файл

@ -8,7 +8,13 @@ namespace CoreLocation {
public partial class CLBeaconRegion {
#if NET
[SupportedOSPlatform ("ios13.0")]
[SupportedOSPlatform ("macos11.0")]
[UnsupportedOSPlatform ("tvos")]
#else
[Introduced (PlatformName.iOS, 13,0, PlatformArchitecture.All)]
#endif
static public CLBeaconRegion Create (NSUuid uuid, ushort? major, ushort? minor, string identifier)
{
var handle = IntPtr.Zero;

Просмотреть файл

@ -72,10 +72,12 @@ namespace CoreLocation {
#if IOS && !COREBUILD // This code comes from Intents.CLPlacemark_INIntentsAdditions Category
public partial class CLPlacemark {
#if !NET
[iOS (10, 0), Mac (11,0)]
#else
#if NET
[SupportedOSPlatform ("ios10.0")]
[SupportedOSPlatform ("macos11.0")]
#else
[iOS (10, 0)]
[Mac (11,0)]
#endif
static public CLPlacemark GetPlacemark (CLLocation location, string name, CNPostalAddress postalAddress)
{