Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RCS0056 and raw string still has an issue #1519

Closed
prezaei opened this issue Sep 14, 2024 · 0 comments · Fixed by #1521
Closed

RCS0056 and raw string still has an issue #1519

prezaei opened this issue Sep 14, 2024 · 0 comments · Fixed by #1521

Comments

@prezaei
Copy link

prezaei commented Sep 14, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant