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