diff --git a/src/VisualStudio/Core/Next/FindReferences/StreamingFindUsagesPresenter.TableDataSourceFindUsagesContext.cs b/src/VisualStudio/Core/Next/FindReferences/StreamingFindUsagesPresenter.TableDataSourceFindUsagesContext.cs index c5d041009836771f3b69cdded218b78a6ced859d..4c4bc1b0dbb386f0d34b073b64f58990227036b8 100644 --- a/src/VisualStudio/Core/Next/FindReferences/StreamingFindUsagesPresenter.TableDataSourceFindUsagesContext.cs +++ b/src/VisualStudio/Core/Next/FindReferences/StreamingFindUsagesPresenter.TableDataSourceFindUsagesContext.cs @@ -200,24 +200,7 @@ public IDisposable Subscribe(ITableDataSink sink) #region FindUsagesContext overrides. public override void SetSearchTitle(string title) - { - try - { - // Editor renamed their property from Label to Title, and made it public. - // However, we don't have access to that property yet until they publish - // their next SDK. In the meantime, use reflection to get at the right - // property. - var titleProperty = _findReferencesWindow.GetType().GetProperty( - "Title", BindingFlags.Public | BindingFlags.Instance); - if (titleProperty != null) - { - titleProperty.SetValue(_findReferencesWindow, title); - } - } - catch (Exception) - { - } - } + => _findReferencesWindow.Title = title; public override async Task OnCompletedAsync() {