29 files declare their use of RouteMatch

AccessDeniedSubscriber.php in core/modules/user/src/EventSubscriber/AccessDeniedSubscriber.php
AccessManager.php in core/lib/Drupal/Core/Access/AccessManager.php
AccessManagerTest.php in core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php
AdminNegotiatorTest.php in core/modules/user/tests/src/Unit/Theme/AdminNegotiatorTest.php
AjaxBasePageNegotiatorTest.php in core/tests/Drupal/Tests/Core/Theme/AjaxBasePageNegotiatorTest.php
AuthenticationManager.php in core/lib/Drupal/Core/Authentication/AuthenticationManager.php
BatchNegotiatorTest.php in core/tests/Drupal/KernelTests/Core/Batch/BatchNegotiatorTest.php
BookMultilingualTest.php in core/modules/book/tests/src/Kernel/BookMultilingualTest.php
ConfigMapperTest.php in core/modules/config_translation/tests/src/Kernel/ConfigMapperTest.php
ConfigNamesMapperTest.php in core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php
ConfigTranslationController.php in core/modules/config_translation/src/Controller/ConfigTranslationController.php
CsrfExceptionSubscriber.php in core/lib/Drupal/Core/EventSubscriber/CsrfExceptionSubscriber.php
EntityAccessChecker.php in core/modules/jsonapi/src/Access/EntityAccessChecker.php
EntityFormTest.php in core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php
HelpEmptyPageTest.php in core/modules/help/tests/src/Kernel/HelpEmptyPageTest.php
LatestRevisionCheckTest.php in core/modules/content_moderation/tests/src/Unit/LatestRevisionCheckTest.php
LocalTaskDefaultTest.php in core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php
MaintenanceModeSubscriber.php in core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php
PathBasedBreadcrumbBuilder.php in core/modules/system/src/PathBasedBreadcrumbBuilder.php
PathChangedHelperTest.php in core/tests/Drupal/KernelTests/Core/Routing/PathChangedHelperTest.php
RequestHandlerTest.php in core/modules/rest/tests/src/Kernel/RequestHandlerTest.php
ResourceResponseSubscriberTest.php in core/modules/rest/tests/src/Unit/EventSubscriber/ResourceResponseSubscriberTest.php
RouteMatchTest.php in core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php
RouteMatchValueResolver.php in core/lib/Drupal/Core/Controller/ArgumentResolver/RouteMatchValueResolver.php
TermContextTest.php in core/modules/taxonomy/tests/src/Kernel/ContextProvider/TermContextTest.php
ThemeNegotiatorTest.php in core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php
UrlTest.php in core/tests/Drupal/Tests/Core/UrlTest.php
ViewPageControllerTest.php in core/modules/views/tests/src/Unit/Routing/ViewPageControllerTest.php
WorkflowStateTransitionOperationsAccessCheckTest.php in core/modules/workflows/tests/src/Unit/WorkflowStateTransitionOperationsAccessCheckTest.php

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