Commit eafe9cb
committed
Fixes for TypeRef of generic types
- Fix handler for CEE_CALL and CEE_CALVIRT: now checks if callee is a value type and skips resolving it.
- Add ownerType to CLR_RT_TypeSpec_CrossReference.
- Add new return parameter to FindMethodDef so assembly index is returned upon finding.
- Add new CLR_RT_MethodDef_Instance.InitializeFromIndex() taking a TypeSpec to deal with generic types.
- Add new CLR_RT_MethodDef_Instance.GetDeclaringType() helper to take advantage of pre-processed type.
- Rework CLR_RT_Assembly::FindTypeSpec() to handle generic types referenced in other assembly.
- Various fixes in build type and method names to deal with generic types referenced in other assembly.
- CLR_RT_Assembly::FindMethodDef() now returns assembly index of method upon succesfull finding.
- Fix CLR_RT_GenericParam_Instance::InitializeFromIndex() to deal with generic types referenced in other assembly.
- Fix CLR_RT_MethodDef_Instance::ResolveToken() to deal with generic types referenced in other assembly.
- CLR_RT_SignatureParser::Advance() now sets datatype for classes and value types.1 parent 8725065 commit eafe9cb
File tree
3 files changed
+255
-48
lines changed- src/CLR
- Core
- Include
3 files changed
+255
-48
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2157 | 2157 | | |
2158 | 2158 | | |
2159 | 2159 | | |
| 2160 | + | |
2160 | 2161 | | |
2161 | 2162 | | |
2162 | | - | |
| 2163 | + | |
| 2164 | + | |
| 2165 | + | |
| 2166 | + | |
| 2167 | + | |
| 2168 | + | |
| 2169 | + | |
2163 | 2170 | | |
2164 | | - | |
| 2171 | + | |
| 2172 | + | |
2165 | 2173 | | |
2166 | | - | |
| 2174 | + | |
2167 | 2175 | | |
2168 | | - | |
2169 | | - | |
2170 | | - | |
| 2176 | + | |
| 2177 | + | |
| 2178 | + | |
2171 | 2179 | | |
2172 | | - | |
| 2180 | + | |
| 2181 | + | |
| 2182 | + | |
| 2183 | + | |
| 2184 | + | |
2173 | 2185 | | |
2174 | | - | |
2175 | | - | |
2176 | | - | |
2177 | | - | |
2178 | | - | |
2179 | | - | |
2180 | | - | |
2181 | | - | |
2182 | | - | |
| 2186 | + | |
| 2187 | + | |
| 2188 | + | |
2183 | 2189 | | |
2184 | | - | |
| 2190 | + | |
| 2191 | + | |
| 2192 | + | |
| 2193 | + | |
| 2194 | + | |
| 2195 | + | |
| 2196 | + | |
| 2197 | + | |
| 2198 | + | |
| 2199 | + | |
| 2200 | + | |
| 2201 | + | |
| 2202 | + | |
| 2203 | + | |
| 2204 | + | |
| 2205 | + | |
2185 | 2206 | | |
2186 | | - | |
2187 | | - | |
| 2207 | + | |
| 2208 | + | |
| 2209 | + | |
| 2210 | + | |
2188 | 2211 | | |
2189 | | - | |
2190 | | - | |
| 2212 | + | |
| 2213 | + | |
2191 | 2214 | | |
2192 | 2215 | | |
2193 | | - | |
| 2216 | + | |
2194 | 2217 | | |
| 2218 | + | |
2195 | 2219 | | |
2196 | 2220 | | |
2197 | 2221 | | |
| |||
0 commit comments