Skip to content

C# parser reads "$" as "Interpolated string expression" which is not correct #9845

@Khaos66

Description

@Khaos66

Describe the bug
With this C# code the method is not recognized correctly

namespace Sample.NS
{
    public class MyClass
    {
        Regex pattern = new(@".$");

        public void Fu() { }
    }
}

Expected behavior
In readme.md I need to use @ref Sample.NS.MyClass.Fu as a reference

To Reproduce
DoxygenSample.zip
In this sample the method before the ".$" string is recognized, but the second method after it is not.

Version
doxygen 1.9.6 has this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions