32 references to Ver
Microsoft.Build.Engine.OM.UnitTests (32)
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (12)
89
c1 = AppendNewChaildWithVerify(ObjectType.View, id.
Ver
(1), adder, matcher);
90
c2 = AppendNewChaildWithVerify(ObjectType.Real, id.
Ver
(2), adder, matcher);
96
c1 = AppendNewNamedChaildWithVerify(ObjectType.View, name.
Ver
(1), adder);
97
c2 = AppendNewNamedChaildWithVerify(ObjectType.Real, name.
Ver
(2), adder);
103
c1 = AppendNewLabeledChaildWithVerify(ObjectType.View, label.
Ver
(1), adder);
104
c2 = AppendNewLabeledChaildWithVerify(ObjectType.Real, label.
Ver
(2), adder);
110
c1 = AddNewChaildWithVerify(ObjectType.View, id.
Ver
(1), adder, matcher);
111
c2 = AddNewChaildWithVerify(ObjectType.Real, id.
Ver
(2), adder, matcher);
117
c1 = AddNewNamedChaildWithVerify(ObjectType.View, name.
Ver
(1), adder);
118
c2 = AddNewNamedChaildWithVerify(ObjectType.Real, name.
Ver
(2), adder);
124
c1 = AddNewLabeledChaildWithVerify(ObjectType.View, label.
Ver
(1), adder);
125
c2 = AddNewLabeledChaildWithVerify(ObjectType.Real, label.
Ver
(2), adder);
ObjectModelRemoting\Helpers\ViewValidation.cs (1)
71
var newValue1 = newValue.
Ver
(1);
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (19)
185
newTarget1.Real.Name = NewTargetRenamed.
Ver
(2);
189
newTarget1.VerifySame(xmlPair.QuerySingleChildrenWithValidation<ProjectTargetElement>((t) => string.Equals(t.Name, NewTargetRenamed.
Ver
(2))));
265
newTask.VerifySetter(paramValue.
Ver
(i), (t) => t.GetParameter(paramName.
Ver
(i)), (t, v) => t.SetParameter(paramName.
Ver
(i), v));
272
Assert.Equal(paramValue.
Ver
(i), newTask.View.Parameters[paramName.
Ver
(i)]);
275
newTask.View.RemoveParameter(paramName.
Ver
(1));
276
newTask.Real.RemoveParameter(paramName.
Ver
(5));
281
Assert.Equal(paramValue.
Ver
(i), newTask.View.Parameters[paramName.
Ver
(i)]);
284
Assert.False(newTask.View.Parameters.ContainsKey(paramName.
Ver
(1)));
285
Assert.False(newTask.Real.Parameters.ContainsKey(paramName.
Ver
(1)));
286
Assert.False(newTask.View.Parameters.ContainsKey(paramName.
Ver
(5)));
287
Assert.False(newTask.Real.Parameters.ContainsKey(paramName.
Ver
(5)));
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);