116 references to PipeOptions
csc (9)
src\Compilers\Shared\BuildServerConnection.cs (1)
385pipeStream = NamedPipeUtil.CreateClient(".", pipeName, PipeDirection.InOut, PipeOptions.Asynchronous);
src\Compilers\Shared\NamedPipeUtil.cs (8)
45internal static NamedPipeClientStream CreateClient(string serverName, string pipeName, PipeDirection direction, PipeOptions options) 86var pipeOptions = PipeOptions.Asynchronous | PipeOptions.WriteThrough; 105private static readonly PipeOptions CurrentUserOption = PlatformInformation.IsRunningOnMono 106? (PipeOptions)s_currentUserOnlyValue 107: PipeOptions.None; 114PipeOptions options,
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (2)
NamedPipesTransportBenchmark.cs (2)
129options: PipeOptions.WriteThrough | PipeOptions.Asynchronous,
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (7)
CreateNamedPipeServerStreamContext.cs (1)
21public required PipeOptions PipeOptions { get; init; }
Internal\NamedPipeConnectionListener.cs (6)
13using NamedPipeOptions = System.IO.Pipes.PipeOptions; 197var pipeOptions = NamedPipeOptions.Asynchronous | NamedPipeOptions.WriteThrough; 204pipeOptions |= NamedPipeOptions.FirstPipeInstance; 208pipeOptions |= NamedPipeOptions.CurrentUserOnly;
Microsoft.Build (4)
BackEnd\Client\MSBuildClient.cs (1)
146PipeOptions.Asynchronous
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (1)
453PipeOptions.Asynchronous
NodeEndpointOutOfProcBase.cs (2)
235PipeOptions.Asynchronous | PipeOptions.WriteThrough
Microsoft.Build.Tasks.CodeAnalysis (8)
src\Compilers\Shared\BuildServerConnection.cs (1)
385pipeStream = NamedPipeUtil.CreateClient(".", pipeName, PipeDirection.InOut, PipeOptions.Asynchronous);
src\Compilers\Shared\NamedPipeUtil.cs (7)
45internal static NamedPipeClientStream CreateClient(string serverName, string pipeName, PipeDirection direction, PipeOptions options) 86var pipeOptions = PipeOptions.Asynchronous | PipeOptions.WriteThrough; 171private const PipeOptions CurrentUserOption = PipeOptions.CurrentUserOnly; 186PipeOptions options,
Microsoft.CodeAnalysis.InteractiveHost (2)
Interactive\Core\InteractiveHost.LazyRemoteService.cs (1)
185var clientStream = new NamedPipeClientStream(".", pipeName, PipeDirection.InOut, PipeOptions.Asynchronous);
Interactive\Core\InteractiveHost.Service.cs (1)
224var serverStream = new NamedPipeServerStream(pipeName, PipeDirection.InOut, NamedPipeServerStream.MaxAllowedServerInstances, PipeTransmissionMode.Byte, PipeOptions.Asynchronous);
Microsoft.CodeAnalysis.LanguageServer (2)
Program.cs (2)
136PipeOptions.CurrentUserOnly | PipeOptions.Asynchronous);
Microsoft.CodeAnalysis.Workspaces.MSBuild (8)
MSBuild\BuildHostProcessManager.cs (1)
385var pipeClient = NamedPipeUtil.CreateClient(".", pipeName, PipeDirection.InOut, PipeOptions.Asynchronous);
src\Compilers\Shared\NamedPipeUtil.cs (7)
45internal static NamedPipeClientStream CreateClient(string serverName, string pipeName, PipeDirection direction, PipeOptions options) 86var pipeOptions = PipeOptions.Asynchronous | PipeOptions.WriteThrough; 171private const PipeOptions CurrentUserOption = PipeOptions.CurrentUserOnly; 186PipeOptions options,
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (7)
src\Compilers\Shared\NamedPipeUtil.cs (7)
45internal static NamedPipeClientStream CreateClient(string serverName, string pipeName, PipeDirection direction, PipeOptions options) 86var pipeOptions = PipeOptions.Asynchronous | PipeOptions.WriteThrough; 171private const PipeOptions CurrentUserOption = PipeOptions.CurrentUserOnly; 186PipeOptions options,
Microsoft.VisualBasic.Forms (3)
Microsoft\VisualBasic\ApplicationServices\SingleInstanceHelpers.vb (3)
13Private Const NamedPipeOptions As PipeOptions = PipeOptions.Asynchronous Or PipeOptions.CurrentUserOnly
MSBuild (2)
NodeEndpointOutOfProcBase.cs (2)
235PipeOptions.Asynchronous | PipeOptions.WriteThrough
MSBuildTaskHost (2)
NodeEndpointOutOfProcBase.cs (2)
235PipeOptions.Asynchronous | PipeOptions.WriteThrough
netstandard (1)
netstandard.cs (1)
955[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.IO.Pipes.PipeOptions))]
Replay (9)
src\Compilers\Shared\BuildServerConnection.cs (1)
385pipeStream = NamedPipeUtil.CreateClient(".", pipeName, PipeDirection.InOut, PipeOptions.Asynchronous);
src\Compilers\Shared\NamedPipeUtil.cs (8)
45internal static NamedPipeClientStream CreateClient(string serverName, string pipeName, PipeDirection direction, PipeOptions options) 86var pipeOptions = PipeOptions.Asynchronous | PipeOptions.WriteThrough; 105private static readonly PipeOptions CurrentUserOption = PlatformInformation.IsRunningOnMono 106? (PipeOptions)s_currentUserOnlyValue 107: PipeOptions.None; 114PipeOptions options,
System.Core (1)
System.Core.cs (1)
113[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.IO.Pipes.PipeOptions))]
System.IO.Pipes (31)
System\IO\Pipes\NamedPipeClientStream.cs (11)
24private readonly PipeOptions _pipeOptions; 31: this(".", pipeName, PipeDirection.InOut, PipeOptions.None, TokenImpersonationLevel.None, HandleInheritability.None) 36: this(serverName, pipeName, PipeDirection.InOut, PipeOptions.None, TokenImpersonationLevel.None, HandleInheritability.None) 41: this(serverName, pipeName, direction, PipeOptions.None, TokenImpersonationLevel.None, HandleInheritability.None) 45public NamedPipeClientStream(string serverName, string pipeName, PipeDirection direction, PipeOptions options) 51PipeOptions options, TokenImpersonationLevel impersonationLevel) 57PipeOptions options, TokenImpersonationLevel impersonationLevel, HandleInheritability inheritability) 66if ((options & ~(PipeOptions.WriteThrough | PipeOptions.Asynchronous | PipeOptions.CurrentUserOnly)) != 0) 78if ((options & PipeOptions.CurrentUserOnly) != 0)
System\IO\Pipes\NamedPipeClientStream.Unix.cs (2)
24PipeOptions options, TokenImpersonationLevel impersonationLevel, HandleInheritability inheritability) 76InitializeHandle(clientHandle, isExposed: false, isAsync: (_pipeOptions & PipeOptions.Asynchronous) != 0);
System\IO\Pipes\NamedPipeServerStream.cs (13)
19: this(pipeName, PipeDirection.InOut, 1, PipeTransmissionMode.Byte, PipeOptions.None, 0, 0, HandleInheritability.None) 24: this(pipeName, direction, 1, PipeTransmissionMode.Byte, PipeOptions.None, 0, 0, HandleInheritability.None) 29: this(pipeName, direction, maxNumberOfServerInstances, PipeTransmissionMode.Byte, PipeOptions.None, 0, 0, HandleInheritability.None) 34: this(pipeName, direction, maxNumberOfServerInstances, transmissionMode, PipeOptions.None, 0, 0, HandleInheritability.None) 38public NamedPipeServerStream(string pipeName, PipeDirection direction, int maxNumberOfServerInstances, PipeTransmissionMode transmissionMode, PipeOptions options) 43public NamedPipeServerStream(string pipeName, PipeDirection direction, int maxNumberOfServerInstances, PipeTransmissionMode transmissionMode, PipeOptions options, int inBufferSize, int outBufferSize) 75PipeOptions options, 90PipeOptions options, 104if ((options & ~(PipeOptions.WriteThrough | PipeOptions.Asynchronous | PipeOptions.CurrentUserOnly | PipeOptions.FirstPipeInstance)) != 0) 126if ((options & PipeOptions.CurrentUserOnly) != 0)
System\IO\Pipes\NamedPipeServerStream.Unix.cs (5)
18private PipeOptions _options; 25PipeTransmissionMode transmissionMode, PipeOptions options, int inBufferSize, int outBufferSize, 132InitializeHandle(serverHandle, isExposed: false, isAsync: (_options & PipeOptions.Asynchronous) != 0); 251internal static SharedServer Get(string path, int maxCount, PipeOptions pipeOptions) 259bool isFirstPipeInstance = (pipeOptions & PipeOptions.FirstPipeInstance) != 0;
System.IO.Pipes.AccessControl (1)
artifacts\obj\System.IO.Pipes.AccessControl\Debug\net10.0\System.IO.Pipes.AccessControl.notsupported.cs (1)
15public static System.IO.Pipes.NamedPipeServerStream Create(string pipeName, System.IO.Pipes.PipeDirection direction, int maxNumberOfServerInstances, System.IO.Pipes.PipeTransmissionMode transmissionMode, System.IO.Pipes.PipeOptions options, int inBufferSize, int outBufferSize, System.IO.Pipes.PipeSecurity? pipeSecurity, System.IO.HandleInheritability inheritability = System.IO.HandleInheritability.None, System.IO.Pipes.PipeAccessRights additionalAccessRights = default) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); }
System.ServiceModel.NetNamedPipe (1)
System\ServiceModel\Channels\PipeConnectionInitiator.cs (1)
180namedPipeClient = new NamedPipeClientStream(".", resolvedAddress, PipeDirection.InOut, PipeOptions.Asynchronous, TokenImpersonationLevel.Anonymous, HandleInheritability.None);
vbc (8)
src\Compilers\Shared\BuildServerConnection.cs (1)
385pipeStream = NamedPipeUtil.CreateClient(".", pipeName, PipeDirection.InOut, PipeOptions.Asynchronous);
src\Compilers\Shared\NamedPipeUtil.cs (7)
45internal static NamedPipeClientStream CreateClient(string serverName, string pipeName, PipeDirection direction, PipeOptions options) 86var pipeOptions = PipeOptions.Asynchronous | PipeOptions.WriteThrough; 171private const PipeOptions CurrentUserOption = PipeOptions.CurrentUserOnly; 186PipeOptions options,
VBCSCompiler (8)
src\Compilers\Shared\BuildServerConnection.cs (1)
385pipeStream = NamedPipeUtil.CreateClient(".", pipeName, PipeDirection.InOut, PipeOptions.Asynchronous);
src\Compilers\Shared\NamedPipeUtil.cs (7)
45internal static NamedPipeClientStream CreateClient(string serverName, string pipeName, PipeDirection direction, PipeOptions options) 86var pipeOptions = PipeOptions.Asynchronous | PipeOptions.WriteThrough; 171private const PipeOptions CurrentUserOption = PipeOptions.CurrentUserOnly; 186PipeOptions options,