dotnet/roslynator

RCS0056 and raw string still has an issue

prezaei opened this issue · 0 comments

Product and Version Used:

<PackageVersion Include="Roslynator.Analyzers" Version="4.12.5" />
<PackageVersion Include="Roslynator.Formatting.Analyzers" Version="4.12.5" />

Steps to Reproduce:

public sealed class SomeClass
{
    public static string SomeMethod()
    {
        const string a = "someText";
        var value = $$"""
            conversation_memory = [[{'author': 'user', 'text': 'hi i'm a human'}], [{'tool_invocation': 'search_web(query="what's in the news?")'}, {'author': 'assistant', 'text': 'hi i'm AI'}], [{'author': 'user', 'text': 'hi i'm a human, again!'}]]
            {{a}}
            """;
        return value;
    }
}
image

Actual Behavior:
Gives an error/warning

Expected Behavior:
No error or warning

AND THANK YOU