10 references to ClearIfExists
NuGet.Commands (10)
RestoreCommand\Utility\LockFileUtils.cs (10)
1100ClearIfExists(items, static path => new LockFileRuntimeTarget(path)); 1174ClearIfExists(lockFileLib.RuntimeAssemblies, static path => new LockFileItem(path)); 1181ClearIfExists(lockFileLib.CompileTimeAssemblies, static path => new LockFileItem(path)); 1182ClearIfExists(lockFileLib.EmbedAssemblies, static path => new LockFileItem(path)); 1187ClearIfExists(lockFileLib.NativeLibraries, static path => new LockFileItem(path)); 1192ClearIfExists(lockFileLib.AnalyzerAssets, static path => new LockFileItem(path), copyProperties: false); 1207ClearIfExists(lockFileLib.Build, static path => new LockFileItem(path)); 1208ClearIfExists(lockFileLib.BuildMultiTargeting, static path => new LockFileItem(path)); 1215ClearIfExists(lockFileLib.Build, static path => new LockFileItem(path)); 1216ClearIfExists(lockFileLib.BuildMultiTargeting, static path => new LockFileItem(path));