24 writes to AssemblyAttributes
Microsoft.Build.Tasks.UnitTests (24)
WriteCodeFragment_Tests.cs (24)
83
task.
AssemblyAttributes
= new TaskItem[] { new TaskItem("aa") };
152
task.
AssemblyAttributes
= new TaskItem[] { new TaskItem("aa") };
174
task.
AssemblyAttributes
= new TaskItem[] { new TaskItem("aa") };
209
task.
AssemblyAttributes
= Array.Empty<TaskItem>(); // MSBuild sets an empty array
236
task.
AssemblyAttributes
= null; // null this time
255
task.
AssemblyAttributes
= new TaskItem[] { new TaskItem("aa") };
273
task.
AssemblyAttributes
= new TaskItem[] { new TaskItem("aa") };
295
task.
AssemblyAttributes
= new TaskItem[] { attribute };
324
task.
AssemblyAttributes
= new TaskItem[] { attribute };
350
task.
AssemblyAttributes
= new TaskItem[] { attribute1, attribute2 };
376
task.
AssemblyAttributes
= new TaskItem[] { attribute };
426
task.
AssemblyAttributes
= new TaskItem[] { attribute };
457
task.
AssemblyAttributes
= new TaskItem[] { attribute };
479
task.
AssemblyAttributes
= new TaskItem[] { attribute };
503
task.
AssemblyAttributes
= new TaskItem[] { attribute };
527
task.
AssemblyAttributes
= new TaskItem[] { attribute };
559
task.
AssemblyAttributes
= new TaskItem[] { attribute };
595
task.
AssemblyAttributes
= new TaskItem[] { attribute };
627
task.
AssemblyAttributes
= new TaskItem[] { attribute };
650
task.
AssemblyAttributes
= new TaskItem[] { attribute };
673
task.
AssemblyAttributes
= new TaskItem[] { attribute };
698
task.
AssemblyAttributes
= new TaskItem[] { attribute };
731
task.
AssemblyAttributes
= new TaskItem[] { attribute };
1088
AssemblyAttributes
= attributes
2 references to AssemblyAttributes
Microsoft.Build.Tasks.Core (2)
WriteCodeFragment.cs (2)
174
if (
AssemblyAttributes
== null)
185
foreach (ITaskItem attributeItem in
AssemblyAttributes
)