Version Used:
Visual Studio 2022 17.0.0 Preview 6.0
Steps to Reproduce:
-
Create a C# class with the following code:
public class TestClient
{
/// <summary>
/// Executes the logs query. Deserializes the result into a strongly typed model class or a primitive type if the query returns a single column.
///
/// Example of querying a model:
/// <example snippet="Snippet:QueryLogsAsModelCall">
/// <code language="csharp"><![CDATA[
/// Response<IReadOnlyList<MyLogEntryModel>> response = await client.QueryWorkspaceAsync<MyLogEntryModel>(
/// workspaceId,
/// "AzureActivity | summarize Count = count() by ResourceGroup | top 10 by Count",
/// new QueryTimeRange(TimeSpan.FromDays(1)));
/// ]]></code>
/// </example>
///
/// </summary>
/// <returns>Query results mapped to a type <typeparamref name="T"/>.</returns>
public string QueryWorkspace() => "Testing";
}
-
Instantiate the aforementioned class:
var client = new TestClient();
client.QueryWorkspace();
-
Hover over the QueryWorkspace function call. In the Quick Info tooltip, notice that the whitespace (before the last 3 lines in the CDATA block) isn't preserved.
Expected Behavior:
The whitespace should be preserved and displayed in Quick Info.
Actual Behavior:
The whitespace is being ignored. All of the code aligns to the left margin.

/cc: @mikadumont
Version Used:
Visual Studio 2022 17.0.0 Preview 6.0
Steps to Reproduce:
Create a C# class with the following code:
Instantiate the aforementioned class:
Hover over the
QueryWorkspacefunction call. In the Quick Info tooltip, notice that the whitespace (before the last 3 lines in the CDATA block) isn't preserved.Expected Behavior:
The whitespace should be preserved and displayed in Quick Info.
Actual Behavior:
The whitespace is being ignored. All of the code aligns to the left margin.
/cc: @mikadumont