From 2e3aed36385e605f14d27685e0af01b9805d291a Mon Sep 17 00:00:00 2001 From: ElektroKill Date: Mon, 6 Nov 2023 21:16:49 +0100 Subject: [PATCH] Fix display of `DynamicLocalVariables` and `DefaultNamespaces` CDIs --- .../DebugTables/CustomDebugInformationTableTreeNode.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ILSpy/Metadata/DebugTables/CustomDebugInformationTableTreeNode.cs b/ILSpy/Metadata/DebugTables/CustomDebugInformationTableTreeNode.cs index 9e9d46c61..420232caf 100644 --- a/ILSpy/Metadata/DebugTables/CustomDebugInformationTableTreeNode.cs +++ b/ILSpy/Metadata/DebugTables/CustomDebugInformationTableTreeNode.cs @@ -1,4 +1,4 @@ -// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team +// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software @@ -141,11 +141,11 @@ namespace ICSharpCode.ILSpy.Metadata } if (KnownGuids.DynamicLocalVariables == guid) { - return CustomDebugInformationKind.StateMachineHoistedLocalScopes; + return CustomDebugInformationKind.DynamicLocalVariables; } if (KnownGuids.DefaultNamespaces == guid) { - return CustomDebugInformationKind.StateMachineHoistedLocalScopes; + return CustomDebugInformationKind.DefaultNamespaces; } if (KnownGuids.EditAndContinueLocalSlotMap == guid) { @@ -341,4 +341,4 @@ namespace ICSharpCode.ILSpy.Metadata language.WriteCommentLine(output, "CustomDebugInformation"); } } -} \ No newline at end of file +}