7 files declare their use of MissingDependencyException

ExtensionInstallCommand.php in core/modules/system/src/Command/ExtensionInstallCommand.php
ExtensionInstallCommand.php in core/lib/Drupal/Core/Extension/Command/ExtensionInstallCommand.php
FunctionalTestSetupTrait.php in core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php
ModuleHandlerTest.php in core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php
ModuleInstallerTest.php in core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php
ThemeController.php in core/modules/system/src/Controller/ThemeController.php
ThemeInstallerTest.php in core/tests/Drupal/KernelTests/Core/Theme/ThemeInstallerTest.php

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.