You've already forked linux-packaging-mono
Imported Upstream version 4.8.0.309
Former-commit-id: 5f9c6ae75f295e057a7d2971f3a6df4656fa8850
This commit is contained in:
parent
ee1447783b
commit
94b2861243
@@ -83,7 +83,6 @@ namespace System.IO.Pipes
|
||||
}
|
||||
#endif
|
||||
|
||||
#if !MOBILE
|
||||
public NamedPipeServerStream (string pipeName, PipeDirection direction, int maxNumberOfServerInstances, PipeTransmissionMode transmissionMode, PipeOptions options, int inBufferSize, int outBufferSize, PipeSecurity pipeSecurity)
|
||||
: this (pipeName, direction, maxNumberOfServerInstances, transmissionMode, options, inBufferSize, outBufferSize, pipeSecurity, HandleInheritability.None)
|
||||
{
|
||||
@@ -100,7 +99,9 @@ namespace System.IO.Pipes
|
||||
{
|
||||
var rights = ToAccessRights (direction) | additionalAccessRights;
|
||||
// FIXME: reject some rights declarations (for ACL).
|
||||
|
||||
#if MOBILE
|
||||
throw new NotImplementedException ();
|
||||
#else
|
||||
if (IsWindows)
|
||||
impl = new Win32NamedPipeServer (this, pipeName, maxNumberOfServerInstances, transmissionMode,
|
||||
rights, options, inBufferSize, outBufferSize,
|
||||
@@ -110,8 +111,8 @@ namespace System.IO.Pipes
|
||||
rights, options, inBufferSize, outBufferSize, inheritability);
|
||||
|
||||
InitializeHandle (impl.Handle, false, (options & PipeOptions.Asynchronous) != PipeOptions.None);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
public NamedPipeServerStream (PipeDirection direction, bool isAsync, bool isConnected, SafePipeHandle safePipeHandle)
|
||||
: base (direction, DefaultBufferSize)
|
||||
@@ -140,14 +141,12 @@ namespace System.IO.Pipes
|
||||
impl.Disconnect ();
|
||||
}
|
||||
|
||||
#if !MOBILE
|
||||
[MonoTODO]
|
||||
[SecurityPermission (SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlPrincipal)]
|
||||
public void RunAsClient (PipeStreamImpersonationWorker impersonationWorker)
|
||||
{
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
#endif
|
||||
|
||||
public void WaitForConnection ()
|
||||
{
|
||||
@@ -173,7 +172,6 @@ namespace System.IO.Pipes
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
#if !MOBILE
|
||||
// async operations
|
||||
|
||||
Action wait_connect_delegate;
|
||||
@@ -190,7 +188,6 @@ namespace System.IO.Pipes
|
||||
{
|
||||
wait_connect_delegate.EndInvoke (asyncResult);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user