-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Labels
area-Tools-ILLink.NET linker development as well as trimming analyzers.NET linker development as well as trimming analyzersin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is merged
Milestone
Description
For example:
// Should produce warning because we should be able to parse the type name, resolve it
// and find the method with RUC and thus issue a warning due to potential access to that method.
Type.GetType("TypeWithRUCMethod").GetMethods();
This is also happening in places with annotated string values.
There's a TODO in the code about this:
Lines 26 to 30 in 2096625
// TODO: Implement type name resolution to type symbol | |
// Important corner cases: | |
// IL2105 (see it's occurences in the tests) - non-assembly qualified type name which doesn't resolve warns | |
// - will need to figure out what analyzer should do around this. |
Metadata
Metadata
Assignees
Labels
area-Tools-ILLink.NET linker development as well as trimming analyzers.NET linker development as well as trimming analyzersin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is merged
Type
Projects
Status
No status