48 references to All
Microsoft.Build.NuGetSdkResolver (1)
RestoreRunnerEx.cs (1)
72SuppressParent = LibraryIncludeFlags.All,
NuGet.Build.Tasks.Console (2)
MSBuildStaticGraphRestore.cs (2)
382IncludeType = GetLibraryIncludeFlags(packageReferenceItem.GetProperty("IncludeAssets"), LibraryIncludeFlags.All) & ~GetLibraryIncludeFlags(packageReferenceItem.GetProperty("ExcludeAssets"), LibraryIncludeFlags.None), 475IncludeAssets = GetLibraryIncludeFlags(projectReferenceItem.GetProperty("IncludeAssets"), LibraryIncludeFlags.All),
NuGet.CommandLine.XPlat (5)
Commands\PackageReferenceCommands\AddPackageReferenceCommandRunner.cs (3)
373includeType == LibraryIncludeFlags.All) 375suppressParent = LibraryIncludeFlags.All; 376includeType = LibraryIncludeFlags.All & ~LibraryIncludeFlags.Compile;
Utility\MSBuildAPIUtility.cs (2)
491if (libraryDependency.IncludeType != LibraryIncludeFlags.All) 689if (libraryDependency.IncludeType != LibraryIncludeFlags.All)
NuGet.Commands (17)
CommandRunners\PackCommandRunner.cs (3)
314if (dependency.IncludeType == LibraryIncludeFlags.None || dependency.SuppressParent == LibraryIncludeFlags.All) 345if (effectiveInclude == LibraryIncludeFlags.All) 347includes.Add(LibraryIncludeFlags.All.ToString());
RestoreCommand\CompatibilityChecker.cs (2)
106packageIncludeFlags = LibraryIncludeFlags.All; 430dependencyType: LibraryIncludeFlags.All);
RestoreCommand\DependencyGraphResolver.cs (4)
433if ((childLibraryDependencyIndex != LibraryDependencyIndex.Project && childLibraryDependency.SuppressParent == LibraryIncludeFlags.All) 562&& childLibraryDependency.SuppressParent != LibraryIncludeFlags.All 595&& childLibraryDependency.SuppressParent != LibraryIncludeFlags.All 1283if (dependency.SuppressParent == LibraryIncludeFlags.All)
RestoreCommand\LockFileBuilder.cs (2)
550LibraryIncludeFlags suppressParent = LibraryIncludeFlags.All; 560if (suppressParent == LibraryIncludeFlags.All)
RestoreCommand\Utility\IncludeFlagUtils.cs (1)
165&& dependency.SuppressParent != LibraryIncludeFlags.All)
RestoreCommand\Utility\LockFileUtils.cs (1)
527&& d.SuppressParent != LibraryIncludeFlags.All
RestoreCommand\Utility\MSBuildRestoreUtility.cs (2)
135var includeFlags = GetIncludeFlags(includeAssets, LibraryIncludeFlags.All); 150dependency.IncludeAssets = GetIncludeFlags(includeAssets, LibraryIncludeFlags.All);
RestoreCommand\Utility\PackageSpecFactory.cs (2)
765IncludeAssets = GetLibraryIncludeFlags(projectReferenceItem.GetMetadata("IncludeAssets"), LibraryIncludeFlags.All), 819IncludeType = GetLibraryIncludeFlags(packageReferenceItem.GetMetadata("IncludeAssets"), LibraryIncludeFlags.All) & ~GetLibraryIncludeFlags(packageReferenceItem.GetMetadata("ExcludeAssets"), LibraryIncludeFlags.None),
NuGet.DependencyResolver.Core (1)
Remote\RemoteDependencyWalker.cs (1)
145|| dependency.SuppressParent != LibraryIncludeFlags.All)
NuGet.LibraryModel (4)
LibraryDependency.cs (1)
20public LibraryIncludeFlags IncludeType { get; init; } = LibraryIncludeFlags.All;
LibraryIncludeFlagUtils.cs (3)
22public static readonly LibraryIncludeFlags NoContent = LibraryIncludeFlags.All & ~LibraryIncludeFlags.ContentFiles; 41result |= LibraryIncludeFlags.All; 82if (flags == LibraryIncludeFlags.All)
NuGet.PackageManagement (6)
BuildIntegratedInstallationContext.cs (1)
42public LibraryIncludeFlags IncludeType { get; set; } = LibraryIncludeFlags.All;
BuildIntegratedPackageReference.cs (2)
33developmentDependency: dependency?.SuppressParent == LibraryIncludeFlags.All, 54developmentDependency: dependency?.SuppressParent == LibraryIncludeFlags.All,
BuildIntegration\BuildIntegratedRestoreUtility.cs (3)
177dependency.IncludeType == LibraryIncludeFlags.All) 179var includeType = LibraryIncludeFlags.All & ~LibraryIncludeFlags.Compile; 183SuppressParent = LibraryIncludeFlags.All
NuGet.ProjectModel (12)
JsonPackageSpecReader.Utf8JsonStreamReader.cs (3)
210var dependencyIncludeFlagsValue = LibraryIncludeFlags.All; 333var dependencyIncludeFlagsValue = LibraryIncludeFlags.All; 1370defaultFlags: LibraryIncludeFlags.All),
PackageSpecReferenceDependencyProvider.cs (1)
405SuppressParent = isPruned ? LibraryIncludeFlags.All : dependency.SuppressParent,
PackageSpecWriter.cs (4)
250if (project.IncludeAssets != LibraryIncludeFlags.All) 374var expandedMode = dependency.IncludeType != LibraryIncludeFlags.All 390if (dependency.IncludeType != LibraryIncludeFlags.All) 470if (dependency.IncludeType != LibraryIncludeFlags.All)
ProjectLockFile\PackagesLockFileUtilities.cs (3)
259if (visitedP2PReference.Add(reference.ProjectUniqueName) && reference.PrivateAssets != LibraryIncludeFlags.All) 476&& dep.SuppressParent != LibraryIncludeFlags.All 479var transitivelyFlowingProjectReferences = projectRestoreReferences.Where(e => e.PrivateAssets != LibraryIncludeFlags.All);
ProjectRestoreReference.cs (1)
24public LibraryIncludeFlags IncludeAssets { get; set; } = LibraryIncludeFlags.All;