Microsoft\VisualBasic\ApplicationServices\SingleInstanceTests.cs (5)
138Assert.True(SendSecondInstanceArgs(pipeName, SendTimeout, sentArgs[i]));
157var tasks = Enumerable.Range(0, n).Select(i => Task.Factory.StartNew(() => { Assert.True(SendSecondInstanceArgs(pipeName, SendTimeout, sentArgs[i])); }, cancellationToken: default, creationOptions: default, scheduler: TaskScheduler.Default)).ToArray();
176Assert.True(SendSecondInstanceArgs(pipeName, SendTimeout, expectedArgs));
229var task = Task.Factory.StartNew(() => SendSecondInstanceArgs(pipeName, SendTimeout, ["1", "ABC"]), cancellationToken: default, creationOptions: default, scheduler: TaskScheduler.Default);
264var pipeClient = CreateClientConnection(pipeName, SendTimeout);