70 references to AddClassification
Microsoft.CodeAnalysis.CSharp.Workspaces (70)
Classification\Worker_DocumentationComments.cs (7)
133AddClassification(token, classificationType); 157AddClassification(token, ClassificationTypeNames.XmlDocCommentEntityReference); 165AddClassification(token, ClassificationTypeNames.XmlDocCommentText); 168AddClassification(token, ClassificationTypeNames.XmlDocCommentAttributeValue); 171AddClassification(token, ClassificationTypeNames.XmlDocCommentComment); 174AddClassification(token, ClassificationTypeNames.XmlDocCommentCDataSection); 177AddClassification(token, ClassificationTypeNames.XmlDocCommentProcessingInstruction);
Classification\Worker_Preprocesser.cs (63)
121AddClassification(literal.Token, ClassificationTypeNames.Keyword); 126AddClassification(identifier.Identifier, ClassificationTypeNames.Identifier); 131AddClassification(parenExpression.OpenParenToken, ClassificationTypeNames.Punctuation); 133AddClassification(parenExpression.CloseParenToken, ClassificationTypeNames.Punctuation); 138AddClassification(prefixExpression.OperatorToken, ClassificationTypeNames.Operator); 145AddClassification(binaryExpression.OperatorToken, ClassificationTypeNames.Operator); 152AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 153AddClassification(node.IfKeyword, ClassificationTypeNames.PreprocessorKeyword); 160AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 161AddClassification(node.ElifKeyword, ClassificationTypeNames.PreprocessorKeyword); 168AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 169AddClassification(node.ElseKeyword, ClassificationTypeNames.PreprocessorKeyword); 175AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 176AddClassification(node.EndIfKeyword, ClassificationTypeNames.PreprocessorKeyword); 182AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 183AddClassification(node.ErrorKeyword, ClassificationTypeNames.PreprocessorKeyword); 189AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 190AddClassification(node.WarningKeyword, ClassificationTypeNames.PreprocessorKeyword); 196AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 197AddClassification(node.RegionKeyword, ClassificationTypeNames.PreprocessorKeyword); 203AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 204AddClassification(node.EndRegionKeyword, ClassificationTypeNames.PreprocessorKeyword); 210AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 211AddClassification(node.DefineKeyword, ClassificationTypeNames.PreprocessorKeyword); 212AddClassification(node.Name, ClassificationTypeNames.Identifier); 218AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 219AddClassification(node.UndefKeyword, ClassificationTypeNames.PreprocessorKeyword); 220AddClassification(node.Name, ClassificationTypeNames.Identifier); 226AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 227AddClassification(node.Identifier, ClassificationTypeNames.PreprocessorKeyword); 233AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 234AddClassification(node.LineKeyword, ClassificationTypeNames.PreprocessorKeyword); 240AddClassification(node.Line, ClassificationTypeNames.PreprocessorKeyword); 243AddClassification(node.Line, ClassificationTypeNames.NumericLiteral); 253AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 254AddClassification(node.LineKeyword, ClassificationTypeNames.PreprocessorKeyword); 256AddClassification(node.MinusToken, ClassificationTypeNames.Operator); 267AddClassification(token, classification); 273AddClassification(node.OpenParenToken, ClassificationTypeNames.Punctuation); 274AddClassification(node.Line, ClassificationTypeNames.NumericLiteral); 275AddClassification(node.CommaToken, ClassificationTypeNames.Punctuation); 276AddClassification(node.Character, ClassificationTypeNames.NumericLiteral); 277AddClassification(node.CloseParenToken, ClassificationTypeNames.Punctuation); 282AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 283AddClassification(node.PragmaKeyword, ClassificationTypeNames.PreprocessorKeyword); 284AddClassification(node.ChecksumKeyword, ClassificationTypeNames.PreprocessorKeyword); 285AddClassification(node.File, ClassificationTypeNames.StringLiteral); 286AddClassification(node.Guid, ClassificationTypeNames.StringLiteral); 287AddClassification(node.Bytes, ClassificationTypeNames.StringLiteral); 293AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 294AddClassification(node.PragmaKeyword, ClassificationTypeNames.PreprocessorKeyword); 295AddClassification(node.WarningKeyword, ClassificationTypeNames.PreprocessorKeyword); 296AddClassification(node.DisableOrRestoreKeyword, ClassificationTypeNames.PreprocessorKeyword); 313AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 314AddClassification(node.ReferenceKeyword, ClassificationTypeNames.PreprocessorKeyword); 315AddClassification(node.File, ClassificationTypeNames.StringLiteral); 321AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 322AddClassification(node.LoadKeyword, ClassificationTypeNames.PreprocessorKeyword); 323AddClassification(node.File, ClassificationTypeNames.StringLiteral); 329AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 330AddClassification(node.NullableKeyword, ClassificationTypeNames.PreprocessorKeyword); 331AddClassification(node.SettingToken, ClassificationTypeNames.PreprocessorKeyword); 332AddClassification(node.TargetToken, ClassificationTypeNames.PreprocessorKeyword);