Repository: flutter
Issue: [tool_crash] FileSystemException: Directory listing failed, OS Error: Access is denied., errno = 5
Labels: c: crash,tool,team-tool

## Command
```
flutter --no-version-check doctor
```

## Steps to Reproduce
1. ...
2. ...
3. ...

## Logs
FileSystemException: Directory listing failed, OS Error: Access is denied.
, errno = 5
```
#0      _Directory._fillWithDirectoryListing (dart:io-patch/directory_patch.dart:37:68)
#1      _Directory.listSync (dart:io/directory_impl.dart:243:5)
#2      ForwardingDirectory.listSync (package:file/src/forwarding/forwarding_directory.dart:43:12)
#3      ForwardingDirectory.listSync (package:file/src/forwarding/forwarding_directory.dart:43:12)
#4      new VsCode._ (package:flutter_tools/src/vscode/vscode.dart:46:10)
#5      new VsCode.fromDirectory (package:flutter_tools/src/vscode/vscode.dart:74:19)
#6      VsCode._findInstalled (package:flutter_tools/src/vscode/vscode.dart:273:28)
#7      VsCode._installedWindows (package:flutter_tools/src/vscode/vscode.dart:237:12)
#8      VsCode.allInstalled (package:flutter_tools/src/vscode/vscode.dart:98:14)
#9      VsCodeValidator.installedValidators (package:flutter_tools/src/vscode/vscode_validator.dart:21:10)
#10     _DefaultDoctorValidatorsProvider.validators (package:flutter_tools/src/doctor.dart:89:26)
#11     Doctor.validators (package:flutter_tools/src/doctor.dart:187:46)
#12     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:193:45)
#13     Doctor.diagnose (package:flutter_tools/src/doctor.dart:304:47)
#14     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:50:47)
#15     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1274:12)
<asynchronous suspension>
#16     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1125:27)
<asynchronous suspension>
#17     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#18     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>
#19     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
<asynchronous suspension>
```
```
encountered exception: FileSystemException: Directory listing failed, path = 'C:\Users\Upton_WorkStation_i5\.vscode\extensions\*' (OS Error: Access is denied.
, errno = 5)

#0      _Directory._fillWithDirectoryListing (dart:io-patch/directory_patch.dart:37:68)
#1      _Directory.listSync (dart:io/directory_impl.dart:243:5)
#2      ForwardingDirectory.listSync (package:file/src/forwarding/forwarding_directory.dart:43:12)
#3      ForwardingDirectory.listSync (package:file/src/forwarding/forwarding_directory.dart:43:12)
#4      new VsCode._ (package:flutter_tools/src/vscode/vscode.dart:46:10)
#5      new VsCode.fromDirectory (package:flutter_tools/src/vscode/vscode.dart:74:19)
#6      VsCode._findInstalled (package:flutter_tools/src/vscode/vscode.dart:273:28)
#7      VsCode._installedWindows (package:flutter_tools/src/vscode/vscode.dart:237:12)
#8      VsCode.allInstalled (package:flutter_tools/src/vscode/vscode.dart:98:14)
#9      VsCodeValidator.installedValidators (package:flutter_tools/src/vscode/vscode_validator.dart:21:10)
#10     _DefaultDoctorValidatorsProvider.validators (package:flutter_tools/src/doctor.dart:89:26)
#11     Doctor.validators (package:flutter_tools/src/doctor.dart:187:46)
#12     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:193:45)
#13     Doctor.diagnose (package:flutter_tools/src/doctor.dart:304:47)
#14     _doctorText (package:flutter_tools/runner.dart:232:18)
#15     _handleToolError (package:flutter_tools/runner.dart:157:27)
<asynchronous suspension>
#16     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#17     main (package:flutter_tools/executable.dart:92:3)
<asynchronous suspension>

```

## Flutter Application Metadata
No pubspec in working directory.