Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove SupportedOSPlatformAttribute("windows") from LdapSessionOption #61388

Merged
merged 5 commits into from
Nov 24, 2021
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ internal LdapSessionOptions() { }
public string SaslMethod { get { throw null; } set { } }
public bool Sealing { get { throw null; } set { } }
[System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
buyaa-n marked this conversation as resolved.
Show resolved Hide resolved
[System.Runtime.Versioning.SupportedOSPlatformAttribute("linux")]
public bool SecureSocketLayer { get { throw null; } set { } }
public object SecurityContext { get { throw null; } }
public System.TimeSpan SendTimeout { get { throw null; } set { } }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ private static void PALCertFreeCRLContext(IntPtr certPtr) { /* No op */ }

private bool _secureSocketLayer;

[System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
joperezr marked this conversation as resolved.
Show resolved Hide resolved
[System.Runtime.Versioning.SupportedOSPlatformAttribute("linux")]
public bool SecureSocketLayer
{
get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ public partial class LdapSessionOptions
{
private static void PALCertFreeCRLContext(IntPtr certPtr) => Interop.Ldap.CertFreeCRLContext(certPtr);

[System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
[System.Runtime.Versioning.SupportedOSPlatformAttribute("linux")]
public bool SecureSocketLayer
{
get
Expand Down