9 instantiations of Argument
VBCSCompiler (7)
BuildProtocol.cs (7)
88
requestArgs.Add(new
Argument
(ArgumentId.CurrentDirectory, 0, workingDirectory));
89
requestArgs.Add(new
Argument
(ArgumentId.TempDirectory, 0, tempDirectory));
93
requestArgs.Add(new
Argument
(ArgumentId.KeepAlive, 0, keepAlive));
98
requestArgs.Add(new
Argument
(ArgumentId.LibEnvVariable, 0, libDirectory));
104
requestArgs.Add(new
Argument
(ArgumentId.CommandLineArgument, i, arg));
112
var requestArgs = new[] { new
Argument
(ArgumentId.Shutdown, argumentIndex: 0, value: "") };
244
return new
Argument
(argId, argIndex, value);
VBCSCompiler.UnitTests (2)
BuildProtocolTest.cs (2)
51
new BuildRequest.
Argument
(BuildProtocolConstants.ArgumentId.CurrentDirectory, argumentIndex: 0, value: "directory"),
52
new BuildRequest.
Argument
(BuildProtocolConstants.ArgumentId.CommandLineArgument, argumentIndex: 1, value: "file")));
17 references to Argument
VBCSCompiler (11)
BuildProtocol.cs (9)
42
/// See <see cref="
Argument
"/> for the format of an
58
public readonly ReadOnlyCollection<
Argument
> Arguments;
63
IEnumerable<
Argument
> arguments,
68
Arguments = new ReadOnlyCollection<
Argument
>(arguments.ToList());
86
var requestArgs = new List<
Argument
>(requestLength);
149
var argumentsBuilder = new List<
Argument
>((int)argumentCount);
154
argumentsBuilder.Add(BuildRequest.
Argument
.ReadFromBinaryReader(reader));
186
foreach (
Argument
arg in Arguments)
239
public static
Argument
ReadFromBinaryReader(BinaryReader reader)
BuildProtocolUtil.cs (1)
45
foreach (BuildRequest.
Argument
arg in req.Arguments)
ClientConnectionHandler.cs (1)
185
foreach (
var
arg in request.Arguments)
VBCSCompiler.UnitTests (6)
BuildProtocolTest.cs (2)
24
var
argument = request.Arguments[0];
76
var
argument = request.Arguments[0];
CompilerServerApiTest.cs (1)
124
var buildResponse = await serverData.SendAsync(new BuildRequest(RequestLanguage.CSharpCompile, "abc", new List<BuildRequest.
Argument
> { }));
CompilerServerTests.cs (1)
1485
var request = new BuildRequest(RequestLanguage.CSharpCompile, string.Empty, new BuildRequest.
Argument
[0]);
ServerUtil.cs (2)
29
ImmutableArray<BuildRequest.
Argument
>.Empty);
34
ImmutableArray<BuildRequest.
Argument
>.Empty);