6 writes to AssemblyFile
Microsoft.Build (1)
Construction\ProjectUsingTaskElement.cs (1)
252usingTask.AssemblyFile = FileUtilities.FixFilePath(assemblyFile);
Microsoft.Build.Engine.OM.UnitTests (5)
Construction\ConstructionEditing_Tests.cs (1)
2626element.AssemblyFile = "af2";
Construction\ProjectUsingTaskElement_Tests.cs (2)
252usingTask.AssemblyFile = "afb"; 281usingTask.AssemblyFile = "afb";
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (2)
495usingTaskFile.VerifySetter("newAssemblyPath", (ut) => ut.AssemblyFile, (ut, v) => ut.AssemblyFile = v); 514Assert.ThrowsAny<InvalidOperationException>(() => usingTaskName.View.AssemblyFile = "xxx");
27 references to AssemblyFile
Microsoft.Build (5)
Construction\ProjectUsingTaskElement.cs (2)
74ErrorUtilities.VerifyThrowInvalidOperation(String.IsNullOrEmpty(AssemblyFile), "OM_EitherAttributeButNotBoth", XMakeElements.usingTask, XMakeAttributes.assemblyFile, XMakeAttributes.assemblyName); 274return owner.CreateUsingTaskElement(TaskName, AssemblyFile, AssemblyName, Runtime, Architecture);
Instance\TaskRegistry.cs (3)
335if (projectUsingTaskXml.AssemblyFile.Length > 0) 337assemblyFile = expander.ExpandIntoStringLeaveEscaped(projectUsingTaskXml.AssemblyFile, expanderOptions, projectUsingTaskXml.AssemblyFileLocation); 349projectUsingTaskXml.AssemblyFile,
Microsoft.Build.Engine.OM.UnitTests (7)
Construction\ProjectUsingTaskElement_Tests.cs (4)
193Assert.Equal("af", usingTask.AssemblyFile); 207Assert.Equal(String.Empty, usingTask.AssemblyFile); 221Assert.Equal(String.Empty, usingTask.AssemblyFile); 253Assert.Equal("afb", usingTask.AssemblyFile);
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
769Assert.Equal(realXml.AssemblyFile, viewXml.AssemblyFile);
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
495usingTaskFile.VerifySetter("newAssemblyPath", (ut) => ut.AssemblyFile, (ut, v) => ut.AssemblyFile = v);
Microsoft.Build.Engine.UnitTests (14)
BackEnd\TaskRegistry_Tests.cs (14)
123string assemblyFile = String.IsNullOrEmpty(taskElement.AssemblyFile) ? null : taskElement.AssemblyFile; 164string assemblyFile = String.IsNullOrEmpty(taskElement.AssemblyFile) ? null : taskElement.AssemblyFile; 206string assemblyFile = String.IsNullOrEmpty(elementList[1].AssemblyFile) ? null : elementList[1].AssemblyFile; 219assemblyFile = String.IsNullOrEmpty(elementList[0].AssemblyFile) ? null : elementList[0].AssemblyFile; 226assemblyFile = String.IsNullOrEmpty(elementList[2].AssemblyFile) ? null : elementList[2].AssemblyFile; 270string assemblyFile = String.IsNullOrEmpty(taskElement.AssemblyFile) ? null : taskElement.AssemblyFile; 1136string expandedAssemblyFile = RegistryExpander.ExpandIntoStringAndUnescape(taskElement.AssemblyFile, ExpanderOptions.ExpandPropertiesAndItems, taskElement.AssemblyFileLocation); 1193string expandedAssemblyFile = RegistryExpander.ExpandIntoStringAndUnescape(taskElement.AssemblyFile, ExpanderOptions.ExpandPropertiesAndItems, taskElement.AssemblyFileLocation);
TaskUsageLogger (1)
TaskUsageLogger.cs (1)
255evaluatedTaskAssemblyPath = EvaluateIfNecessary(usingTask.AssemblyFile, containingProject);