-
Notifications
You must be signed in to change notification settings - Fork 847
Closed
Labels
Area-Compiler-CodeGenIlxGen, ilwrite and things at the backendIlxGen, ilwrite and things at the backendBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.(Internal MS Team use only) Describes an issue with moderate impact on existing code.
Milestone
Description
Starting with .NET 7, some user defined functions get DebuggerNonUserCode attribute, which is not expected. Consider let functions in types:
type T() =
let f x = x + 1It gets the attribute despite being a user defined method:

This may affect analysis in tools like debugger and it actually breaks a part of analysis for us.
Can this change be reverted for user-defined compiled methods, please?
This issue has been extracted from #14858 (comment).
Metadata
Metadata
Assignees
Labels
Area-Compiler-CodeGenIlxGen, ilwrite and things at the backendIlxGen, ilwrite and things at the backendBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.(Internal MS Team use only) Describes an issue with moderate impact on existing code.
Type
Projects
Status
Done