Commit 9d5c560
Prioritize property or field over the type / Fix find for static property or field (#357)
* When the type and property have the same name the parser takes the property instead of type
* Prioritize property or field over the type / Fix find for static property or field
* Update ExpressionParserTests.cs
Co-authored-by: Adriano Konzen <adriano.konzen@axxiom.com.br>1 parent 5cbde46 commit 9d5c560
File tree
3 files changed
+58
-7
lines changed- src/System.Linq.Dynamic.Core/Parser
- test/System.Linq.Dynamic.Core.Tests
- Parser
3 files changed
+58
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
981 | 981 | | |
982 | 982 | | |
983 | 983 | | |
984 | | - | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
985 | 987 | | |
986 | 988 | | |
987 | 989 | | |
| |||
1691 | 1693 | | |
1692 | 1694 | | |
1693 | 1695 | | |
1694 | | - | |
| 1696 | + | |
1695 | 1697 | | |
1696 | 1698 | | |
1697 | 1699 | | |
| |||
2028 | 2030 | | |
2029 | 2031 | | |
2030 | 2032 | | |
2031 | | - | |
| 2033 | + | |
2032 | 2034 | | |
2033 | 2035 | | |
2034 | 2036 | | |
2035 | 2037 | | |
2036 | 2038 | | |
2037 | 2039 | | |
2038 | | - | |
| 2040 | + | |
2039 | 2041 | | |
2040 | 2042 | | |
2041 | 2043 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
Lines changed: 52 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
3 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
4 | 9 | | |
5 | 10 | | |
6 | 11 | | |
| |||
110 | 115 | | |
111 | 116 | | |
112 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
113 | 163 | | |
114 | 164 | | |
0 commit comments