typeof(Member)
#8484
Unanswered
TonyValenti
asked this question in
Language Ideas
Replies: 2 comments 2 replies
-
I dont think this is feasible w/o new syntax as this can be ambigious with class named the same as member. Cant dot off of containing class either since nested classes are allowed in c# too |
Beta Was this translation helpful? Give feedback.
2 replies
-
Overloads would complicate attempting to get the type of any member method group. |
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.
-
Many attributes accept a type parameter.
Today, you have to specify a type directly.
It would be really nice if you could specify a member name as well.
For example:
Beta Was this translation helpful? Give feedback.
All reactions