Versionable breaking changes #68601
Unanswered
SupinePandora43
asked this question in
Ideas
Replies: 1 comment
-
I did consider similar idea. In fact, IL allows overload by return type. The two versions does not have to be different names.
Unfortunately, array.Length and span.Length are extremely hot paths. Any performance overhead can hurt a lot. This makes the problem more difficult to handle. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Replacing
int Length
withnuint
orulong
is a binary and source breaking change, but it can be fixed.XXX
can be replaced with .NET version, or some other versioningRequirements
Assembly
Language
Runtime
Cons
Beta Was this translation helpful? Give feedback.
All reactions