-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed
Labels
area-NativeAOT-coreclrhelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributors
Milestone
Description
EnvironmentStackTrace.StackTraceTest
test expects parameter names to show up. We don't print them even if we have them.
The original motivation was consistency - we don't necessarily have them.
But since then, IL Linker started removing parameter names for methods that are not demonstratable targets of reflection. This matches what we do. We can just start printing them if we have MethodDefinition metadata (and keep not printing them if we don't have it).
The fix will be in src\coreclr\nativeaot\System.Private.StackTraceMetadata\src\Internal\StackTraceMetadata\MethodNameFormatter.cs.
Metadata
Metadata
Assignees
Labels
area-NativeAOT-coreclrhelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributors