31 references to None
Microsoft.Build.NuGetSdkResolver (1)
RestoreRunnerEx.cs (1)
74
IncludeType = LibraryIncludeFlags.
None
,
NuGet.Build.Tasks.Console (2)
MSBuildStaticGraphRestore.cs (2)
390
IncludeType = GetLibraryIncludeFlags(packageReferenceItem.GetProperty("IncludeAssets"), LibraryIncludeFlags.All) & ~GetLibraryIncludeFlags(packageReferenceItem.GetProperty("ExcludeAssets"), LibraryIncludeFlags.
None
),
482
ExcludeAssets = GetLibraryIncludeFlags(projectReferenceItem.GetProperty("ExcludeAssets"), LibraryIncludeFlags.
None
),
NuGet.Commands (19)
CommandRunners\PackCommandRunner.cs (2)
326
if (dependency.IncludeType == LibraryIncludeFlags.
None
|| dependency.SuppressParent == LibraryIncludeFlags.All)
368
if ((LibraryIncludeFlagUtils.NoContent & ~effectiveInclude) != LibraryIncludeFlags.
None
)
RestoreCommand\CompatibilityChecker.cs (1)
114
| LibraryIncludeFlags.Runtime)) == LibraryIncludeFlags.
None
)
RestoreCommand\RestoreCommand.cs (2)
537
if ((includeFlags & LibraryIncludeFlags.Analyzers) != LibraryIncludeFlags.
None
)
552
&& (directDependency.IncludeType & LibraryIncludeFlags.Analyzers) == LibraryIncludeFlags.
None
;
RestoreCommand\Utility\IncludeFlagUtils.cs (1)
50
LibraryIncludeFlags.
None
:
RestoreCommand\Utility\LockFileUtils.cs (9)
1098
if ((dependencyType & groupType) == LibraryIncludeFlags.
None
)
1172
if ((dependencyType & LibraryIncludeFlags.Runtime) == LibraryIncludeFlags.
None
)
1179
if ((dependencyType & LibraryIncludeFlags.Compile) == LibraryIncludeFlags.
None
)
1185
if ((dependencyType & LibraryIncludeFlags.Native) == LibraryIncludeFlags.
None
)
1190
if ((dependencyType & LibraryIncludeFlags.Analyzers) == LibraryIncludeFlags.
None
)
1195
if ((dependencyType & LibraryIncludeFlags.ContentFiles) == LibraryIncludeFlags.
None
1203
if ((dependencyType & LibraryIncludeFlags.BuildTransitive) == LibraryIncludeFlags.
None
&&
1204
(dependencyType & LibraryIncludeFlags.Build) == LibraryIncludeFlags.
None
)
1210
else if ((dependencyType & LibraryIncludeFlags.Build) == LibraryIncludeFlags.
None
)
RestoreCommand\Utility\MSBuildRestoreUtility.cs (2)
169
var excludeFlags = GetIncludeFlags(excludeAssets, LibraryIncludeFlags.
None
);
184
dependency.ExcludeAssets = GetIncludeFlags(excludeAssets, LibraryIncludeFlags.
None
);
RestoreCommand\Utility\PackageSpecFactory.cs (2)
623
ExcludeAssets = GetLibraryIncludeFlags(projectReferenceItem.GetMetadata("ExcludeAssets"), LibraryIncludeFlags.
None
),
678
IncludeType = GetLibraryIncludeFlags(packageReferenceItem.GetMetadata("IncludeAssets"), LibraryIncludeFlags.All) & ~GetLibraryIncludeFlags(packageReferenceItem.GetMetadata("ExcludeAssets"), LibraryIncludeFlags.
None
),
NuGet.DependencyResolver.Core (1)
PackagingUtility.cs (1)
45
SuppressParent = LibraryIncludeFlags.
None
NuGet.LibraryModel (3)
LibraryIncludeFlagUtils.cs (3)
34
var result = LibraryIncludeFlags.
None
;
77
if (flags == LibraryIncludeFlags.
None
)
91
if (value != LibraryIncludeFlags.
None
&& flags.HasFlag(value))
NuGet.ProjectModel (5)
JsonPackageSpecReader.Utf8JsonStreamReader.cs (3)
212
var dependencyExcludeFlagsValue = LibraryIncludeFlags.
None
;
335
var dependencyExcludeFlagsValue = LibraryIncludeFlags.
None
;
1381
defaultFlags: LibraryIncludeFlags.
None
),
PackageSpecReferenceDependencyProvider.cs (1)
406
IncludeType = isPruned ? LibraryIncludeFlags.
None
: dependency.IncludeType,
PackageSpecWriter.cs (1)
256
if (project.ExcludeAssets != LibraryIncludeFlags.
None
)