Skip to content

Unescaping f# method names #4972

@nohwnd

Description

@nohwnd

Fancy f# method names with `` `` are escaping according to some rules, and to make managed name full compatible we need to fully unescape. #4969 fixes the most painful problem that prevents discovering completely. But in ideal case the CIL name should be fully unescaped so it can be found through reflection.


I have run a few manual tests and here are the characters that gets transformed (not exhaustive list):

  • \ escaped as \\
  • ' escaped as \'
  • " escaped as \"
  • @ escaped as @5

I will look at more cases now.

Originally posted by @Evangelink in #4969 (comment)

AB#2020980

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions