Skip to content

Commit

Permalink
Merge pull request #59412 from dotnet/merges/release/dev17.1-vs-deps-…
Browse files Browse the repository at this point in the history
…to-release/dev17.2

Merge release/dev17.1-vs-deps to release/dev17.2
  • Loading branch information
dotnet-bot committed Feb 9, 2022
2 parents b831ba0 + 0c82c41 commit a29b6ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/VisualStudio/Core/Def/Telemetry/VSTelemetryLogger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ private static void AppendProperties(TelemetryEvent telemetryEvent, FunctionId f
telemetryEvent.Properties.Add(functionId.GetPropertyName(key), value switch
{
PiiValue pii => new TelemetryPiiProperty(pii.Value),
IEnumerable<object> items => new TelemetryComplexProperty(items.Select(item => (item is PiiValue pii) ? pii.Value : item)),
IEnumerable<object> items => new TelemetryComplexProperty(items.Select(item => (item is PiiValue pii) ? new TelemetryPiiProperty(pii.Value) : item)),
_ => value
});
}
Expand Down

0 comments on commit a29b6ae

Please sign in to comment.