Accounting/Assets/Scripts/Basis/EmbeddedResources/RuntimeSupported/System.Runtime.Versioning.O...

48 lines
1.7 KiB
C#

// <auto-generated/>
#pragma warning disable
#nullable enable annotations
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.Runtime.Versioning
{
/// <summary>
/// Marks APIs that were obsoleted in a given operating system version.
/// </summary>
/// <remarks>
/// Primarily used by OS bindings to indicate APIs that should not be used anymore.
/// </remarks>
[global::System.AttributeUsage(
global::System.AttributeTargets.Assembly |
global::System.AttributeTargets.Class |
global::System.AttributeTargets.Constructor |
global::System.AttributeTargets.Enum |
global::System.AttributeTargets.Event |
global::System.AttributeTargets.Field |
global::System.AttributeTargets.Interface |
global::System.AttributeTargets.Method |
global::System.AttributeTargets.Module |
global::System.AttributeTargets.Property |
global::System.AttributeTargets.Struct,
AllowMultiple = true, Inherited = false)]
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
[global::System.Diagnostics.Conditional("MULTI_TARGETING_SUPPORT_ATTRIBUTES")]
public sealed class ObsoletedOSPlatformAttribute : global::System.Attribute // OSPlatformAttribute
{
public ObsoletedOSPlatformAttribute(string platformName)
// : base(platformName)
{
}
public ObsoletedOSPlatformAttribute(string platformName, string? message)
// : base(platformName)
{
Message = message;
}
public string? Message { get; }
public string? Url { get; set; }
}
}