40 files declare their use of RenderContext

AssertContentTrait.php in core/tests/Drupal/KernelTests/AssertContentTrait.php
CacheTest.php in core/modules/views/tests/src/Kernel/Plugin/CacheTest.php
CommentFieldNameTest.php in core/modules/comment/tests/src/Kernel/Views/CommentFieldNameTest.php
EarlyRenderingControllerWrapperSubscriber.php in core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php
EntityResource.php in core/modules/jsonapi/src/Controller/EntityResource.php
ExtensionViewsFieldTest.php in core/modules/file/tests/src/Kernel/Views/ExtensionViewsFieldTest.php
FieldDropbuttonTest.php in core/modules/views/tests/src/Kernel/Handler/FieldDropbuttonTest.php
FieldGroupRowsTest.php in core/modules/views/tests/src/Kernel/Handler/FieldGroupRowsTest.php
FieldKernelTest.php in core/modules/views/tests/src/Kernel/Handler/FieldKernelTest.php
FieldWebTest.php in core/modules/views/tests/src/Functional/Handler/FieldWebTest.php
FilterCaptionTwigDebugTest.php in core/modules/filter/tests/src/Kernel/FilterCaptionTwigDebugTest.php
FilterKernelTest.php in core/modules/filter/tests/src/Kernel/FilterKernelTest.php
HandlerFieldUserNameTest.php in core/modules/user/tests/src/Functional/Views/HandlerFieldUserNameTest.php
HelpTopicSection.php in core/modules/help_topics/src/Plugin/HelpSection/HelpTopicSection.php
HtmlRenderer.php in core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php
IconBuilderTest.php in core/tests/Drupal/KernelTests/Core/Layout/IconBuilderTest.php
IntegrationTest.php in core/modules/aggregator/tests/src/Kernel/Views/IntegrationTest.php
LinkGenerationTest.php in core/tests/Drupal/KernelTests/Core/Url/LinkGenerationTest.php
MailManager.php in core/lib/Drupal/Core/Mail/MailManager.php
MailManagerTest.php in core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php
Contains \Drupal\Tests\Core\Mail\MailManagerTest.
MediaEmbed.php in core/modules/media/src/Plugin/Filter/MediaEmbed.php
MediaEmbedFilterTestBase.php in core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php
OEmbedIframeController.php in core/modules/media/src/Controller/OEmbedIframeController.php
PluginBaseTest.php in core/modules/views/tests/src/Kernel/Plugin/PluginBaseTest.php
Contains \Drupal\views\Tests\Plugin\PluginBaseTest.
RendererPlaceholdersTest.php in core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php
Contains \Drupal\Tests\Core\Render\RendererPlaceholdersTest.
RenderPlaceholderMessageTestController.php in core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php
ResourceResponseSubscriber.php in core/modules/rest/src/EventSubscriber/ResourceResponseSubscriber.php
ResourceResponseSubscriberTest.php in core/modules/rest/tests/src/Unit/EventSubscriber/ResourceResponseSubscriberTest.php
RestExport.php in core/modules/rest/src/Plugin/views/display/RestExport.php
StateFormatterTest.php in core/modules/content_moderation/tests/src/Kernel/StateFormatterTest.php
TaxonomyFieldTidTest.php in core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyFieldTidTest.php
TaxonomyFieldVidTest.php in core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyFieldVidTest.php
ThemeRenderAndAutoescapeTest.php in core/tests/Drupal/KernelTests/Core/Theme/ThemeRenderAndAutoescapeTest.php
Contains \Drupal\KernelTests\Core\Theme\ThemeRenderAndAutoescapeTest.
TwigMarkupInterfaceTest.php in core/tests/Drupal/KernelTests/Core/Theme/TwigMarkupInterfaceTest.php
Contains \Drupal\KernelTests\Core\Theme\TwigMarkupInterfaceTest.
UnpublishByKeywordActionTest.php in core/modules/node/tests/src/Kernel/Action/UnpublishByKeywordActionTest.php
UrlTest.php in core/modules/system/tests/src/Functional/Common/UrlTest.php
ViewAjaxController.php in core/modules/views/src/Controller/ViewAjaxController.php
ViewAjaxControllerTest.php in core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php
ViewsFormBase.php in core/modules/views_ui/src/Form/Ajax/ViewsFormBase.php
ViewsHooksTest.php in core/modules/views/tests/src/Kernel/ViewsHooksTest.php

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