9 references to ClearIfExists
NuGet.Commands (9)
RestoreCommand\Utility\LockFileUtils.cs (9)
965
ClearIfExists
(items, static path => new LockFileRuntimeTarget(path));
1039
ClearIfExists
(lockFileLib.RuntimeAssemblies, static path => new LockFileItem(path));
1046
ClearIfExists
(lockFileLib.CompileTimeAssemblies, static path => new LockFileItem(path));
1047
ClearIfExists
(lockFileLib.EmbedAssemblies, static path => new LockFileItem(path));
1052
ClearIfExists
(lockFileLib.NativeLibraries, static path => new LockFileItem(path));
1067
ClearIfExists
(lockFileLib.Build, static path => new LockFileItem(path));
1068
ClearIfExists
(lockFileLib.BuildMultiTargeting, static path => new LockFileItem(path));
1075
ClearIfExists
(lockFileLib.Build, static path => new LockFileItem(path));
1076
ClearIfExists
(lockFileLib.BuildMultiTargeting, static path => new LockFileItem(path));