9 instantiations of Argument
VBCSCompiler (7)
src\Compilers\Shared\BuildProtocol.cs (7)
90requestArgs.Add(new Argument(ArgumentId.CurrentDirectory, 0, workingDirectory)); 91requestArgs.Add(new Argument(ArgumentId.TempDirectory, 0, tempDirectory)); 95requestArgs.Add(new Argument(ArgumentId.KeepAlive, 0, keepAlive)); 100requestArgs.Add(new Argument(ArgumentId.LibEnvVariable, 0, libDirectory)); 106requestArgs.Add(new Argument(ArgumentId.CommandLineArgument, i, arg)); 114var requestArgs = new[] { new Argument(ArgumentId.Shutdown, argumentIndex: 0, value: "") }; 226return new Argument(argId, argIndex, value);
VBCSCompiler.UnitTests (2)
BuildProtocolTest.cs (2)
51new BuildRequest.Argument(BuildProtocolConstants.ArgumentId.CurrentDirectory, argumentIndex: 0, value: "directory"), 52new BuildRequest.Argument(BuildProtocolConstants.ArgumentId.CommandLineArgument, argumentIndex: 1, value: "file")));
17 references to Argument
VBCSCompiler (11)
src\Compilers\Server\VBCSCompiler\BuildProtocolUtil.cs (1)
45foreach (BuildRequest.Argument arg in req.Arguments)
src\Compilers\Server\VBCSCompiler\ClientConnectionHandler.cs (1)
185foreach (var arg in request.Arguments)
src\Compilers\Shared\BuildProtocol.cs (9)
44/// See <see cref="Argument"/> for the format of an 60public readonly ReadOnlyCollection<Argument> Arguments; 65IEnumerable<Argument> arguments, 70Arguments = new ReadOnlyCollection<Argument>(arguments.ToList()); 88var requestArgs = new List<Argument>(requestLength); 143var argumentsBuilder = new List<Argument>((int)argumentCount); 148argumentsBuilder.Add(BuildRequest.Argument.ReadFromBinaryReader(reader)); 168foreach (Argument arg in Arguments) 221public static Argument ReadFromBinaryReader(BinaryReader reader)
VBCSCompiler.UnitTests (6)
BuildProtocolTest.cs (2)
24var argument = request.Arguments[0]; 76var argument = request.Arguments[0];
CompilerServerApiTest.cs (1)
124var buildResponse = await serverData.SendAsync(new BuildRequest(RequestLanguage.CSharpCompile, "abc", new List<BuildRequest.Argument> { }));
CompilerServerTests.cs (1)
1485var request = new BuildRequest(RequestLanguage.CSharpCompile, string.Empty, new BuildRequest.Argument[0]);
ServerUtil.cs (2)
29ImmutableArray<BuildRequest.Argument>.Empty); 34ImmutableArray<BuildRequest.Argument>.Empty);