Type Extension for Implicit Assignability Checking #94093
Unanswered
dotnetcadet
asked this question in
Ideas
Replies: 2 comments 1 reply
-
Implicit conversion is a concept of high level language (C#/VB/F#). There's no "implicit assignability" via conversion operator in IL/reflection. The operator need to be invoked explicitly. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Like
typeof(T).IsAssignableTo(Type type)
andtypeof(T).IsAssignableFrom(Type type)
, I was wondering if there would be any issues of adding the following extensions to the runtime?Example
Beta Was this translation helpful? Give feedback.
All reactions