12 references to Condition
Microsoft.Build (6)
BackEnd\Components\RequestBuilder\TargetEntry.cs (5)
350
if (ExpressionShredder.ContainsMetadataExpressionOutsideTransform(_target.
Condition
))
352
ProjectErrorUtilities.ThrowInvalidProject(_target.ConditionLocation, "TargetConditionHasInvalidMetadataReference", _target.Name, _target.
Condition
);
358
_target.
Condition
,
378
string expanded = _expander.ExpandIntoStringAndUnescape(_target.
Condition
, ExpanderOptions.ExpandPropertiesAndItems | ExpanderOptions.LeavePropertiesUnexpandedOnError | ExpanderOptions.Truncate, _target.ConditionLocation);
394
Condition = _target.
Condition
,
Instance\ProjectTargetInstance.cs (1)
473
target.Condition =
Condition
;
Microsoft.Build.Engine.OM.UnitTests (1)
Instance\ProjectTargetInstance_Tests.cs (1)
30
Assert.Equal("c", target.
Condition
);
Microsoft.Build.Engine.UnitTests (5)
Construction\SolutionProjectGenerator_Tests.cs (2)
1676
Assert.Contains("'$(Configuration)' == 'Release'", msbuildProject.Targets["Build"].
Condition
);
1677
Assert.Contains("'$(Configuration)' == 'Debug'", msbuildProject.Targets["Build"].
Condition
);
Instance\ProjectInstance_Internal_Tests.cs (1)
792
targetInstance.
Condition
.ShouldBe("1==1");
TestComparers\ProjectInstanceModelTestComparers.cs (2)
85
Assert.Equal(x.
Condition
, y.
Condition
);