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