src/vs/workbench/contrib/bulkEdit/browser/bulkTextEdits.ts/BulkTextEdits/_validateTasks
class BulkTextEdits:	private _validateTasks(tasks: ModelEditTask[]): ValidationResult {
		for (const task of tasks) {
			const result = task.validate();
			if (!result.canApply) {
				return result;
			}
		}
		return { canApply: true };
	}