3 writes to Include
Microsoft.Build (3)
Construction\ProjectRootElement.cs (1)
1299item.Include = include;
Definition\ProjectItem.cs (1)
712_xml.Include = name;
Instance\ProjectItemInstance.cs (1)
709item.Include = EvaluatedInclude;
23 references to Include
dotnet (3)
CliCompletion.cs (1)
48return GetMSBuildProject()?.GetProjectToProjectReferences().Select(r => ToCompletionItem(r.Include)) ?? Empty<CompletionItem>();
Commands\Package\VirtualProjectPackageReflector.cs (2)
31Debug.Assert(!string.IsNullOrEmpty(item.Include), "Expected only PackageReference Include items in virtual project."); 34packageReferences[item.Include] = version;
Microsoft.Build (19)
Construction\ProjectItemElement.cs (5)
149ErrorUtilities.VerifyThrowInvalidOperation(String.IsNullOrEmpty(value) || (Include.Length == 0 && Update.Length == 0), "OM_OneOfAttributeButNotMore", ElementName, XMakeAttributes.include, XMakeAttributes.remove, XMakeAttributes.update); 168ErrorUtilities.VerifyThrowInvalidOperation(String.IsNullOrEmpty(value) || (Remove.Length == 0 && Include.Length == 0), "OM_OneOfAttributeButNotMore", ElementName, XMakeAttributes.include, XMakeAttributes.remove, XMakeAttributes.update); 349_includeHasWildcards = (Include != null) && FileMatcher.HasWildcards(_include); 480ErrorUtilities.VerifyThrowInvalidOperation(parent.Parent is ProjectTargetElement || (Include.Length > 0 || Update.Length > 0 || Remove.Length > 0), "OM_ItemsOutsideTargetMustHaveIncludeOrUpdateOrRemove"); 505return owner.CreateItemElement(ItemType, Include);
Construction\ProjectItemGroupElement.cs (1)
115if (String.Compare(include, item.Include, StringComparison.OrdinalIgnoreCase) < 0)
Definition\Project.cs (10)
1707var hasCharactersThatRequireSplitting = FileMatcher.HasWildcardsSemicolonItemOrPropertyReferences(itemElement.Include); 2592if (!string.IsNullOrEmpty(itemElement.Include)) 2614var includeItemspec = new EvaluationItemSpec(itemElement.Include, _data.Expander, itemElement.IncludeLocation, itemElement.ContainingProject.DirectoryPath); 2815ProvenanceResult result = SingleItemSpecProvenance(itemElement.Include, itemElement.IncludeLocation, Operation.Include); 3431var hasCharactersThatRequireSplitting = FileMatcher.HasWildcardsSemicolonItemOrPropertyReferences(itemElement.Include); 3458string evaluatedExistingInclude = _data.Expander.ExpandIntoStringLeaveEscaped(candidateExistingItemXml.Include, ExpanderOptions.ExpandProperties, candidateExistingItemXml.IncludeLocation); 3532return renamedItemElement.Include; 3541renamedItemElement.Include, 3549return renamedItemElement.Include; 3902if (itemToAddBefore == null && String.Compare(unevaluatedInclude, existingItemXml.Include, StringComparison.OrdinalIgnoreCase) < 0)
Definition\ProjectItem.cs (1)
191return _xml.Include;
Evaluation\Evaluator.cs (1)
529itemElement.Include,
Evaluation\LazyItemEvaluator.cs (1)
552ProcessItemSpec(rootDirectory, itemElement.Include, itemElement.IncludeLocation, operationBuilder);
Microsoft.DotNet.Cli.Utils (1)
Extensions\MSBuildProjectExtensions.cs (1)
107return SplitSemicolonDelimitedValues(item.Include);