Skip to content

Commit 4f98bb2

Browse files
committed
Use legacy property syntax for Mono
1 parent a0826be commit 4f98bb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

HttpWebClient.UnitTests/TestHttpWebClientRequest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public TestSocket(string host, int port, int timeout, StringBuilder requestText,
5757
public bool NoDelay { get; set; }
5858
public bool ForceClose { protected get; set; }
5959

60-
public IntPtr Handle => throw new NotImplementedException();
60+
public IntPtr Handle { get { throw new NotImplementedException(); } }
6161

6262
public void Close() { }
6363

@@ -86,7 +86,7 @@ public int Send(byte[] buffer, int offset, int count, SocketFlags flags = Socket
8686
return count;
8787
}
8888

89-
public string RequestText => _requestText.ToString();
89+
public string RequestText { get { return _requestText.ToString(); } }
9090
}
9191

9292
public TestHttpWebClientRequest()

0 commit comments

Comments
 (0)