122 writes to Sources
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (122)
CscTests.cs (66)
31
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
39
csc.
Sources
= MSBuildUtil.CreateTaskItems("test1.cs", "test2.cs");
47
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
52
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
60
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
65
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
70
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
78
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
83
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
88
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
96
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
101
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
110
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
119
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
124
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
129
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
159
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
168
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
176
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
188
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
204
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
221
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
230
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
240
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
251
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
260
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
265
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
270
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
275
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
280
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
285
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
294
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
300
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
306
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
316
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
322
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
328
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
334
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
344
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
351
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
361
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
370
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
379
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
388
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
397
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
406
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
415
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
424
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
433
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
449
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
455
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
461
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
472
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
478
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
489
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
496
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
505
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
510
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs", "subdir\\test.cs");
515
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
525
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
530
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
535
csc.
Sources
= MSBuildUtil.CreateTaskItems("test.cs");
571
Sources
= MSBuildUtil.CreateTaskItems("test.cs"),
584
Sources
= MSBuildUtil.CreateTaskItems("test.cs", "blah.cs"),
624
Sources
= MSBuildUtil.CreateTaskItems("test.cs"),
647
Sources
= MSBuildUtil.CreateTaskItems("test.cs"),
VbcTests.cs (56)
28
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
36
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test1.vb", "test2.vb");
44
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
49
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
57
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
62
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
67
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
75
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
80
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
85
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
93
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
98
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
107
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
116
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
121
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
126
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
155
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
164
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
174
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
185
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
201
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
220
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
229
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
234
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
239
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
244
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
249
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
254
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
263
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
269
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
275
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
285
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
291
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
297
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
303
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
309
vbc.
Sources
= MSBuildUtil.CreateTaskItems("a;b.vb");
315
vbc.
Sources
= MSBuildUtil.CreateTaskItems("a, b.vb");
325
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
332
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
342
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
351
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
360
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
366
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
372
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
382
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
393
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
404
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
414
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
441
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
446
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb", "subdir\\test.vb");
451
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
461
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
466
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
471
vbc.
Sources
= MSBuildUtil.CreateTaskItems("test.vb");
538
Sources
= MSBuildUtil.CreateTaskItems("test.vb"),
551
Sources
= MSBuildUtil.CreateTaskItems("test.vb", "blah.vb"),
8 references to Sources
Microsoft.Build.Tasks.CodeAnalysis (8)
ManagedCompiler.cs (6)
375
_store[nameof(
Sources
)] = value;
377
get { return (ITaskItem[]?)_store[nameof(
Sources
)]; }
837
(
Sources
!= null) &&
838
(
Sources
.Length > 0) &&
844
OutputAssembly = new TaskItem(Path.GetFileNameWithoutExtension(
Sources
[0].ItemSpec));
910
commandLine.AppendFileNamesIfNotNull(
Sources
, " ");
Vbc.cs (2)
882
CheckHostObjectSupport(param = nameof(
Sources
), vbcHostObject.SetSources(
Sources
));