Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 4880b88

Browse files
committed
Don't use C#7 features.
1 parent bcef065 commit 4880b88

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/GitHub.App/Infrastructure/ExportWrappers.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ public ExportedHttpClient() :
2727
public class ExportedHttpListener : IHttpListener
2828
{
2929
readonly IHttpListener inner = new HttpListenerWrapper(new HttpListener());
30-
public AuthenticationSchemes AuthenticationSchemes { get => inner.AuthenticationSchemes; set => inner.AuthenticationSchemes = value; }
31-
public AuthenticationSchemeSelector AuthenticationSchemeSelectorDelegate { get => inner.AuthenticationSchemeSelectorDelegate; set => inner.AuthenticationSchemeSelectorDelegate = value; }
30+
public AuthenticationSchemes AuthenticationSchemes { get { return inner.AuthenticationSchemes; } set { inner.AuthenticationSchemes = value; } }
31+
public AuthenticationSchemeSelector AuthenticationSchemeSelectorDelegate { get { return inner.AuthenticationSchemeSelectorDelegate; } set { inner.AuthenticationSchemeSelectorDelegate = value; } }
3232
public ServiceNameCollection DefaultServiceNames => inner.DefaultServiceNames;
33-
public ExtendedProtectionPolicy ExtendedProtectionPolicy { get => inner.ExtendedProtectionPolicy; set => inner.ExtendedProtectionPolicy = value; }
34-
public HttpListener.ExtendedProtectionSelector ExtendedProtectionSelectorDelegate { get => inner.ExtendedProtectionSelectorDelegate; set => inner.ExtendedProtectionSelectorDelegate = value; }
35-
public bool IgnoreWriteExceptions { get => inner.IgnoreWriteExceptions; set => inner.IgnoreWriteExceptions = value; }
33+
public ExtendedProtectionPolicy ExtendedProtectionPolicy { get { return inner.ExtendedProtectionPolicy; } set { inner.ExtendedProtectionPolicy = value; } }
34+
public HttpListener.ExtendedProtectionSelector ExtendedProtectionSelectorDelegate { get { return inner.ExtendedProtectionSelectorDelegate; } set { inner.ExtendedProtectionSelectorDelegate = value; } }
35+
public bool IgnoreWriteExceptions { get { return inner.IgnoreWriteExceptions; } set { inner.IgnoreWriteExceptions = value; } }
3636
public bool IsListening => inner.IsListening;
3737
public ICollection<string> Prefixes => inner.Prefixes;
38-
public string Realm { get => inner.Realm; set => inner.Realm = value; }
38+
public string Realm { get { return inner.Realm; } set { inner.Realm = value; } }
3939
public HttpListenerTimeoutManager TimeoutManager => inner.TimeoutManager;
40-
public bool UnsafeConnectionNtlmAuthentication { get => inner.UnsafeConnectionNtlmAuthentication; set => inner.UnsafeConnectionNtlmAuthentication = value; }
40+
public bool UnsafeConnectionNtlmAuthentication { get { return inner.UnsafeConnectionNtlmAuthentication; } set { inner.UnsafeConnectionNtlmAuthentication = value; } }
4141
public void Abort() => inner.Abort();
4242
public IAsyncResult BeginGetContext(AsyncCallback callback, object state) => inner.BeginGetContext(callback, state);
4343
public void Close() => inner.Close();

0 commit comments

Comments
 (0)