Skip to content

[cdac] Remove extra [] in array type name#106662

Merged
elinor-fung merged 1 commit intodotnet:mainfrom
elinor-fung:cdac-array-name
Aug 20, 2024
Merged

[cdac] Remove extra [] in array type name#106662
elinor-fung merged 1 commit intodotnet:mainfrom
elinor-fung:cdac-array-name

Conversation

@elinor-fung
Copy link
Member

We were appending an extra [] to the end of the type name for multi-dimensional or non-zero-based arrays.

Examples:

// int[,]
-System.Int32[,][]
+System.Int32[,]
// long[,,]
-System.Int64[,,][]
+System.Int64[,,]
// Array.CreateInstance(typeof(uint), [5], [1])
-System.UInt32<*>[]
+System.UInt32<*>
// ulong[,][]
-System.UInt64[][,][]
+System.UInt64[][,]

@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @tommcdon
See info in area-owners.md if you want to be subscribed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants