typeof(Member)
#8484
Unanswered
TonyValenti
asked this question in
Language Ideas
Replies: 1 comment
-
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.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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