-
Notifications
You must be signed in to change notification settings - Fork 636
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Translate DS array to NET array for description (#11040)
This fixes a bug where the description of Curve.SplitByParameter in the library would show up a description of an obsoleted overload. The cause of the issue was the inability of XmlDocumentationExtensions to handle conversion from primitve DS arrays to their equivalent .NET arrays. This made the module unable to find the exact overload, so it resorted to a fallback which returns the first overload available, which in this case was the incorrect one. The problem is fixed for this particular instance, as it is now able to find the exact overload. Note, however, that the mechanism is not bullet-proof, as there is no guaranteed way to translate back a type from DS to the original .NET type.
- Loading branch information
Showing
3 changed files
with
58 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters