Skip to content

Commit

Permalink
Merge pull request #68330 from sharwell/enum-type
Browse files Browse the repository at this point in the history
Use Enum.GetName correctly
  • Loading branch information
sharwell authored May 25, 2023
2 parents 2fd16b4 + b537c32 commit 6d57b42
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 6d57b42

Please sign in to comment.