fix(managed): validate spec type operands and transitive reference scopes

This commit is contained in:
morluto committed 2026-10-13 20:19:52 +08:00
1 parent 9b76dd0cf9
commit e59217c834
3 files changed
+83 -20

No files matched your search

+5 -1
View File
@@ -96,7 +96,11 @@ assembly. Older member Evidence without `selection` remains readable.
`member_refs[].parent_name`, `call_edges[].target_declaring_type`, and
`field_accesses[].field_declaring_type` name the type that declares each
target. TypeDef and TypeRef names use the namespace-qualified `full_name`
target. Referenced spec signatures validate encoded type coordinates against
the metadata tables, including nested type arguments and custom modifiers.
TypeRef resolution scopes are checked transitively with cycle detection;
readable names survive malformed scopes as partial evidence.
TypeDef and TypeRef names use the namespace-qualified `full_name`
form, and nested types keep bare names. A generic-instantiation TypeSpec
parent names its generic type, such as ``System.Collections.Generic.List`1``.
Other well-formed TypeSpec forms and ModuleRef or MethodDef parents stay