Nested types do not respect TypeNameParseOptions.MaxNodes #106991
Labels
area-System.Reflection.Metadata
binaryformatter-migration
Issues related to the removal of BinaryFormatter and migrations away from it
in-pr
There is an active PR which will close this issue when it is merged
Milestone
Repro
TypeName.Parse("A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A+A")
Expected result
Fails with
InvalidOperationException
due to default MaxNodes count exceededActual result:
Parses successfully.
Context: #103713 (comment)
The text was updated successfully, but these errors were encountered: