4 references to Trailing_comma_not_allowed
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (2)
EmbeddedLanguages\ValidateJsonStringTests.cs (2)
104FeaturesResources.Trailing_comma_not_allowed)); 129FeaturesResources.Trailing_comma_not_allowed));
Microsoft.CodeAnalysis.Features (2)
EmbeddedLanguages\Json\JsonParser.StrictSyntaxChecker.cs (2)
119return new EmbeddedDiagnostic(FeaturesResources.Trailing_comma_not_allowed, node.Sequence.NodesAndTokens[^1].Token.GetSpan()); 148return new EmbeddedDiagnostic(FeaturesResources.Trailing_comma_not_allowed, sequence[^1].GetSpan());