From 7f2357f32256155cda24e14248dc7f888d501d8c Mon Sep 17 00:00:00 2001 From: Elinor Fung Date: Tue, 20 Aug 2024 08:17:26 -0700 Subject: [PATCH] [cdac] Remove extra [] in array type name (#106662) We were appending an extra `[]` to the end of the type name for multi-dimensional or non-zero-based arrays. --- src/native/managed/cdacreader/src/Legacy/TypeNameBuilder.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/native/managed/cdacreader/src/Legacy/TypeNameBuilder.cs b/src/native/managed/cdacreader/src/Legacy/TypeNameBuilder.cs index 03e600e4778be..5ed2083de4cf2 100644 --- a/src/native/managed/cdacreader/src/Legacy/TypeNameBuilder.cs +++ b/src/native/managed/cdacreader/src/Legacy/TypeNameBuilder.cs @@ -594,7 +594,6 @@ private void AddArray(uint rank) } TypeString.Append(']'); } - TypeString.Append("[]"); } private static ReadOnlySpan TypeNameReservedChars()