namespace System.Runtime.Versioning {
+ public sealed class ObsoletedOSPlatformAttribute : OSPlatformAttribute {
+ public ObsoletedOSPlatformAttribute(string platformName);
+ public ObsoletedOSPlatformAttribute(string platformName, string? message);
+ public string Message { get; }
+ public string Url { get; set; }
+ }
public abstract class OSPlatformAttribute : Attribute {
public string PlatformName { get; }
}
public sealed class UnsupportedOSPlatformAttribute : OSPlatformAttribute {
+ public UnsupportedOSPlatformAttribute(string platformName, string? message);
+ public string? Message { get; }
}
}