You've already forked linux-packaging-mono
Imported Upstream version 6.8.0.73
Former-commit-id: d18deab1b47cfd3ad8cba82b3f37d00eec2170af
This commit is contained in:
parent
bceda29824
commit
73ee7591e8
18
mcs/class/System/corefx/NetworkStream.cs
Normal file
18
mcs/class/System/corefx/NetworkStream.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace System.Net.Sockets
|
||||
{
|
||||
partial class NetworkStream
|
||||
{
|
||||
internal Socket InternalSocket {
|
||||
get {
|
||||
Socket chkSocket = _streamSocket;
|
||||
if (_cleanedUp || chkSocket == null)
|
||||
throw new ObjectDisposedException (GetType ().FullName);
|
||||
|
||||
return chkSocket;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user