Skip to content

Commit

Permalink
Use Enum.GetName correctly
Browse files Browse the repository at this point in the history
Fixes #68329
Fixes AB#1784659
  • Loading branch information
sharwell committed May 25, 2023
1 parent 4df626b commit b2cb23a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ private void OnWorkspaceChanged(object sender, WorkspaceChangeEventArgs args)
{
Logger.Log(FunctionId.Rename_InlineSession_Cancel_NonDocumentChangedWorkspaceChange, KeyValueLogMessage.Create(m =>
{
m["Kind"] = Enum.GetName(typeof(WorkspaceChangeEventArgs), args.Kind);
m["Kind"] = Enum.GetName(typeof(WorkspaceChangeKind), args.Kind);
}));

Cancel();
Expand Down

0 comments on commit b2cb23a

Please sign in to comment.