62 references to VerifySetter
Microsoft.Build.Engine.OM.UnitTests (62)
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (61)
59
xmlPair.
VerifySetter
(this.StdGroup.Disk.GetAbsolutePath("tempRenamed"), (p) => p.FullPath, (p, v) => p.FullPath = v);
60
xmlPair.
VerifySetter
("build", (p) => p.DefaultTargets, (p, v) => p.DefaultTargets = v);
61
xmlPair.
VerifySetter
("init", (p) => p.InitialTargets, (p, v) => p.InitialTargets = v);
62
xmlPair.
VerifySetter
("YetAnotherSDK", (p) => p.Sdk, (p, v) => p.Sdk = v);
63
xmlPair.
VerifySetter
("NonLocalProp", (p) => p.TreatAsLocalProperty, (p, v) => p.TreatAsLocalProperty = v);
64
xmlPair.
VerifySetter
("xmakever", (p) => p.ToolsVersion, (p, v) => p.ToolsVersion = v);
167
newTarget1.
VerifySetter
("newBeforeTargets", (t) => t.BeforeTargets, (t, v) => t.BeforeTargets = v);
168
newTarget1.
VerifySetter
("newDependsOnTargets", (t) => t.DependsOnTargets, (t, v) => t.DependsOnTargets = v);
169
newTarget1.
VerifySetter
("newAfterTargets", (t) => t.AfterTargets, (t, v) => t.AfterTargets = v);
170
newTarget1.
VerifySetter
("newReturns", (t) => t.Returns, (t, v) => t.Returns = v);
171
newTarget1.
VerifySetter
("newInputs", (t) => t.Inputs, (t, v) => t.Inputs = v);
172
newTarget1.
VerifySetter
("newOutputs", (t) => t.Outputs, (t, v) => t.Outputs = v);
173
newTarget1.
VerifySetter
("newKeepDuplicateOutputs", (t) => t.KeepDuplicateOutputs, (t, v) => t.KeepDuplicateOutputs = v);
176
newTarget1.
VerifySetter
("'Configuration' == 'Foo'", (t) => t.Condition, (t, v) => t.Condition = v);
177
newTarget1.
VerifySetter
("newLabel", (t) => t.Label, (t, v) => t.Label = v);
192
newTarget1.
VerifySetter
(NewTargetName, (t) => t.Name, (t, v) => t.Name = v);
251
newTask.
VerifySetter
("ErrorAndContinue", (t) => t.ContinueOnError, (t, v) => t.ContinueOnError = v);
252
newTask.
VerifySetter
("v665+1", (t) => t.MSBuildRuntime, (t, v) => t.MSBuildRuntime = v);
253
newTask.
VerifySetter
("msbuild256bit", (t) => t.MSBuildArchitecture, (t, v) => t.MSBuildArchitecture = v);
265
newTask.
VerifySetter
(paramValue.Ver(i), (t) => t.GetParameter(paramName.Ver(i)), (t, v) => t.SetParameter(paramName.Ver(i), v));
335
newOutputItem.
VerifySetter
(NewOutputItem.Ver(1), (o) => o.TaskParameter, (o, v) => o.TaskParameter = v);
336
newOutputProp.
VerifySetter
(NewOutputProperty.Ver(1), (o) => o.TaskParameter, (o, v) => o.TaskParameter = v);
338
newOutputItem.
VerifySetter
(ItemType.Ver(1), (o) => o.ItemType, (o, v) => o.ItemType = v);
341
newOutputProp.
VerifySetter
(PropertyName.Ver(1), (o) => o.PropertyName, (o, v) => o.PropertyName = v);
354
metadata.
VerifySetter
("NewValue", (md) => md.Value, (md, v) => md.Value = v);
355
metadata.
VerifySetter
("NewName", (md) => md.Name, (md, v) => md.Name = v);
416
when.
VerifySetter
("Condition", (we) => we.Condition, (we, v) => we.Condition = v);
490
usingTaskFile.
VerifySetter
("newArgch", (ut) => ut.Architecture, (ut, v) => ut.Architecture = v);
491
usingTaskFile.
VerifySetter
("newTaskFactory", (ut) => ut.TaskFactory, (ut, v) => ut.TaskFactory = v);
492
usingTaskFile.
VerifySetter
("newTaskName", (ut) => ut.TaskName, (ut, v) => ut.TaskName = v);
495
usingTaskFile.
VerifySetter
("newAssemblyPath", (ut) => ut.AssemblyFile, (ut, v) => ut.AssemblyFile = v);
497
usingTaskFile.
VerifySetter
("newRuntime", (ut) => ut.Runtime, (ut, v) => ut.Runtime = v);
513
usingTaskName.
VerifySetter
("newAssemblyName", (ut) => ut.AssemblyName, (ut, v) => ut.AssemblyName = v);
524
usingTask.
VerifySetter
("TaskFactory", (ut) => ut.TaskFactory, (ut, v) => ut.TaskFactory = v);
528
taskBody.
VerifySetter
("newBody", (tb) => tb.TaskBody, (tb, v) => tb.TaskBody = v);
529
taskBody.
VerifySetter
("newEval", (tb) => tb.Evaluate, (tb, v) => tb.Evaluate = v);
539
usingTask.
VerifySetter
("TaskFactory", (ut) => ut.TaskFactory, (ut, v) => ut.TaskFactory = v);
559
usingTask.
VerifySetter
("TaskFactory", (ut) => ut.TaskFactory, (ut, v) => ut.TaskFactory = v);
563
paraElement.
VerifySetter
("newName", (pe) => pe.Name, (pe, v) => pe.Name = v);
564
paraElement.
VerifySetter
("newParaType", (pe) => pe.ParameterType, (pe, v) => pe.ParameterType = v);
565
paraElement.
VerifySetter
("newOutput", (pe) => pe.Output, (pe, v) => pe.Output = v);
566
paraElement.
VerifySetter
("newRequired", (pe) => pe.Required, (pe, v) => pe.Required = v);
576
extensionXml.
VerifySetter
("bla bla bla", (e) => e.Content, (e, v) => e.Content = v);
586
import.
VerifySetter
("newImport", (pi) => pi.Project, (pi, v) => pi.Project = v);
587
import.
VerifySetter
("newSdk", (pi) => pi.Sdk, (pi, v) => pi.Sdk = v);
588
import.
VerifySetter
("newVer", (pi) => pi.Version, (pi, v) => pi.Version = v);
589
import.
VerifySetter
("newMinVer", (pi) => pi.MinimumVersion, (pi, v) => pi.MinimumVersion = v);
648
item.
VerifySetter
("newInclude", (i) => i.Include, (i, v) => i.Include = v);
649
item.
VerifySetter
("newExclude", (i) => i.Exclude, (i, v) => i.Exclude = v);
650
item.
VerifySetter
("newType", (i) => i.ItemType, (i, v) => i.ItemType = v);
656
item.
VerifySetter
("newRemove", (i) => i.Remove, (i, v) => i.Remove = v);
660
item.
VerifySetter
("newUpdate", (i) => i.Update, (i, v) => i.Update = v);
681
itemInTargt.
VerifySetter
("newKeepDups", (i) => i.KeepDuplicates, (i, v) => i.KeepDuplicates = v);
682
itemInTargt.
VerifySetter
("newKeepMetadata", (i) => i.KeepMetadata, (i, v) => i.KeepMetadata = v);
685
itemInTargt.
VerifySetter
("newRemoveMetadat", (i) => i.RemoveMetadata, (i, v) => i.RemoveMetadata = v);
719
prop.
VerifySetter
("newValue", (p) => p.Value, (p, v) => p.Value = v);
720
prop.
VerifySetter
("newName", (p) => p.Name, (p, v) => p.Name = v);
764
sdkElement.
VerifySetter
("newVersion", (s) => s.Version, (s, v) => s.Version = v);
765
sdkElement.
VerifySetter
("newMinVersion", (s) => s.MinimumVersion, (s, v) => s.MinimumVersion = v);
766
sdkElement.
VerifySetter
("newName", (s) => s.Name, (s, v) => s.Name = v);
780
onErr.
VerifySetter
("newErrTargt", (e) => e.ExecuteTargetsAttribute, (e, v) => e.ExecuteTargetsAttribute = v);
ObjectModelRemoting\LinkedSpecialCasesScenarios.cs (1)
133
clonedPair.
VerifySetter
("Group2", (g) => g.Label, (g, v) => g.Label = v);