From 181a5f221a74bd19eb017c5d77fb15b198c16e88 Mon Sep 17 00:00:00 2001 From: David Wengier Date: Wed, 19 Mar 2025 13:31:19 +1100 Subject: [PATCH] Who renames a field? I mean honestly! --- .../InProcess/FindReferencesWindowInProcess.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Razor/test/Microsoft.VisualStudio.Razor.IntegrationTests/InProcess/FindReferencesWindowInProcess.cs b/src/Razor/test/Microsoft.VisualStudio.Razor.IntegrationTests/InProcess/FindReferencesWindowInProcess.cs index 7c3fc22eca1..ba179f6850c 100644 --- a/src/Razor/test/Microsoft.VisualStudio.Razor.IntegrationTests/InProcess/FindReferencesWindowInProcess.cs +++ b/src/Razor/test/Microsoft.VisualStudio.Razor.IntegrationTests/InProcess/FindReferencesWindowInProcess.cs @@ -81,7 +81,7 @@ private async Task GetFindReferencesWindowAsync(CancellationT // Dig through to get the Find References control. var toolWindowType = toolWindow.GetType(); - var toolWindowControlField = toolWindowType.GetField("Control"); + var toolWindowControlField = toolWindowType.GetField("_control"); var toolWindowControl = toolWindowControlField.GetValue(toolWindow); // Dig further to get the results table (as opposed to the toolbar).