1452 references to Keyword
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1448)
Classification\SemanticClassifierTests.cs (88)
67
Classifications(
Keyword
("var"), Local("i")));
90
Classifications(Class("Class"),
Keyword
("dynamic")));
292
Keyword
("dynamic"));
1002
Keyword
("var"),
1023
Keyword
("var"),
1045
Keyword
("var"),
1267
Keyword
("var"),
1400
Keyword
("var"),
1402
Keyword
("var"),
2206
Keyword
("var"));
2235
Keyword
("var"));
2253
Keyword
("var"));
2371
Keyword
("var"),
2374
Keyword
("var"),
2395
Keyword
("var"),
2427
Keyword
("from"));
2441
Keyword
("var"),
2443
Keyword
("from"));
2462
Keyword
("var"),
2476
Keyword
("var"),
2477
Keyword
("var"),
2493
Keyword
("var"),
2494
Keyword
("var"),
2626
Keyword
("var"),
2627
Keyword
("nameof"));
2644
Keyword
("var"),
2645
Keyword
("nameof"),
2675
Keyword
("var"),
2676
Keyword
("nameof"),
2699
Keyword
("var"),
2729
Keyword
("var"), Local("a"), Local("a"));
2854
Keyword
("var"),
2868
Keyword
("var"),
2879
Keyword
("unmanaged"));
2891
Keyword
("unmanaged"));
2907
Keyword
("unmanaged"));
2921
Keyword
("unmanaged"));
2936
Keyword
("unmanaged"));
2955
Keyword
("unmanaged"));
2965
Keyword
("unmanaged"));
2977
Keyword
("unmanaged"));
2993
Keyword
("unmanaged"));
3010
Keyword
("unmanaged"));
3028
Keyword
("unmanaged"));
3050
Keyword
("unmanaged"));
3066
Keyword
("var"),
3093
Keyword
("var"),
3094
Keyword
("var"),
3126
Keyword
("var"),
3127
Keyword
("var"),
3157
Keyword
("var"),
3159
Keyword
("var"),
3190
Keyword
("var"),
3191
Keyword
("var"),
3224
Keyword
("var"),
3235
Keyword
("notnull"));
3247
Keyword
("notnull"));
3263
Keyword
("notnull"));
3277
Keyword
("notnull"));
3292
Keyword
("notnull"));
3311
Keyword
("notnull"));
3321
Keyword
("notnull"));
3333
Keyword
("notnull"));
3349
Keyword
("notnull"));
3366
Keyword
("notnull"));
3384
Keyword
("notnull"));
3406
Keyword
("notnull"));
3422
Keyword
("var"),
3455
Keyword
("_"),
3475
Keyword
("var"),
3476
Keyword
("_"));
3494
Keyword
("_"));
3510
Keyword
("_"));
3526
Keyword
("_"));
3543
Keyword
("_"));
3566
Keyword
("_"));
3586
Keyword
("_"));
3639
Keyword
("_"),
3640
Keyword
("_"));
3658
Keyword
("_"),
3659
Keyword
("_"));
3668
Classifications(
Keyword
("nint"),
Keyword
("nuint")));
3727
Keyword
("_"),
3728
Keyword
("nameof"),
3756
Keyword
("_"),
3757
Keyword
("nameof"),
3868
Keyword
("var"),
Classification\SemanticClassifierTests_Json.cs (9)
32
Keyword
("var"),
79
Keyword
("var"),
116
Keyword
("var"),
166
Keyword
("var"));
183
Keyword
("var"),
244
Keyword
("var"),
355
Keyword
("var"),
422
Keyword
("var"),
491
Keyword
("var"),
Classification\SemanticClassifierTests_Regex.cs (19)
35
Keyword
("var"),
119
Keyword
("var"),
200
Keyword
("var"),
283
Keyword
("var"),
308
Keyword
("var"),
333
Keyword
("var"),
358
Keyword
("var"),
383
Keyword
("var"),
409
Keyword
("var"),
435
Keyword
("var"),
461
Keyword
("var"),
490
Keyword
("var"),
518
Keyword
("var"),
572
Keyword
("var"),
597
Keyword
("var"),
624
Keyword
("var"),
651
Keyword
("var"),
1247
Keyword
("var"),
1313
Keyword
("var"));
Classification\SemanticClassifierTests_StringEscapes.cs (36)
20
Keyword
("var"),
30
Keyword
("var"),
40
Keyword
("var"));
48
Keyword
("var"));
56
Keyword
("var"),
66
Keyword
("var"),
76
Keyword
("var"),
86
Keyword
("var"),
96
Keyword
("var"),
108
Keyword
("var"),
120
Keyword
("var"),
130
Keyword
("var"),
140
Keyword
("var"),
150
Keyword
("var"),
160
Keyword
("var"),
170
Keyword
("var"),
180
Keyword
("var"),
190
Keyword
("var"),
200
Keyword
("var"));
208
Keyword
("var"));
220
Keyword
("var"));
232
Keyword
("var"));
244
Keyword
("var"));
256
Keyword
("var"));
264
Keyword
("var"));
272
Keyword
("var"));
284
Keyword
("var"));
296
Keyword
("var"));
308
Keyword
("var"));
320
Keyword
("var"));
329
Keyword
("var"),
339
Keyword
("var"),
349
Keyword
("var"),
359
Keyword
("var"));
368
Keyword
("var"),
384
Keyword
("var"));
Classification\SemanticClassifierTests_TestMarkup.cs (18)
123
var expected = ImmutableArray.Create(
Keyword
("class"),
128
Keyword
("class"),
145
Keyword
("class"),
162
Keyword
("class"),
180
Keyword
("cla"),
182
Keyword
("ss"),
199
Keyword
("class"),
225
Keyword
("class"),
251
Keyword
("class"),
276
Keyword
("class"),
301
Keyword
("class"),
326
Keyword
("class"),
351
Keyword
("class"),
380
Keyword
("class"),
411
Keyword
("class"),
418
Keyword
("string"),
441
Keyword
("class"),
446
Keyword
("string"),
Classification\SyntacticClassifierTests.cs (773)
39
Keyword
("class"),
57
Keyword
("namespace"),
72
Keyword
("namespace"),
82
Keyword
("var"),
93
Keyword
("var"));
110
Keyword
("var"),
117
Keyword
("as"),
135
Keyword
("class"),
138
Keyword
("void"),
166
Keyword
("using"),
173
Keyword
("class"),
187
Keyword
("new"),
220
Keyword
("new"),
252
Keyword
("this"),
262
Keyword
("fixed"),
264
Keyword
("int"),
291
Keyword
("using"),
298
Keyword
("class"),
301
Keyword
("async"),
321
Keyword
("public"),
322
Keyword
("partial"),
323
Keyword
("class"),
337
Keyword
("public"),
338
Keyword
("partial"),
339
Keyword
("void"),
382
Keyword
("partial"),
383
Keyword
("class"),
387
Keyword
("partial"),
388
Keyword
("struct"),
392
Keyword
("partial"),
393
Keyword
("interface"),
436
Keyword
("u8"));
447
Keyword
("U8"));
543
Keyword
("u8"),
566
Keyword
("U8"),
584
Keyword
("string"),
605
Keyword
("string"),
611
Keyword
("u8"),
627
Keyword
("string"),
633
Keyword
("u8"),
659
Keyword
("u8"));
672
Keyword
("U8"));
697
Keyword
("u8"));
710
Keyword
("U8"));
728
Keyword
("from"),
730
Keyword
("in"),
740
Keyword
("from"),
742
Keyword
("in"),
757
Keyword
("from"),
759
Keyword
("in"));
768
Keyword
("from"),
770
Keyword
("in"));
779
Keyword
("from"),
781
Keyword
("in"),
783
Keyword
("where"),
797
Keyword
("from"),
799
Keyword
("in"),
801
Keyword
("where"),
821
script ? Identifier("var") :
Keyword
("var"),
850
Keyword
("object"),
853
Keyword
("from"),
855
Keyword
("in"),
857
Keyword
("join"),
859
Keyword
("in"),
861
Keyword
("on"),
863
Keyword
("equals"),
865
Keyword
("group"),
867
Keyword
("by"),
869
Keyword
("into"),
871
Keyword
("let"),
875
Keyword
("where"),
877
Keyword
("orderby"),
879
Keyword
("ascending"),
882
Keyword
("descending"),
883
Keyword
("select"),
899
Keyword
("class"),
902
Keyword
("int"),
943
Keyword
("class"),
946
Keyword
("int"),
949
Keyword
("from"),
951
Keyword
("in"),
953
Keyword
("join"),
955
Keyword
("in"),
957
Keyword
("on"),
959
Keyword
("equals"),
961
Keyword
("group"),
963
Keyword
("by"),
965
Keyword
("into"),
967
Keyword
("let"),
971
Keyword
("where"),
973
Keyword
("orderby"),
975
Keyword
("ascending"),
978
Keyword
("descending"),
979
Keyword
("select"),
1044
Keyword
("class"),
1048
Keyword
("struct"),
1052
Keyword
("interface"),
1056
Keyword
("enum"),
1060
Keyword
("delegate"),
1064
Keyword
("class"),
1068
Keyword
("class"),
1072
Keyword
("class"),
1076
Keyword
("class"),
1080
Keyword
("class"),
1084
Keyword
("class"),
1088
Keyword
("class"),
1092
Keyword
("class"),
1096
Keyword
("class"),
1115
Keyword
("class"),
1193
Keyword
("class"),
1196
Keyword
("void"),
1201
Keyword
("var"),
1208
Keyword
("as"),
1218
Keyword
("as"),
1228
Keyword
("as"),
1238
Keyword
("as"),
1248
Keyword
("as"),
1258
Keyword
("as"),
1268
Keyword
("as"),
1278
Keyword
("as"),
1288
Keyword
("as"),
1298
Keyword
("as"),
1308
Keyword
("as"),
1318
Keyword
("as"),
1336
Keyword
("class"),
1339
Keyword
("int"),
1383
Keyword
("class"),
1386
Keyword
("string"),
1391
Keyword
("in"),
1395
Keyword
("in"),
1442
Keyword
("class"),
1460
Keyword
("class"),
1464
Keyword
("void"),
1560
Keyword
("class"),
1563
Keyword
("void"),
1586
Keyword
("class"),
1600
Keyword
("int"),
1627
Keyword
("class"),
1657
Keyword
("class"),
1682
Keyword
("class"),
1709
Keyword
("class"),
1746
Keyword
("class"),
1776
Keyword
("class"),
1804
Keyword
("class"),
1825
Keyword
("class"),
1860
Keyword
("class"),
1890
Keyword
("class"),
1920
Keyword
("class"),
1940
Keyword
("class"),
1963
Keyword
("class"),
1989
Keyword
("class"),
2025
Keyword
("class"),
2054
Keyword
("class"),
2077
Keyword
("class"),
2111
Keyword
("public"),
2112
Keyword
("class"),
2115
Keyword
("static"),
2116
Keyword
("void"),
2133
Keyword
("class"),
2136
Keyword
("int"),
2149
Keyword
("class"),
2167
Keyword
("class"),
2179
Keyword
("class"),
2191
Keyword
("struct"),
2203
Keyword
("interface"),
2215
Keyword
("enum"),
2228
Keyword
("enum"),
2247
Keyword
("delegate"),
2248
Keyword
("void"),
2263
Keyword
("default"),
2275
Keyword
("class"),
2290
Keyword
("class"),
2307
Keyword
("interface"),
2322
Keyword
("struct"),
2337
Keyword
("delegate"),
2338
Keyword
("void"),
2369
Keyword
("default"),
2382
Keyword
("true"),
2399
Keyword
("class"),
2423
Keyword
("assembly"),
2439
Keyword
("class"),
2444
Keyword
("where"),
2473
Keyword
("int"),
2484
Keyword
("from"),
2486
Keyword
("in"),
2496
Keyword
("int"),
2508
Keyword
("module"),
2521
Keyword
("assembly"),
2538
Keyword
("type"),
2543
Keyword
("return"),
2547
Keyword
("delegate"),
2548
Keyword
("void"),
2568
Keyword
("return"),
2573
Keyword
("method"),
2577
Keyword
("void"),
2599
Keyword
("class"),
2603
Keyword
("method"),
2629
Keyword
("class"),
2633
Keyword
("method"),
2659
Keyword
("method"),
2664
Keyword
("return"),
2668
Keyword
("static"),
2670
Keyword
("operator"),
2706
Keyword
("event"),
2710
Keyword
("event"),
2715
Keyword
("param"),
2720
Keyword
("method"),
2724
Keyword
("add"),
2728
Keyword
("param"),
2733
Keyword
("method"),
2737
Keyword
("remove"),
2764
Keyword
("int"),
2768
Keyword
("return"),
2773
Keyword
("method"),
2777
Keyword
("get"),
2781
Keyword
("param"),
2786
Keyword
("method"),
2790
Keyword
("set"),
2806
Keyword
("property"),
2810
Keyword
("int"),
2811
Keyword
("this"),
2813
Keyword
("int"),
2817
Keyword
("get"),
2819
Keyword
("set"),
2845
Keyword
("int"),
2846
Keyword
("this"),
2848
Keyword
("int"),
2853
Keyword
("return"),
2858
Keyword
("method"),
2862
Keyword
("get"),
2866
Keyword
("param"),
2871
Keyword
("method"),
2875
Keyword
("set"),
2891
Keyword
("field"),
2895
Keyword
("const"),
2896
Keyword
("int"),
3095
Keyword
("using"),
3101
Keyword
("namespace"),
3104
Keyword
("abstract"),
3105
Keyword
("class"),
3110
Keyword
("bool"),
3113
Keyword
("default"),
3115
Keyword
("bool"),
3118
Keyword
("byte"),
3121
Keyword
("char"),
3124
Keyword
("const"),
3125
Keyword
("int"),
3131
Keyword
("decimal"),
3134
Keyword
("delegate"),
3135
Keyword
("void"),
3140
Keyword
("delegate"),
3142
Keyword
("managed"),
3144
Keyword
("int"),
3146
Keyword
("int"),
3150
Keyword
("delegate"),
3152
Keyword
("unmanaged"),
3154
Keyword
("int"),
3156
Keyword
("int"),
3160
Keyword
("double"),
3163
Keyword
("enum"),
3173
Keyword
("event"),
3177
Keyword
("float"),
3180
Keyword
("static"),
3181
Keyword
("int"),
3185
Keyword
("long"),
3188
Keyword
("sbyte"),
3191
Keyword
("short"),
3194
Keyword
("int"),
3197
Keyword
("sizeof"),
3199
Keyword
("int"),
3202
Keyword
("string"),
3205
Keyword
("uint"),
3208
Keyword
("ulong"),
3211
Keyword
("volatile"),
3212
Keyword
("ushort"),
3215
Keyword
("struct"),
3219
Keyword
("protected"),
3220
Keyword
("virtual"),
3221
Keyword
("void"),
3227
Keyword
("public"),
3230
Keyword
("int"),
3234
Keyword
("bool"),
3238
Keyword
("is"),
3239
Keyword
("int"),
3245
Keyword
("true"),
3259
Keyword
("true"),
3280
Keyword
("checked"),
3282
Keyword
("int"),
3296
Keyword
("true"),
3301
Keyword
("false"),
3308
Keyword
("unsafe"),
3310
Keyword
("fixed"),
3312
Keyword
("int"),
3321
Keyword
("char"),
3325
Keyword
("stackalloc"),
3326
Keyword
("char"),
3334
Keyword
("int"),
3355
Keyword
("new"),
3366
Keyword
("object"),
3372
Keyword
("object"),
3378
Keyword
("lock"),
3380
Keyword
("this"),
3391
Keyword
("out"),
3392
Keyword
("int"),
3402
Keyword
("as"),
3406
Keyword
("public"),
3407
Keyword
("static"),
3408
Keyword
("explicit"),
3409
Keyword
("operator"),
3412
Keyword
("int"),
3417
Keyword
("new"),
3424
Keyword
("public"),
3425
Keyword
("static"),
3426
Keyword
("implicit"),
3427
Keyword
("operator"),
3430
Keyword
("double"),
3435
Keyword
("new"),
3442
Keyword
("public"),
3443
Keyword
("extern"),
3444
Keyword
("void"),
3449
Keyword
("internal"),
3450
Keyword
("void"),
3453
Keyword
("object"),
3461
Keyword
("null"),
3469
Keyword
("is"),
3476
Keyword
("new"),
3496
Keyword
("sealed"),
3497
Keyword
("class"),
3502
Keyword
("readonly"),
3503
Keyword
("int"),
3506
Keyword
("public"),
3509
Keyword
("int"),
3513
Keyword
("base"),
3519
Keyword
("public"),
3520
Keyword
("void"),
3523
Keyword
("ref"),
3524
Keyword
("int"),
3533
Keyword
("int"),
3540
Keyword
("ref"),
3543
Keyword
("typeof"),
3545
Keyword
("int"),
3550
Keyword
("protected"),
3551
Keyword
("override"),
3552
Keyword
("void"),
3557
Keyword
("unchecked"),
3559
Keyword
("int"),
3569
Keyword
("private"),
3570
Keyword
("void"),
3573
Keyword
("params"),
3574
Keyword
("object"),
3581
Keyword
("private"),
3582
Keyword
("string"),
3585
Keyword
("object"),
3592
Keyword
("int"),
3594
Keyword
("string"),
3598
Keyword
("_"),
3600
Keyword
("true"),
3603
Keyword
("new"),
3612
Keyword
("interface"),
3683
Keyword
("using"),
3690
Keyword
("public"),
3691
Keyword
("class"),
3697
Keyword
("public"),
3698
Keyword
("void"),
3703
Keyword
("int"),
3708
Keyword
("new"),
3709
Keyword
("int"),
3714
Keyword
("int"),
3731
Keyword
("int"),
3745
Keyword
("new"),
3748
Keyword
("int"),
3779
Keyword
("bool"),
3782
Keyword
("true"),
3784
Keyword
("false"),
3786
Keyword
("true"),
3788
Keyword
("false"),
3810
Keyword
("int"),
3816
Keyword
("int"),
3819
Keyword
("true"),
3833
Keyword
("true"),
3835
Keyword
("false"),
3837
Keyword
("true"),
3917
Keyword
("object"),
3929
Keyword
("unsafe"),
3950
Keyword
("null"),
3979
Keyword
("partial"),
3980
Keyword
("class"),
3983
Keyword
("partial"),
3984
Keyword
("void"),
3987
Keyword
("string"),
3991
Keyword
("partial"),
3992
Keyword
("void"),
3995
Keyword
("string"),
4000
Keyword
("partial"),
4001
Keyword
("int"),
4006
Keyword
("partial"),
4007
Keyword
("int"),
4013
Keyword
("public"),
4014
Keyword
("partial"),
4015
Keyword
("void"),
4017
Keyword
("void"),
4038
Keyword
("class"),
4041
Keyword
("int"),
4044
Keyword
("set"),
4046
Keyword
("var"),
4049
Keyword
("new"),
4080
Keyword
("class"),
4083
Keyword
("int"),
4086
Keyword
("set"),
4117
Keyword
("using"),
4120
Keyword
("static"),
4121
Keyword
("class"),
4125
Keyword
("static"),
4126
Keyword
("void"),
4132
Keyword
("var"),
4139
Keyword
("class"),
4172
Keyword
("using"),
4175
Keyword
("class"),
4178
Keyword
("private"),
4179
Keyword
("class"),
4184
Keyword
("class"),
4189
Keyword
("static"),
4190
Keyword
("void"),
4196
Keyword
("var"),
4220
Keyword
("class"),
4223
Keyword
("static"),
4224
Keyword
("void"),
4228
Keyword
("string"),
4268
Keyword
("class"),
4271
Keyword
("class"),
4278
Keyword
("static"),
4281
Keyword
("int"),
4289
Keyword
("null"),
4292
Keyword
("static"),
4293
Keyword
("void"),
4299
Keyword
("var"),
4306
Keyword
("var"),
4309
Keyword
("new"),
4312
Keyword
("int"),
4338
Keyword
("class"),
4341
Keyword
("void"),
4344
Keyword
("string"),
4374
Keyword
("var"),
4381
Keyword
("var"),
4409
Keyword
("var"),
4416
Keyword
("var"),
4423
Keyword
("var"),
4454
Keyword
("var"),
4461
Keyword
("var"),
4468
Keyword
("var"),
4508
Keyword
("true"),
4540
Keyword
("true"),
4557
Keyword
("out"),
4607
Keyword
("void"),
4612
Keyword
("var"),
4615
Keyword
("await"),
4631
Keyword
("void"),
4636
Keyword
("var"),
4651
Keyword
("int"),
4653
Keyword
("string"),
4665
Keyword
("int"),
4668
Keyword
("string"),
4680
Keyword
("var"),
4696
Keyword
("var"),
4725
Keyword
("class"),
4729
Keyword
("public"),
4730
Keyword
("void"),
4736
Keyword
("public"),
4737
Keyword
("void"),
4763
Keyword
("class"),
4767
Keyword
("public"),
4768
Keyword
("void"),
4774
Keyword
("int"),
4778
Keyword
("public"),
4779
Keyword
("void"),
4797
Keyword
("var"),
4813
Keyword
("class"),
4818
Keyword
("where"),
4821
Keyword
("unmanaged"),
4835
Keyword
("interface"),
4839
Keyword
("class"),
4844
Keyword
("where"),
4847
Keyword
("unmanaged"),
4864
Keyword
("namespace"),
4867
Keyword
("interface"),
4872
Keyword
("class"),
4877
Keyword
("where"),
4880
Keyword
("unmanaged"),
4896
Keyword
("class"),
4899
Keyword
("void"),
4906
Keyword
("where"),
4909
Keyword
("unmanaged"),
4927
Keyword
("interface"),
4931
Keyword
("class"),
4934
Keyword
("void"),
4941
Keyword
("where"),
4944
Keyword
("unmanaged"),
4965
Keyword
("namespace"),
4968
Keyword
("interface"),
4973
Keyword
("class"),
4976
Keyword
("void"),
4983
Keyword
("where"),
4986
Keyword
("unmanaged"),
4998
Keyword
("delegate"),
4999
Keyword
("void"),
5006
Keyword
("where"),
5009
Keyword
("unmanaged"),
5022
Keyword
("interface"),
5026
Keyword
("delegate"),
5027
Keyword
("void"),
5034
Keyword
("where"),
5037
Keyword
("unmanaged"),
5053
Keyword
("namespace"),
5056
Keyword
("interface"),
5061
Keyword
("delegate"),
5062
Keyword
("void"),
5069
Keyword
("where"),
5072
Keyword
("unmanaged"),
5090
Keyword
("class"),
5093
Keyword
("void"),
5098
Keyword
("void"),
5105
Keyword
("where"),
5108
Keyword
("unmanaged"),
5130
Keyword
("interface"),
5134
Keyword
("class"),
5137
Keyword
("void"),
5142
Keyword
("void"),
5149
Keyword
("where"),
5152
Keyword
("unmanaged"),
5177
Keyword
("namespace"),
5180
Keyword
("interface"),
5185
Keyword
("class"),
5188
Keyword
("void"),
5193
Keyword
("void"),
5200
Keyword
("where"),
5203
Keyword
("unmanaged"),
5222
Keyword
("object"),
5228
Keyword
("is"),
5250
Keyword
("object"),
5259
Keyword
("int"),
5275
Keyword
("int"),
5307
Keyword
("new"),
5308
Keyword
("int"),
5328
Keyword
("var"),
5355
Keyword
("var"),
5359
Keyword
("var"),
5380
Keyword
("is"),
5381
Keyword
("var"),
5394
Keyword
("public"),
5396
Keyword
("int"),
5399
Keyword
("int"),
5406
Keyword
("null"),
5422
Keyword
("int"),
5430
Keyword
("out"),
5431
Keyword
("int"),
5448
Keyword
("int"),
5451
Keyword
("int"),
5459
Keyword
("out"),
5460
Keyword
("int"),
5478
Keyword
("using"),
5494
Keyword
("using"),
5510
Keyword
("using"),
5526
Keyword
("using"),
5527
Keyword
("static"),
5553
Keyword
("new"),
5597
Keyword
("var"),
5613
Keyword
("class"),
5618
Keyword
("where"),
5621
Keyword
("notnull"),
5635
Keyword
("interface"),
5639
Keyword
("class"),
5644
Keyword
("where"),
5647
Keyword
("notnull"),
5664
Keyword
("namespace"),
5667
Keyword
("interface"),
5672
Keyword
("class"),
5677
Keyword
("where"),
5680
Keyword
("notnull"),
5696
Keyword
("class"),
5699
Keyword
("void"),
5706
Keyword
("where"),
5709
Keyword
("notnull"),
5727
Keyword
("interface"),
5731
Keyword
("class"),
5734
Keyword
("void"),
5741
Keyword
("where"),
5744
Keyword
("notnull"),
5765
Keyword
("namespace"),
5768
Keyword
("interface"),
5773
Keyword
("class"),
5776
Keyword
("void"),
5783
Keyword
("where"),
5786
Keyword
("notnull"),
5798
Keyword
("delegate"),
5799
Keyword
("void"),
5806
Keyword
("where"),
5809
Keyword
("notnull"),
5822
Keyword
("interface"),
5826
Keyword
("delegate"),
5827
Keyword
("void"),
5834
Keyword
("where"),
5837
Keyword
("notnull"),
5853
Keyword
("namespace"),
5856
Keyword
("interface"),
5861
Keyword
("delegate"),
5862
Keyword
("void"),
5869
Keyword
("where"),
5872
Keyword
("notnull"),
5890
Keyword
("class"),
5893
Keyword
("void"),
5898
Keyword
("void"),
5905
Keyword
("where"),
5908
Keyword
("notnull"),
5930
Keyword
("interface"),
5934
Keyword
("class"),
5937
Keyword
("void"),
5942
Keyword
("void"),
5949
Keyword
("where"),
5952
Keyword
("notnull"),
5977
Keyword
("namespace"),
5980
Keyword
("interface"),
5985
Keyword
("class"),
5988
Keyword
("void"),
5993
Keyword
("void"),
6000
Keyword
("where"),
6003
Keyword
("notnull"),
6024
Keyword
("class"),
6027
Keyword
("delegate"),
6029
Keyword
("unmanaged"),
6036
Keyword
("int"),
6038
Keyword
("int"),
6119
Keyword
("class"),
6122
Keyword
("public"),
6123
Keyword
("static"),
6124
Keyword
("void"),
6130
Keyword
("static"),
6131
Keyword
("void"),
6159
Keyword
("class"),
6162
Keyword
("public"),
6163
Keyword
("static"),
6164
Keyword
("void"),
6170
Keyword
("const"),
6171
Keyword
("int"),
6197
Keyword
("class"),
6200
Keyword
("public"),
6201
Keyword
("static"),
6202
Keyword
("void"),
6206
Keyword
("int"),
6210
Keyword
("var"),
6237
Keyword
("class"),
6240
Keyword
("public"),
6241
Keyword
("static"),
6242
Keyword
("void"),
6246
Keyword
("int"),
6250
Keyword
("var"),
6256
Keyword
("u8"),
6278
Keyword
("class"),
6281
Keyword
("public"),
6282
Keyword
("static"),
6283
Keyword
("void"),
6287
Keyword
("int"),
6291
Keyword
("var"),
6297
Keyword
("U8"),
6321
Keyword
("class"),
6324
Keyword
("public"),
6325
Keyword
("static"),
6326
Keyword
("void"),
6330
Keyword
("int"),
6334
Keyword
("var"),
6365
Keyword
("class"),
6368
Keyword
("public"),
6369
Keyword
("static"),
6370
Keyword
("void"),
6374
Keyword
("int"),
6378
Keyword
("var"),
6386
Keyword
("u8"),
6410
Keyword
("class"),
6413
Keyword
("public"),
6414
Keyword
("static"),
6415
Keyword
("void"),
6419
Keyword
("int"),
6423
Keyword
("var"),
6431
Keyword
("U8"),
6453
Keyword
("class"),
6456
Keyword
("public"),
6457
Keyword
("static"),
6458
Keyword
("void"),
6462
Keyword
("int"),
6466
Keyword
("var"),
6499
Keyword
("class"),
6502
Keyword
("public"),
6503
Keyword
("static"),
6504
Keyword
("void"),
6508
Keyword
("int"),
6512
Keyword
("var"),
6545
Keyword
("class"),
6548
Keyword
("public"),
6549
Keyword
("static"),
6550
Keyword
("void"),
6554
Keyword
("int"),
6558
Keyword
("var"),
6588
Keyword
("static"),
6590
Keyword
("operator"),
6591
Keyword
("checked"),
6612
Keyword
("static"),
6614
Keyword
("operator"),
6615
Keyword
("checked"),
6639
Keyword
("static"),
6640
Keyword
("explicit"),
6641
Keyword
("operator"),
6642
Keyword
("checked"),
6663
Keyword
("static"),
6667
Keyword
("operator"),
6668
Keyword
("checked"),
6689
Keyword
("static"),
6693
Keyword
("operator"),
6694
Keyword
("checked"),
6718
Keyword
("static"),
6719
Keyword
("explicit"),
6722
Keyword
("operator"),
6723
Keyword
("checked"),
6744
Keyword
("static"),
6746
Keyword
("operator"),
6752
Keyword
("int"),
6770
Keyword
("static"),
6774
Keyword
("operator"),
6775
Keyword
("checked"),
6801
Keyword
("class"),
6804
Keyword
("void"),
6807
Keyword
("string"),
6861
Keyword
("void"),
6867
Keyword
("static"),
6868
Keyword
("void"),
6882
Keyword
("interface"),
6885
Keyword
("void"),
6888
Keyword
("scoped"),
6901
Keyword
("scoped"),
6916
Keyword
("out"),
6917
Keyword
("scoped"),
6942
Keyword
("using"),
6945
Keyword
("class"),
6948
Keyword
("void"),
6953
Keyword
("const"),
6954
Keyword
("int"),
6960
Keyword
("const"),
6961
Keyword
("int"),
6967
Keyword
("var"),
6971
Keyword
("int"),
7000
Keyword
("class"),
7003
Keyword
("void"),
7008
Keyword
("var"),
7012
Keyword
("string"),
7031
Keyword
("var"),
7035
Keyword
("params"),
7036
Keyword
("int"),
7053
Keyword
("var"),
7057
Keyword
("int"),
7060
Keyword
("int"),
7065
Keyword
("params"),
7066
Keyword
("int"),
7071
Keyword
("params"),
7072
Keyword
("int"),
7091
Keyword
("class"),
7096
Keyword
("where"),
7099
Keyword
("allows"),
7100
Keyword
("ref"),
7101
Keyword
("struct"),
7112
Keyword
("class"),
7115
Keyword
("void"),
7122
Keyword
("where"),
7125
Keyword
("allows"),
7126
Keyword
("ref"),
7127
Keyword
("struct"),
Classification\SyntacticClassifierTests_Preprocessor.cs (20)
29
Keyword
("true"),
46
Keyword
("true"),
64
Keyword
("false"),
99
Keyword
("true"),
117
Keyword
("false"),
153
Keyword
("true"),
172
Keyword
("false"),
681
Keyword
("true"),
1301
Keyword
("true"),
1304
Keyword
("false"),
1318
expected: Classifications(Identifier("M2"), Punctuation.OpenParen,
Keyword
("out"), Identifier("var"),
1319
Keyword
("_"), Punctuation.CloseParen, Punctuation.Semicolon));
1329
Punctuation.OpenCurly, ControlKeyword("case"),
Keyword
("int"),
Keyword
("_"), Punctuation.Colon, Punctuation.CloseCurly));
1339
Keyword
("_"), Punctuation.CloseParen, Operators.Equals, Punctuation.OpenParen, Number("1"),
1349
expected: Classifications(Punctuation.OpenParen, Identifier("var"),
Keyword
("_"), Punctuation.Comma,
1350
Identifier("var"),
Keyword
("_"), Punctuation.CloseParen, Operators.Equals, Punctuation.OpenParen,
1360
expected: Classifications(
Keyword
("int"), Local("x"), Punctuation.Semicolon, Punctuation.OpenParen,
1372
expected: Classifications(Identifier("M2"), Punctuation.OpenParen,
Keyword
("out"), Identifier("_"), Punctuation.CloseParen,
1410
expected: Classifications(
Keyword
("int"), Local("_"), Punctuation.Semicolon, Identifier("_"), Operators.Equals,
Classification\TotalClassifierTests.cs (357)
46
Keyword
("using"),
89
Keyword
("using"),
105
Keyword
("using"),
120
Keyword
("using"),
135
Keyword
("using"),
150
Keyword
("using"),
172
Keyword
("class"),
196
Keyword
("record"),
197
Keyword
("class"),
221
Keyword
("record"),
222
Keyword
("struct"),
227
Keyword
("int"),
241
Keyword
("using"),
244
Keyword
("global"),
266
Keyword
("partial"),
267
Keyword
("class"),
272
Keyword
("where"),
280
Keyword
("static"),
281
Keyword
("dynamic"),
294
Keyword
("dynamic"),
311
Keyword
("var"),
337
Keyword
("class"),
340
Keyword
("int"),
343
Keyword
("set"),
345
Keyword
("var"),
348
Keyword
("new"),
352
Keyword
("value"),
379
Keyword
("event"),
380
Keyword
("int"),
383
Keyword
("add"),
385
Keyword
("this"),
389
Keyword
("value"),
393
Keyword
("remove"),
395
Keyword
("this"),
399
Keyword
("value"),
424
Keyword
("int"),
427
Keyword
("get"),
429
Keyword
("this"),
437
Keyword
("set"),
439
Keyword
("this"),
443
Keyword
("value"),
463
Keyword
("int"),
466
Keyword
("set"),
468
Keyword
("this"),
472
Keyword
("value"),
484
Keyword
("object"),
487
Keyword
("new"),
511
Keyword
("class"),
514
Keyword
("void"),
519
Keyword
("new"),
543
Keyword
("class"),
546
Keyword
("void"),
554
Keyword
("var"),
575
Keyword
("using"),
581
Keyword
("class"),
603
Keyword
("using"),
609
Keyword
("class"),
634
Keyword
("using"),
637
Keyword
("class"),
640
Keyword
("static"),
641
Keyword
("void"),
647
Keyword
("var"),
671
Keyword
("class"),
675
Keyword
("namespace"),
695
Keyword
("class"),
715
Keyword
("void"),
718
Keyword
("int"),
757
Keyword
("class"),
763
Keyword
("void"),
800
Keyword
("namespace"),
803
Keyword
("class"),
823
Keyword
("interface"),
826
Keyword
("int"),
829
Keyword
("get"),
831
Keyword
("set"),
834
Keyword
("void"),
837
Keyword
("int"),
881
Keyword
("int"),
892
Keyword
("class"),
895
Keyword
("public"),
898
Keyword
("int"),
918
Keyword
("using"),
925
Keyword
("class"),
945
Keyword
("using"),
952
Keyword
("class"),
957
Keyword
("int"),
959
Keyword
("string"),
978
Keyword
("static"),
979
Keyword
("class"),
983
Keyword
("public"),
984
Keyword
("static"),
985
Keyword
("void"),
989
Keyword
("this"),
1021
Keyword
("static"),
1022
Keyword
("class"),
1026
Keyword
("public"),
1027
Keyword
("static"),
1028
Keyword
("void"),
1032
Keyword
("this"),
1039
Keyword
("class"),
1042
Keyword
("void"),
1053
Keyword
("new"),
1059
Keyword
("new"),
1081
Keyword
("const"),
1082
Keyword
("int"),
1088
Keyword
("var"),
1103
Keyword
("var"),
1119
Keyword
("class"),
1124
Keyword
("where"),
1127
Keyword
("unmanaged"),
1140
Keyword
("interface"),
1144
Keyword
("class"),
1149
Keyword
("where"),
1152
Keyword
("unmanaged"),
1168
Keyword
("namespace"),
1171
Keyword
("interface"),
1176
Keyword
("class"),
1181
Keyword
("where"),
1184
Keyword
("unmanaged"),
1199
Keyword
("class"),
1202
Keyword
("void"),
1209
Keyword
("where"),
1212
Keyword
("unmanaged"),
1229
Keyword
("interface"),
1233
Keyword
("class"),
1236
Keyword
("void"),
1243
Keyword
("where"),
1246
Keyword
("unmanaged"),
1266
Keyword
("namespace"),
1269
Keyword
("interface"),
1274
Keyword
("class"),
1277
Keyword
("void"),
1284
Keyword
("where"),
1287
Keyword
("unmanaged"),
1299
Keyword
("delegate"),
1300
Keyword
("void"),
1307
Keyword
("where"),
1310
Keyword
("unmanaged"),
1322
Keyword
("interface"),
1326
Keyword
("delegate"),
1327
Keyword
("void"),
1334
Keyword
("where"),
1337
Keyword
("unmanaged"),
1352
Keyword
("namespace"),
1355
Keyword
("interface"),
1360
Keyword
("delegate"),
1361
Keyword
("void"),
1368
Keyword
("where"),
1371
Keyword
("unmanaged"),
1388
Keyword
("class"),
1391
Keyword
("void"),
1396
Keyword
("void"),
1403
Keyword
("where"),
1406
Keyword
("unmanaged"),
1427
Keyword
("interface"),
1431
Keyword
("class"),
1434
Keyword
("void"),
1439
Keyword
("void"),
1446
Keyword
("where"),
1449
Keyword
("unmanaged"),
1473
Keyword
("namespace"),
1476
Keyword
("interface"),
1481
Keyword
("class"),
1484
Keyword
("void"),
1489
Keyword
("void"),
1496
Keyword
("where"),
1499
Keyword
("unmanaged"),
1528
Keyword
("class"),
1531
Keyword
("void"),
1536
Keyword
("var"),
1543
Keyword
("var"),
1546
Keyword
("new"),
1551
Keyword
("new"),
1558
Keyword
("class"),
1561
Keyword
("public"),
1562
Keyword
("static"),
1564
Keyword
("operator"),
1575
Keyword
("new"),
1592
Keyword
("var"),
1608
Keyword
("class"),
1613
Keyword
("where"),
1616
Keyword
("notnull"),
1629
Keyword
("interface"),
1633
Keyword
("class"),
1638
Keyword
("where"),
1641
Keyword
("notnull"),
1657
Keyword
("namespace"),
1660
Keyword
("interface"),
1665
Keyword
("class"),
1670
Keyword
("where"),
1673
Keyword
("notnull"),
1688
Keyword
("class"),
1691
Keyword
("void"),
1698
Keyword
("where"),
1701
Keyword
("notnull"),
1718
Keyword
("interface"),
1722
Keyword
("class"),
1725
Keyword
("void"),
1732
Keyword
("where"),
1735
Keyword
("notnull"),
1755
Keyword
("namespace"),
1758
Keyword
("interface"),
1763
Keyword
("class"),
1766
Keyword
("void"),
1773
Keyword
("where"),
1776
Keyword
("notnull"),
1788
Keyword
("delegate"),
1789
Keyword
("void"),
1796
Keyword
("where"),
1799
Keyword
("notnull"),
1811
Keyword
("interface"),
1815
Keyword
("delegate"),
1816
Keyword
("void"),
1823
Keyword
("where"),
1826
Keyword
("notnull"),
1841
Keyword
("namespace"),
1844
Keyword
("interface"),
1849
Keyword
("delegate"),
1850
Keyword
("void"),
1857
Keyword
("where"),
1860
Keyword
("notnull"),
1877
Keyword
("class"),
1880
Keyword
("void"),
1885
Keyword
("void"),
1892
Keyword
("where"),
1895
Keyword
("notnull"),
1916
Keyword
("interface"),
1920
Keyword
("class"),
1923
Keyword
("void"),
1928
Keyword
("void"),
1935
Keyword
("where"),
1938
Keyword
("notnull"),
1962
Keyword
("namespace"),
1965
Keyword
("interface"),
1970
Keyword
("class"),
1973
Keyword
("void"),
1978
Keyword
("void"),
1985
Keyword
("where"),
1988
Keyword
("notnull"),
2017
Keyword
("using"),
2020
Keyword
("class"),
2023
Keyword
("public"),
2024
Keyword
("string"),
2028
Keyword
("class"),
2031
Keyword
("void"),
2034
Keyword
("object"),
2041
Keyword
("is"),
2046
Keyword
("var"),
2082
Keyword
("class"),
2085
Keyword
("void"),
2088
Keyword
("object"),
2095
Keyword
("is"),
2096
Keyword
("not"),
2123
Keyword
("class"),
2126
Keyword
("void"),
2129
Keyword
("object"),
2136
Keyword
("is"),
2138
Keyword
("or"),
2139
Keyword
("int"),
2158
Keyword
("void"),
2161
Keyword
("object"),
2165
Keyword
("_"),
2168
Keyword
("is"),
2170
Keyword
("var"),
2203
Keyword
("class"),
2206
Keyword
("void"),
2209
Keyword
("object"),
2216
Keyword
("is"),
2236
Keyword
("namespace"),
2239
Keyword
("class"),
2250
Keyword
("var"),
2281
Keyword
("class"),
2284
Keyword
("static"),
2306
Keyword
("interface"),
2309
Keyword
("static"),
2333
Keyword
("var"),
2336
Keyword
("args"),
2362
Keyword
("var"),
2384
Keyword
("class"),
2387
Keyword
("public"),
2388
Keyword
("async"),
2409
Keyword
("class"),
2412
Keyword
("public"),
2430
Keyword
("void"),
2435
Keyword
("async"),
2456
Keyword
("void"),
2481
Keyword
("async"),
2522
Keyword
("public"),
2523
Keyword
("async"),
2526
Keyword
("get"),
2528
Keyword
("set"),
2548
Keyword
("public"),
2552
Keyword
("get"),
2554
Keyword
("set"),
2572
Keyword
("public"),
2573
Keyword
("async"),
2594
Keyword
("public"),
2649
Keyword
("async"));
2662
Keyword
("partial"));
2675
Keyword
("public"),
2676
Keyword
("partial"));
2710
Keyword
("public"),
2721
Keyword
("partial"));
2731
Keyword
("public"),
2732
Keyword
("partial"));
2760
Keyword
("public"),
2810
Keyword
("void"),
2816
Keyword
("static"),
2817
Keyword
("void"),
2837
Keyword
("static"),
2838
Keyword
("void"),
2842
Keyword
("scoped"),
2843
Keyword
("in"),
2848
Keyword
("scoped"),
2849
Keyword
("var"),
2855
Keyword
("file"),
2856
Keyword
("readonly"),
2857
Keyword
("ref"),
2858
Keyword
("struct"),
2882
Keyword
("int"),
2900
Keyword
("using"),
2903
Keyword
("int"),
2915
Keyword
("using"),
2918
Keyword
("int"),
2932
Keyword
("using"),
2933
Keyword
("unsafe"),
2936
Keyword
("int"),
2949
Keyword
("using"),
2950
Keyword
("unsafe"),
2953
Keyword
("delegate"),
2956
Keyword
("int"),
2958
Keyword
("int"),
2971
Keyword
("using"),
2975
Keyword
("int"),
2978
Keyword
("string"),
2994
Keyword
("delegate"),
2996
Keyword
("unmanaged"),
3005
Keyword
("int"),
3021
Keyword
("delegate"),
3023
Keyword
("unmanaged"),
3028
Keyword
("int"),
3079
Keyword
("using"),
3086
Keyword
("class"),
3090
Keyword
("void"),
3095
Keyword
("new"),
3105
Keyword
("var"),
3110
Keyword
("var"),
3117
Keyword
("var"),
3122
Keyword
("var"),
3180
Keyword
("using"),
3187
Keyword
("class"),
3191
Keyword
("void"),
3196
Keyword
("new"),
3206
Keyword
("var"),
3211
Keyword
("var"),
3218
Keyword
("var"),
3223
Keyword
("var"),
Classification\TotalClassifierTests_Dynamic.cs (128)
20
Keyword
("void"),
23
Keyword
("dynamic"),
26
Keyword
("default"),
28
Keyword
("dynamic"));
37
Keyword
("dynamic"),
41
Keyword
("dynamic"),
68
Keyword
("dynamic"),
79
Keyword
("using"),
94
Keyword
("using"),
109
Keyword
("using"),
124
Keyword
("using"),
139
Keyword
("using"),
161
Keyword
("extern"),
162
Keyword
("alias"),
165
Keyword
("class"),
181
Keyword
("delegate"),
182
Keyword
("void"),
193
Keyword
("delegate"),
194
Keyword
("dynamic"),
197
Keyword
("dynamic"),
216
Keyword
("string"),
220
Keyword
("delegate"),
222
Keyword
("int"),
253
Keyword
("partial"),
254
Keyword
("class"),
261
Keyword
("class"),
266
Keyword
("int"),
284
Keyword
("class"),
301
Keyword
("dynamic"),
302
Keyword
("this"),
304
Keyword
("dynamic"),
314
Keyword
("static"),
315
Keyword
("dynamic"),
316
Keyword
("operator"),
319
Keyword
("dynamic"),
329
Keyword
("static"),
330
Keyword
("explicit"),
331
Keyword
("operator"),
332
Keyword
("dynamic"),
334
Keyword
("dynamic"),
344
Keyword
("dynamic"),
347
Keyword
("get"),
349
Keyword
("set"),
359
Keyword
("event"),
369
Keyword
("var"),
372
Keyword
("from"),
374
Keyword
("in"),
387
Keyword
("var"),
390
Keyword
("from"),
392
Keyword
("in"),
394
Keyword
("select"),
395
Keyword
("new"),
410
Keyword
("var"),
441
Keyword
("delegate"),
443
Keyword
("string"),
469
Keyword
("dynamic"),
487
Keyword
("static"),
488
Keyword
("dynamic"),
492
Keyword
("params"),
493
Keyword
("dynamic"),
512
Keyword
("dynamic"),
517
Keyword
("dynamic"),
522
Keyword
("params"),
523
Keyword
("dynamic"),
544
Keyword
("partial"),
545
Keyword
("void"),
548
Keyword
("dynamic"),
552
Keyword
("partial"),
553
Keyword
("void"),
556
Keyword
("dynamic"),
573
Keyword
("void"),
576
Keyword
("ref"),
577
Keyword
("dynamic"),
580
Keyword
("out"),
581
Keyword
("dynamic"),
598
Keyword
("dynamic"),
601
Keyword
("this"),
602
Keyword
("dynamic"),
605
Keyword
("dynamic"),
622
Keyword
("class"),
625
Keyword
("dynamic"),
640
Keyword
("class"),
645
Keyword
("where"),
648
Keyword
("dynamic"),
664
Keyword
("unsafe"),
665
Keyword
("int"),
671
Keyword
("sizeof"),
673
Keyword
("dynamic"),
684
Keyword
("typeof"),
686
Keyword
("dynamic"),
708
Keyword
("int"),
726
Keyword
("dynamic"),
737
Keyword
("using"),
739
Keyword
("dynamic"),
749
Keyword
("dynamic"),
764
Keyword
("namespace"),
780
Keyword
("class"),
799
Keyword
("class"),
834
Keyword
("int"),
870
Keyword
("enum"),
887
Keyword
("enum"),
904
Keyword
("class"),
911
Keyword
("where"),
927
Keyword
("dynamic"),
936
Keyword
("static"),
937
Keyword
("dynamic"),
947
Keyword
("dynamic"),
956
Keyword
("dynamic"),
968
Keyword
("var"),
976
Keyword
("dynamic"),
993
Keyword
("dynamic"),
996
Keyword
("new"),
997
Keyword
("dynamic"),
1010
Keyword
("dynamic"),
1013
Keyword
("new"),
1014
Keyword
("dynamic"),
1028
Keyword
("is"),
1029
Keyword
("dynamic"),
1041
Keyword
("as"),
1042
Keyword
("dynamic"));
1053
Keyword
("dynamic"),
1057
Keyword
("new"),
1060
Keyword
("dynamic"),
1075
Keyword
("string"),
1077
Keyword
("dynamic"),
1110
Keyword
("interface"),
1126
Keyword
("struct"),
1140
Keyword
("int"),
Microsoft.VisualStudio.LanguageServices.UnitTests (4)
Venus\DocumentServiceTests.vb (4)
147
Keyword
("class"),
186
Keyword
("class"),
241
Keyword
("class"),
285
Dim expcetedFormatted = {
Keyword
("class"),