10 writes to Exclude
Microsoft.Build.Engine.OM.UnitTests (10)
Construction\ProjectItemElement_Tests.cs (6)
698item.Exclude = "ib"; 713item.Exclude = String.Empty; 728item.Exclude = null; 838item.Exclude = "i1"; 932item.Exclude = "i1"; 993item.Xml.Exclude = "i1";
Definition\DefinitionEditing_Tests.cs (3)
447itemElement.Exclude = "i2.xxx"; 1211item0.Xml.Exclude = "e"; 2368itemElement.Exclude = "i2.xxx";
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
649item.VerifySetter("newExclude", (i) => i.Exclude, (i, v) => i.Exclude = v);
16 references to Exclude
Microsoft.Build (8)
Definition\Project.cs (5)
2633if (!string.IsNullOrEmpty(itemElement.Exclude)) 2635var excludeItemspec = new EvaluationItemSpec(itemElement.Exclude, _data.Expander, itemElement.ExcludeLocation, itemElement.ContainingProject.DirectoryPath); 2809SingleItemSpecProvenance(itemElement.Exclude, itemElement.ExcludeLocation, Operation.Exclude) ?? result; 3438if (candidateExistingItemXml.Condition.Length != 0 || candidateExistingItemXml.Exclude.Length != 0 || !candidateExistingItemXml.IncludeHasWildcards) 3521if (renamedItemElement.Exclude.Length > 0)
Evaluation\Evaluator.cs (1)
517itemElement.Exclude,
Evaluation\LazyItemEvaluator.cs (2)
557if (itemElement.Exclude.Length > 0) 561string evaluatedExclude = _expander.ExpandIntoStringLeaveEscaped(itemElement.Exclude, ExpanderOptions.ExpandProperties, itemElement.ExcludeLocation);
Microsoft.Build.Engine.OM.UnitTests (8)
Construction\ProjectItemElement_Tests.cs (5)
374Assert.Equal("j", items[1].Exclude); 640Assert.Equal("i2", item.Exclude); 700Assert.Equal("ib", item.Exclude); 715Assert.Equal(String.Empty, item.Exclude); 730Assert.Equal(String.Empty, item.Exclude);
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
895Assert.Equal(realXml.Exclude, viewXml.Exclude);
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
649item.VerifySetter("newExclude", (i) => i.Exclude, (i, v) => i.Exclude = v);