2 writes to CandidateSymbols
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
CompilationTestUtils.cs (2)
289
summary.
CandidateSymbols
= symbolInfo.CandidateSymbols;
331
summary.
CandidateSymbols
= symbolInfo.CandidateSymbols;
554 references to CandidateSymbols
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (44)
Semantics\ExpressionBodiedMemberTests.cs (10)
87
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
142
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
160
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
175
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
193
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
194
Assert.Equal("System.Int32 C.M(System.Int32 i)", semanticInfo.
CandidateSymbols
[0].ToTestDisplayString());
195
Assert.Equal("System.Int64 C.M(System.Int64 l)", semanticInfo.
CandidateSymbols
[1].ToTestDisplayString());
239
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
295
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
328
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
Semantics\FunctionPointerTests.cs (1)
3969
Assert.Empty(semanticInfo.
CandidateSymbols
);
Semantics\InteractiveSemanticModelTests.cs (5)
165
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
190
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
216
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
244
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
245
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString()).ToArray();
Semantics\QueryTests.cs (1)
2399
Assert.Empty(symbolInfoForSelect.
CandidateSymbols
);
Semantics\ScriptSemanticsTests.cs (2)
249
Assert.Equal(0, summary.
CandidateSymbols
.Length);
566
Assert.Equal(0, summary.
CandidateSymbols
.Length);
Semantics\UnsafeTests.cs (25)
7863
Assert.Equal(0, receiverSummary.
CandidateSymbols
.Length);
7872
Assert.Equal(0, methodGroupSummary.
CandidateSymbols
.Length);
7881
Assert.Equal(0, callSummary.
CandidateSymbols
.Length);
7930
Assert.Equal(0, receiverSummary.
CandidateSymbols
.Length);
8174
Assert.Equal(0, receiverSummary.
CandidateSymbols
.Length);
8186
Assert.Equal(0, indexSummary.
CandidateSymbols
.Length);
8195
Assert.Equal(0, accessSummary.
CandidateSymbols
.Length);
8241
Assert.Equal(0, receiverSummary.
CandidateSymbols
.Length);
8254
Assert.Equal(0, accessSummary.
CandidateSymbols
.Length);
8299
Assert.Equal(0, receiverSummary.
CandidateSymbols
.Length);
8312
Assert.Equal(0, accessSummary.
CandidateSymbols
.Length);
8880
Assert.Equal(0, summary.
CandidateSymbols
.Length);
8915
Assert.Equal(0, summary.
CandidateSymbols
.Length);
9342
Assert.Equal(0, summary.
CandidateSymbols
.Length);
10234
Assert.Equal(0, summary.
CandidateSymbols
.Length);
10303
Assert.Equal(0, summary.
CandidateSymbols
.Length);
10634
Assert.Equal(0, typeSummary.
CandidateSymbols
.Length);
10647
Assert.Equal(0, sizeOfSummary.
CandidateSymbols
.Length);
10696
Assert.Equal(0, typeSummary.
CandidateSymbols
.Length);
10709
Assert.Equal(0, sizeOfSummary.
CandidateSymbols
.Length);
10756
Assert.Equal(0, typeSummary.
CandidateSymbols
.Length);
10769
Assert.Equal(0, sizeOfSummary.
CandidateSymbols
.Length);
11315
Assert.Equal(0, stackAllocSummary.
CandidateSymbols
.Length);
11327
Assert.Equal(0, typeSummary.
CandidateSymbols
.Length);
11341
Assert.Equal(0, countSummary.
CandidateSymbols
.Length);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (506)
Compilation\GetSemanticInfoTests.cs (11)
981
Assert.Equal(0, info.
CandidateSymbols
.Length);
1005
Assert.Equal(0, info.
CandidateSymbols
.Length);
1223
Assert.Equal(0, bindInfo.
CandidateSymbols
.Length);
1379
Assert.Equal(0, bindInfo.
CandidateSymbols
.Length);
1419
Assert.Equal(0, bindInfo.
CandidateSymbols
.Length);
1460
Assert.True(bindInfo.
CandidateSymbols
.SetEquals(candidateIndexers, EqualityComparer<ISymbol>.Default));
1494
Assert.Equal(0, bindInfo.
CandidateSymbols
.Length);
1531
Assert.Equal(1, bindInfo.
CandidateSymbols
.Length);
1532
var candidate = bindInfo.
CandidateSymbols
.Single();
1816
var candidate = (IMethodSymbol)bindInfo.
CandidateSymbols
.Single();
4297
Assert.True(info.
CandidateSymbols
.IsEmpty);
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (7)
2296
Assert.Equal(2, info.
CandidateSymbols
.Length);
2297
Assert.Equal("F", info.
CandidateSymbols
[0].Name);
2332
Assert.Equal(2, info.
CandidateSymbols
.Length);
2333
Assert.Equal("F", info.
CandidateSymbols
[0].Name);
2368
Assert.Equal(2, info.
CandidateSymbols
.Length);
2369
Assert.Equal("F", info.
CandidateSymbols
[0].Name);
2625
Assert.Equal(0, info.
CandidateSymbols
.Length);
Compilation\SemanticModelGetSemanticInfoTests.cs (454)
53
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
54
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
92
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
123
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
124
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
157
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
158
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
198
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
199
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
239
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
240
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
279
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
280
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
316
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
317
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
346
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
347
symbol = semanticInfo.
CandidateSymbols
[0];
376
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
377
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
409
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
434
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
435
symbol = semanticInfo.
CandidateSymbols
[0];
469
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
470
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
509
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
510
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
552
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
553
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
600
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
601
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
648
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
649
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
701
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
702
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
731
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
767
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
802
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
803
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
845
Utils.CheckISymbols(semanticInfo.
CandidateSymbols
,
930
Utils.CheckISymbols(semanticInfo.
CandidateSymbols
);
978
Utils.CheckISymbols(semanticInfo.
CandidateSymbols
);
996
Utils.CheckISymbols(semanticInfo.
CandidateSymbols
,
1016
Utils.CheckISymbols(semanticInfo.
CandidateSymbols
,
1036
Utils.CheckISymbols(semanticInfo.
CandidateSymbols
1063
Utils.CheckISymbols(semanticInfo.
CandidateSymbols
);
1083
Utils.CheckISymbols(semanticInfo.
CandidateSymbols
,
1458
Utils.CheckISymbols(semanticInfo.
CandidateSymbols
);
1473
Utils.CheckISymbols(semanticInfo.
CandidateSymbols
);
1485
Utils.CheckISymbols(semanticInfo.
CandidateSymbols
);
1503
Utils.CheckISymbols(semanticInfo.
CandidateSymbols
,
1521
Utils.CheckISymbols(semanticInfo.
CandidateSymbols
,
1594
Utils.CheckISymbols(semanticInfo.
CandidateSymbols
);
1609
Utils.CheckISymbols(semanticInfo.
CandidateSymbols
);
1624
Utils.CheckISymbols(semanticInfo.
CandidateSymbols
);
1650
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
1694
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
1726
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
1754
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
1785
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
1814
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
1844
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
1874
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
1904
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
1933
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
1963
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
1993
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
2023
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
2055
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
2087
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
2125
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
2158
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
2198
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
2225
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
2270
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
2305
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
2355
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
2401
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
2444
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
2499
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
2551
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
2582
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
2583
Assert.Equal("Program this", semanticInfo.
CandidateSymbols
[0].ToTestDisplayString());
2619
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
2656
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
2697
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
2698
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
2738
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
2739
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
2788
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
2789
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
2834
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
2835
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
2877
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
2913
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
2953
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
2954
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
2989
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
2990
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
3023
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
3024
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
3079
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
3124
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
3164
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
3206
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
3252
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
3291
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
3327
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
3364
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
3401
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
3432
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
3464
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
3499
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
3530
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
3531
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
3562
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
3596
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
3634
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
3678
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
3712
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
3746
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
3780
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
3810
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
3844
Assert.NotEqual(0, semanticInfo.
CandidateSymbols
.Length);
3871
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
3906
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
3943
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
3979
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
4014
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
4045
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
4076
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
4077
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
4113
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
4142
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
4166
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
4192
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
4220
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
4221
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
4253
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
4287
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
4288
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
4325
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
4379
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
4411
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
4449
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
4481
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
4576
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
4614
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
4650
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
4680
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
4718
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
4754
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
4790
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
4821
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
4858
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
4885
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
4924
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
4925
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
4971
Assert.Equal(3, semanticInfo.
CandidateSymbols
.Length);
4972
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
5023
Assert.Equal(3, semanticInfo.
CandidateSymbols
.Length);
5024
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
5074
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
5114
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
5115
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
5160
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
5161
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
5206
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
5246
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
5285
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
5327
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
5409
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
5410
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
5451
Assert.Equal(3, semanticInfo.
CandidateSymbols
.Length);
5452
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
5487
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
5516
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
5549
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
5581
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
5613
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
5663
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
5699
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
5735
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
5768
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
5802
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
5835
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
5869
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
5903
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
5938
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
5971
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
6005
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
6038
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
6066
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
6098
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
6124
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
6151
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
6184
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
6336
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
6376
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
6403
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
6404
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
6443
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
6526
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
6561
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
6598
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
6648
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
6682
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
6683
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
6813
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
6882
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
6927
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
6972
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
7054
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
7085
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
7113
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
7144
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
7176
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
7208
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
7240
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
7269
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
7296
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
7323
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
7350
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
7406
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
7432
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
7460
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
7493
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
7529
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
7559
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
7592
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
7593
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
7630
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
7667
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
7825
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
7858
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
7890
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
7924
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
7956
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
7990
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
8026
Assert.Empty(semanticInfo.
CandidateSymbols
);
8042
Assert.Equal("System.Int32 Program.f()", semanticInfo.
CandidateSymbols
[0].ToTestDisplayString());
8043
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
8079
Assert.Empty(semanticInfo.
CandidateSymbols
);
8095
Assert.Equal("System.Int32 Program.f()", semanticInfo.
CandidateSymbols
[0].ToTestDisplayString());
8096
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
8376
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
8377
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
8410
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
8411
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
8521
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
8567
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
8612
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
8651
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
8691
Assert.Equal("System.Int32 Test.M()", semanticInfo.
CandidateSymbols
.Single().ToTestDisplayString());
8733
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
8775
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
8816
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
8858
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
8900
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
8940
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
9069
Assert.Equal("System.Int32 Test.M()", semanticInfo.
CandidateSymbols
.Single().ToTestDisplayString());
9130
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
9131
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
9365
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
9366
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
9424
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
9425
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
9462
Assert.Equal(3, semanticInfo.
CandidateSymbols
.Length);
9463
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
9535
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
9536
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
9572
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
9573
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
9621
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
9622
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
9676
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
9727
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
9787
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
9788
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
9838
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
9839
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
9893
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
9894
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
9924
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
9958
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
9994
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
10030
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
10066
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
10110
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
10147
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
10184
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
10185
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
10223
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
10224
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
10254
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
10255
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
10289
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
10290
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
10324
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
10325
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
10358
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
10359
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
10392
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
10393
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
10435
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
10436
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
10473
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
10500
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
10528
Assert.Equal(SymbolKind.Parameter, semanticInfo.
CandidateSymbols
[0].Kind);
10530
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
10565
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
10607
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
10608
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
10644
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
10645
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
10681
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
10682
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
10720
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
10721
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
10763
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
10764
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
10805
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
10806
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
10842
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
10843
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
10911
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
11151
Assert.Equal(3, semanticInfo.
CandidateSymbols
.Length);
11152
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
11195
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
11229
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
11230
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
11273
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
11310
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
11347
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
11387
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
11434
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
11467
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
11504
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
11542
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
11543
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
11579
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
11580
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
11614
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
11646
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
11680
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
11717
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
11762
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
11802
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
11838
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
11873
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
11908
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
11944
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
11980
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
12015
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
12050
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
12086
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
12159
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
12160
Assert.Equal("Stat", semanticInfo.
CandidateSymbols
[0].ToTestDisplayString());
12161
Assert.Equal(SymbolKind.NamedType, semanticInfo.
CandidateSymbols
[0].Kind);
12193
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
12194
Assert.Equal("Stat", semanticInfo.
CandidateSymbols
.First().Name);
12226
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
12227
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
12263
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
12264
Assert.Equal("X", semanticInfo.
CandidateSymbols
.First().Name);
12294
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
12295
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
12329
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
12330
Assert.Equal("T", semanticInfo.
CandidateSymbols
.First().Name);
12362
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
12363
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
12398
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
12399
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
12433
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
12460
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
12491
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
12534
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
12575
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
12617
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
12651
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
12683
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
12714
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
12746
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
12778
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
12810
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
12853
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
12890
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
12929
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
12965
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
12966
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
13003
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
13004
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
13044
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
13045
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
13075
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
13105
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
13136
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
13137
var symbol = semanticInfo.
CandidateSymbols
[0];
13170
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
13171
var symbol = semanticInfo.
CandidateSymbols
[0];
13204
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
13205
var symbol = semanticInfo.
CandidateSymbols
[0];
13235
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
13236
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
13270
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
13330
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
13389
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
13449
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
13510
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
13568
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
13598
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
13663
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
13692
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
13748
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
13781
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
13812
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
13846
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
13880
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
13881
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
13919
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
13920
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
13958
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
13985
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
14012
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
14049
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
14088
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
14126
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
14166
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
14208
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
14252
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
14298
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
14344
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
14345
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
14387
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
14388
Assert.Equal("InterfaceType", semanticInfo.
CandidateSymbols
.First().Name);
14425
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
14426
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
14514
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
14515
var sortedCandidates = semanticInfo.
CandidateSymbols
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
14548
Assert.Equal(1, semanticInfo.
CandidateSymbols
.Length);
14549
Assert.Equal("System.IFormattable", semanticInfo.
CandidateSymbols
.First().ToTestDisplayString());
14595
Utils.CheckSymbol(semanticInfo.
CandidateSymbols
.Single(), "void C.M<T>(T t)");
14633
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
14672
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
15091
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
15120
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
15121
var sortedCandidates = semanticInfo.
CandidateSymbols
.AsEnumerable().OrderBy(s => s.ToDisplayString(), StringComparer.Ordinal).ToArray();
15159
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
15190
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
15221
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
15252
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
15283
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
15310
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
15345
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
15412
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
Compilation\SemanticModelGetSemanticInfoTests_LateBound.cs (30)
43
Assert.Equal(3, semanticInfo.
CandidateSymbols
.Length);
89
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
115
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
116
Assert.Equal("C..ctor(out dynamic x, System.Int32 y)", semanticInfo.
CandidateSymbols
[0].ToTestDisplayString());
117
Assert.Equal("C..ctor(out dynamic x, System.Int64 y)", semanticInfo.
CandidateSymbols
[1].ToTestDisplayString());
146
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
172
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
207
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
231
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
271
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
294
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
323
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
352
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
424
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
425
Assert.Equal("dynamic Dynamic.FunctionTestingWithOverloading.OverloadedFunction(System.Int32 d)", semanticInfo.
CandidateSymbols
[0].ToTestDisplayString());
426
Assert.Equal("dynamic Dynamic.FunctionTestingWithOverloading.OverloadedFunction(System.Int64 d)", semanticInfo.
CandidateSymbols
[1].ToTestDisplayString());
519
Assert.Equal(2, semanticInfo.
CandidateSymbols
.Length);
520
Assert.Equal("System.Int32 C.this[System.Int32 a] { get; set; }", semanticInfo.
CandidateSymbols
[0].ToTestDisplayString());
521
Assert.Equal("System.Int32 C.this[System.Int64 a] { get; set; }", semanticInfo.
CandidateSymbols
[1].ToTestDisplayString());
556
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
592
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
620
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
657
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
684
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
720
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
750
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
776
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
803
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
831
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
862
Assert.Equal(0, semanticInfo.
CandidateSymbols
.Length);
Symbols\Source\UsingAliasTests.cs (4)
71
Assert.Equal(0, info4.
CandidateSymbols
.Length);
131
Assert.Equal(0, info4.
CandidateSymbols
.Length);
186
Assert.Equal(0, info4.
CandidateSymbols
.Length);
244
Assert.Equal(0, info4.
CandidateSymbols
.Length);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (4)
FunctionPointerUtilities.cs (4)
218
Assert.Empty(semanticInfo.
CandidateSymbols
);
226
AssertEx.Equal(expectedSymbolCandidates, semanticInfo.
CandidateSymbols
.Select(s => s.ToTestDisplayString(includeNonNullable: false)));
231
Assert.Empty(semanticInfo.
CandidateSymbols
);
260
Assert.Empty(semanticInfo.
CandidateSymbols
);