6 writes to AssemblyName
Microsoft.Build (1)
Construction\ProjectUsingTaskElement.cs (1)
256
usingTask.
AssemblyName
= assemblyName;
Microsoft.Build.Engine.OM.UnitTests (5)
Construction\ConstructionEditing_Tests.cs (1)
2637
element.
AssemblyName
= "an2";
Construction\ProjectUsingTaskElement_Tests.cs (2)
266
usingTask.
AssemblyName
= "anb";
294
usingTask.
AssemblyName
= "anb";
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (2)
496
Assert.ThrowsAny<InvalidOperationException>(() => usingTaskFile.View.
AssemblyName
= "xxx");
513
usingTaskName.VerifySetter("newAssemblyName", (ut) => ut.AssemblyName, (ut, v) => ut.
AssemblyName
= v);
27 references to AssemblyName
Microsoft.Build (4)
Construction\ProjectUsingTaskElement.cs (2)
57
ErrorUtilities.VerifyThrowInvalidOperation(String.IsNullOrEmpty(
AssemblyName
), "OM_EitherAttributeButNotBoth", ElementName, XMakeAttributes.assemblyFile, XMakeAttributes.assemblyName);
274
return owner.CreateUsingTaskElement(TaskName, AssemblyFile,
AssemblyName
, Runtime, Architecture);
Instance\TaskRegistry.cs (2)
341
assemblyName = expander.ExpandIntoStringLeaveEscaped(projectUsingTaskXml.
AssemblyName
, expanderOptions, projectUsingTaskXml.AssemblyNameLocation);
358
projectUsingTaskXml.
AssemblyName
,
Microsoft.Build.Engine.OM.UnitTests (7)
Construction\ProjectUsingTaskElement_Tests.cs (4)
194
Assert.Equal(String.Empty, usingTask.
AssemblyName
);
208
Assert.Equal("an", usingTask.
AssemblyName
);
222
Assert.Equal("an", usingTask.
AssemblyName
);
267
Assert.Equal("anb", usingTask.
AssemblyName
);
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
772
Assert.Equal(realXml.
AssemblyName
, viewXml.
AssemblyName
);
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
513
usingTaskName.VerifySetter("newAssemblyName", (ut) => ut.
AssemblyName
, (ut, v) => ut.AssemblyName = v);
Microsoft.Build.Engine.UnitTests (14)
BackEnd\TaskRegistry_Tests.cs (14)
122
string assemblyName = String.IsNullOrEmpty(taskElement.
AssemblyName
) ? null : taskElement.
AssemblyName
;
163
string assemblyName = String.IsNullOrEmpty(taskElement.
AssemblyName
) ? null : taskElement.
AssemblyName
;
205
string assemblyName = String.IsNullOrEmpty(elementList[1].
AssemblyName
) ? null : elementList[1].
AssemblyName
;
218
assemblyName = String.IsNullOrEmpty(elementList[0].
AssemblyName
) ? null : elementList[0].
AssemblyName
;
225
assemblyName = String.IsNullOrEmpty(elementList[2].
AssemblyName
) ? null : elementList[2].
AssemblyName
;
269
string assemblyName = String.IsNullOrEmpty(taskElement.
AssemblyName
) ? null : taskElement.
AssemblyName
;
1135
string expandedAssemblyName = RegistryExpander.ExpandIntoStringAndUnescape(taskElement.
AssemblyName
, ExpanderOptions.ExpandPropertiesAndItems, taskElement.AssemblyNameLocation);
1192
string expandedAssemblyName = RegistryExpander.ExpandIntoStringAndUnescape(taskElement.
AssemblyName
, ExpanderOptions.ExpandPropertiesAndItems, taskElement.AssemblyNameLocation);
TaskUsageLogger (2)
TaskUsageLogger.cs (2)
253
if (String.IsNullOrEmpty(usingTask.
AssemblyName
))
260
string evaluatedTaskAssemblyName = EvaluateIfNecessary(usingTask.
AssemblyName
, containingProject);