【发布时间】:2018-01-23 14:22:44
【问题描述】:
【问题讨论】:
-
考虑编辑你的标签...你的代码是 VB 而不是 C#
-
更近一步... GetType(Inherited(Of String)).GetField("field1") GetType(Inherited(Of String)).GetProperty("Prop1") 首先是OK 2。不是
-
是的,不一致是在反射
GetField/GetPropertyAPI 中,而不是在Expression代码中。 “修复”它的唯一方法是不使用它并自行更换。 -
请将您的代码发布为 text 而不是屏幕截图。目前很难阅读。理想情况下,提供minimal reproducible example。
标签: .net vb.net linq linq-expressions