未验证 提交 7938f9d9 编写于 作者: B Buyaa Namnan 提交者: GitHub

Add some Supported Unsupported attributes (#52015)

上级 a32ed471
......@@ -372,6 +372,7 @@ public partial class LdapSessionOptions
public bool RootDseCache { get { throw null; } set { } }
public string SaslMethod { get { throw null; } set { } }
public bool Sealing { get { throw null; } set { } }
[System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
public bool SecureSocketLayer { get { throw null; } set { } }
public object SecurityContext { get { throw null; } }
public System.TimeSpan SendTimeout { get { throw null; } set { } }
......
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Runtime.Versioning;
namespace System.DirectoryServices.Protocols
{
public partial class LdapSessionOptions
{
private static void PALCertFreeCRLContext(IntPtr certPtr) { /* No op */ }
[SupportedOSPlatform("windows")]
public bool SecureSocketLayer
{
get => throw new PlatformNotSupportedException();
......
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Runtime.Versioning;
namespace System.DirectoryServices.Protocols
{
public partial class LdapSessionOptions
{
private static void PALCertFreeCRLContext(IntPtr certPtr) => Interop.Ldap.CertFreeCRLContext(certPtr);
[SupportedOSPlatform("windows")]
public bool SecureSocketLayer
{
get
......
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Runtime.Versioning;
namespace System.Text
{
public enum NormalizationForm
{
FormC = 1,
FormD = 2,
[UnsupportedOSPlatform("browser")]
FormKC = 5,
[UnsupportedOSPlatform("browser")]
FormKD = 6
}
}
......@@ -10969,7 +10969,9 @@ public enum NormalizationForm
{
FormC = 1,
FormD = 2,
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
FormKC = 5,
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
FormKD = 6,
}
public readonly partial struct Rune : System.IComparable, System.IComparable<System.Text.Rune>, System.IEquatable<System.Text.Rune>, System.ISpanFormattable
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册