3 references to Constructors_not_allowed
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (2)
EmbeddedLanguages\ValidateJsonStringTests.cs (2)
46diagnosticMessage: string.Format(FeaturesResources.JSON_issue_0, FeaturesResources.Constructors_not_allowed)); 62diagnosticMessage: string.Format(FeaturesResources.JSON_issue_0, FeaturesResources.Constructors_not_allowed));
Microsoft.CodeAnalysis.Features (1)
EmbeddedLanguages\Json\JsonParser.StrictSyntaxChecker.cs (1)
264=> new(FeaturesResources.Constructors_not_allowed, node.NewKeyword.GetSpan());