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

Do not treat text as json when passed to api that explicit says it is not #74019

Merged
merged 6 commits into from
Jun 18, 2024

Conversation

CyrusNajmabadi
Copy link
Member

@CyrusNajmabadi CyrusNajmabadi commented Jun 16, 2024

Fixes #74020

@@ -27,7 +29,7 @@
namespace Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.Classification;

[Trait(Traits.Feature, Traits.Features.Classification)]
public partial class SemanticClassifierTests : AbstractCSharpClassifierTests
public sealed partial class SemanticClassifierTests : AbstractCSharpClassifierTests
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like this forces the TestEmbeddedCSharpAsync protection to go public

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Roslyn JSON detection marks strings as JSON even if StringSyntaxAttribute says it's not.
3 participants