diff --git a/src/EditorFeatures/Core.Wpf/QuickInfo/OnTheFlyDocsView.xaml.cs b/src/EditorFeatures/Core.Wpf/QuickInfo/OnTheFlyDocsView.xaml.cs
index 24077a7d49cdf..6d5cea936e659 100644
--- a/src/EditorFeatures/Core.Wpf/QuickInfo/OnTheFlyDocsView.xaml.cs
+++ b/src/EditorFeatures/Core.Wpf/QuickInfo/OnTheFlyDocsView.xaml.cs
@@ -141,11 +141,7 @@ private async Task SetResultTextAsync(ICopilotCodeAnalysisService copilotService
{
SetResultText(EditorFeaturesResources.Your_organization_excluded_a_referenced_file_from_Copilot);
CurrentState = OnTheFlyDocsState.Finished;
- Logger.Log(FunctionId.Copilot_On_The_Fly_Docs_Content_Excluded, KeyValueLogMessage.Create(m =>
- {
- m["SymbolHeaderText"] = _onTheFlyDocsElement.SymbolSignature;
- }, LogLevel.Information));
-
+ Logger.Log(FunctionId.Copilot_On_The_Fly_Docs_Content_Excluded, logLevel: LogLevel.Information);
return;
}
@@ -215,7 +211,6 @@ public void RequestResults()
CurrentState = OnTheFlyDocsState.Loading;
Logger.Log(FunctionId.Copilot_On_The_Fly_Docs_Loading_State_Entered, KeyValueLogMessage.Create(m =>
{
- m["SymbolHeaderText"] = _onTheFlyDocsElement.SymbolSignature;
m["HasDocumentationComments"] = _onTheFlyDocsElement.HasComments;
}, LogLevel.Information));
diff --git a/src/EditorFeatures/Core.Wpf/QuickInfo/OnTheFlyDocsViewFactory.cs b/src/EditorFeatures/Core.Wpf/QuickInfo/OnTheFlyDocsViewFactory.cs
index 9cb2e12e18edf..75937919f9cd0 100644
--- a/src/EditorFeatures/Core.Wpf/QuickInfo/OnTheFlyDocsViewFactory.cs
+++ b/src/EditorFeatures/Core.Wpf/QuickInfo/OnTheFlyDocsViewFactory.cs
@@ -48,10 +48,7 @@ public OnTheFlyDocsViewFactory(IViewElementFactoryService factoryService, IAsync
var editorFeaturesOnTheFlyDocsElement = (EditorFeaturesOnTheFlyDocsElement)model;
- Logger.Log(FunctionId.Copilot_On_The_Fly_Docs_Showed_Link, KeyValueLogMessage.Create(m =>
- {
- m["SymbolHeaderText"] = editorFeaturesOnTheFlyDocsElement.OnTheFlyDocsElement.SymbolSignature;
- }, LogLevel.Information));
+ Logger.Log(FunctionId.Copilot_On_The_Fly_Docs_Showed_Link, logLevel: LogLevel.Information);
var quickInfoSession = _asyncQuickInfoBroker.GetSession(textView);
diff --git a/src/Features/Core/Portable/QuickInfo/OnTheFlyDocsElement.cs b/src/Features/Core/Portable/QuickInfo/OnTheFlyDocsElement.cs
index 622982c5a9733..434726a548de6 100644
--- a/src/Features/Core/Portable/QuickInfo/OnTheFlyDocsElement.cs
+++ b/src/Features/Core/Portable/QuickInfo/OnTheFlyDocsElement.cs
@@ -13,12 +13,12 @@ namespace Microsoft.CodeAnalysis.QuickInfo;
/// the symbol's declaration code
/// the language of the symbol
/// whether the symbol has comments
-internal sealed class OnTheFlyDocsElement(string symbolSignature, ImmutableArray declarationCode, string language, bool hasContentExcluded, bool hasComments = false)
+internal sealed class OnTheFlyDocsElement(string symbolSignature, ImmutableArray declarationCode, string language, bool isContentExcluded, bool hasComments = false)
{
public string SymbolSignature { get; } = symbolSignature;
public ImmutableArray DeclarationCode { get; } = declarationCode;
public string Language { get; } = language;
- public bool IsContentExcluded { get; set; } = hasContentExcluded;
+ public bool IsContentExcluded { get; set; } = isContentExcluded;
// Added for telemetry collection purposes.
public bool HasComments { get; set; } = hasComments;