1 write to NameToken
Microsoft.CodeAnalysis.Features (1)
EmbeddedLanguages\Json\JsonNodes.cs (1)
243NameToken = nameToken;
9 references to NameToken
Microsoft.CodeAnalysis.Features (9)
EmbeddedLanguages\Json\JsonNodes.cs (1)
2570 => NameToken,
EmbeddedLanguages\Json\JsonParser.cs (1)
442nestedProperty.NameToken,
EmbeddedLanguages\Json\JsonParser.JsonNetSyntaxChecks.cs (3)
186=> node.NameToken.Kind != JsonKind.StringToken && !IsLegalPropertyNameText(node.NameToken) 187? new EmbeddedDiagnostic(FeaturesResources.Invalid_property_name, node.NameToken.GetSpan())
EmbeddedLanguages\Json\JsonParser.StrictSyntaxChecker.cs (3)
154if (node.NameToken.Kind != JsonKind.StringToken) 155return new EmbeddedDiagnostic(FeaturesResources.Property_name_must_be_a_string, node.NameToken.GetSpan()); 160return CheckString(node.NameToken, allowComments);
EmbeddedLanguages\Json\LanguageServices\JsonClassifier.cs (1)
145AddClassification(node.NameToken, ClassificationTypeNames.JsonPropertyName);