3 writes to Include
Microsoft.Build (3)
Construction\ProjectRootElement.cs (1)
1301
item.
Include
= include;
Definition\ProjectItem.cs (1)
712
_xml.
Include
= name;
Instance\ProjectItemInstance.cs (1)
709
item.
Include
= EvaluatedInclude;
24 references to Include
dotnet (3)
CliCompletion.cs (1)
48
return GetMSBuildProject()?.GetProjectToProjectReferences().Select(r => ToCompletionItem(r.
Include
)) ?? Empty<CompletionItem>();
Commands\Package\VirtualProjectPackageReflector.cs (2)
31
Debug.Assert(!string.IsNullOrEmpty(item.
Include
), "Expected only PackageReference Include items in virtual project.");
34
packageReferences[item.
Include
] = version;
dotnet-aot (1)
src\sdk\src\Cli\dotnet\CliCompletion.cs (1)
48
return GetMSBuildProject()?.GetProjectToProjectReferences().Select(r => ToCompletionItem(r.
Include
)) ?? Empty<CompletionItem>();
Microsoft.Build (19)
Construction\ProjectItemElement.cs (5)
149
ErrorUtilities.VerifyThrowInvalidOperation(String.IsNullOrEmpty(value) || (
Include
.Length == 0 && Update.Length == 0), "OM_OneOfAttributeButNotMore", ElementName, XMakeAttributes.include, XMakeAttributes.remove, XMakeAttributes.update);
168
ErrorUtilities.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);
480
ErrorUtilities.VerifyThrowInvalidOperation(parent.Parent is ProjectTargetElement || (
Include
.Length > 0 || Update.Length > 0 || Remove.Length > 0), "OM_ItemsOutsideTargetMustHaveIncludeOrUpdateOrRemove");
505
return owner.CreateItemElement(ItemType,
Include
);
Construction\ProjectItemGroupElement.cs (1)
115
if (String.Compare(include, item.
Include
, StringComparison.OrdinalIgnoreCase) < 0)
Definition\Project.cs (8)
1724
var hasCharactersThatRequireSplitting = FileMatcher.HasWildcardsSemicolonItemOrPropertyReferences(itemElement.
Include
);
2686
ProvenanceResult result = SingleItemSpecProvenance(itemElement.
Include
, itemElement.IncludeLocation, Operation.Include);
3303
var hasCharactersThatRequireSplitting = FileMatcher.HasWildcardsSemicolonItemOrPropertyReferences(itemElement.
Include
);
3330
string evaluatedExistingInclude = _data.Expander.ExpandIntoStringLeaveEscaped(candidateExistingItemXml.
Include
, ExpanderOptions.ExpandProperties, candidateExistingItemXml.IncludeLocation);
3404
return renamedItemElement.
Include
;
3413
renamedItemElement.
Include
,
3421
return renamedItemElement.
Include
;
3774
if (itemToAddBefore == null && String.Compare(unevaluatedInclude, existingItemXml.
Include
, StringComparison.OrdinalIgnoreCase) < 0)
Definition\ProjectItem.cs (1)
191
return _xml.
Include
;
Evaluation\Evaluator.cs (1)
565
itemElement.
Include
,
Evaluation\GlobResultBuilder.cs (2)
87
if (!string.IsNullOrEmpty(itemElement.
Include
))
111
var includeItemspec = new ItemSpec<P, I>(itemElement.
Include
, expander, itemElement.IncludeLocation, itemElement.ContainingProject.DirectoryPath);
Evaluation\LazyItemEvaluator.cs (1)
552
ProcessItemSpec(rootDirectory, itemElement.
Include
, itemElement.IncludeLocation, operationBuilder);
Microsoft.DotNet.Cli.Utils (1)
Extensions\MSBuildProjectExtensions.cs (1)
107
return SplitSemicolonDelimitedValues(item.
Include
);