476 references to MethodGroup
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (34)
Semantics\ExpressionBodiedMemberTests.cs (4)
89
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
241
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
297
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
330
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
Semantics\InteractiveSemanticModelTests.cs (4)
167
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
192
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
218
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
251
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
Semantics\ScriptSemanticsTests.cs (2)
254
Assert.Equal(0, summary.
MethodGroup
.Length);
571
Assert.Equal(0, summary.
MethodGroup
.Length);
Semantics\UnsafeTests.cs (24)
7867
Assert.Equal(0, receiverSummary.
MethodGroup
.Length);
7876
Assert.True(methodGroupSummary.
MethodGroup
.SetEquals(ImmutableArray.Create<IMethodSymbol>(structMethod1.GetPublicSymbol(), structMethod2.GetPublicSymbol()), EqualityComparer<IMethodSymbol>.Default));
7885
Assert.Equal(0, callSummary.
MethodGroup
.Length);
7934
Assert.Equal(0, receiverSummary.
MethodGroup
.Length);
7941
Assert.True(methodGroupSummary.
MethodGroup
.SetEquals(structMethods.GetPublicSymbols(), EqualityComparer<IMethodSymbol>.Default));
7948
Assert.Equal(0, callSummary.
MethodGroup
.Length);
8178
Assert.Equal(0, receiverSummary.
MethodGroup
.Length);
8190
Assert.Equal(0, indexSummary.
MethodGroup
.Length);
8199
Assert.Equal(0, accessSummary.
MethodGroup
.Length);
8245
Assert.Equal(0, receiverSummary.
MethodGroup
.Length);
8258
Assert.Equal(0, accessSummary.
MethodGroup
.Length);
8303
Assert.Equal(0, receiverSummary.
MethodGroup
.Length);
8316
Assert.Equal(0, accessSummary.
MethodGroup
.Length);
8885
Assert.Equal(0, summary.
MethodGroup
.Length);
8920
Assert.Equal(0, summary.
MethodGroup
.Length);
9347
Assert.Equal(0, summary.
MethodGroup
.Length);
10238
Assert.Equal(0, summary.
MethodGroup
.Length);
10305
Assert.Equal(0, summary.
MethodGroup
.Length);
10652
Assert.Equal(0, sizeOfSummary.
MethodGroup
.Length);
10714
Assert.Equal(0, sizeOfSummary.
MethodGroup
.Length);
10774
Assert.Equal(0, sizeOfSummary.
MethodGroup
.Length);
11317
Assert.Equal(0, stackAllocSummary.
MethodGroup
.Length);
11329
Assert.Equal(0, typeSummary.
MethodGroup
.Length);
11343
Assert.Equal(0, countSummary.
MethodGroup
.Length);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (442)
Compilation\GetSemanticInfoTests.cs (4)
1426
Assert.Equal(0, bindInfo.
MethodGroup
.Length);
1467
Assert.Equal(0, bindInfo.
MethodGroup
.Length);
1501
Assert.Equal(0, bindInfo.
MethodGroup
.Length);
4303
Assert.True(info.
MethodGroup
.IsEmpty);
Compilation\SemanticModelGetSemanticInfoTests.cs (409)
60
Assert.Equal(2, semanticInfo.
MethodGroup
.Length);
61
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
94
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
128
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
162
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
203
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
244
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
284
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
321
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
474
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
514
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
559
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
607
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
655
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
708
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
738
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
772
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
807
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
808
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
840
Utils.CheckISymbols(semanticInfo.
MethodGroup
,
850
Utils.CheckReducedExtensionMethod(semanticInfo.
MethodGroup
[3].GetSymbol(),
877
Utils.CheckISymbols(semanticInfo.
MethodGroup
,
898
Utils.CheckISymbols(semanticInfo.
MethodGroup
,
927
Utils.CheckISymbols(semanticInfo.
MethodGroup
,
953
Utils.CheckISymbols(semanticInfo.
MethodGroup
,
977
Utils.CheckISymbols(semanticInfo.
MethodGroup
);
995
Utils.CheckISymbols(semanticInfo.
MethodGroup
);
1015
Utils.CheckISymbols(semanticInfo.
MethodGroup
);
1035
Utils.CheckISymbols(semanticInfo.
MethodGroup
);
1060
Utils.CheckISymbols(semanticInfo.
MethodGroup
,
1080
Utils.CheckISymbols(semanticInfo.
MethodGroup
,
1652
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
1696
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
1728
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
1756
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
1787
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
1816
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
1846
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
1876
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
1906
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
1935
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
1965
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
1995
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
2025
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
2057
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
2089
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
2127
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
2160
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
2200
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
2227
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
2272
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
2307
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
2357
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
2403
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
2446
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
2501
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
2553
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
2586
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
2621
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
2658
Assert.Equal(2, semanticInfo.
MethodGroup
.Length);
2659
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
2704
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
2745
Assert.Equal(2, semanticInfo.
MethodGroup
.Length);
2746
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
2795
Assert.Equal(2, semanticInfo.
MethodGroup
.Length);
2796
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
2839
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
2840
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
2879
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
2915
Assert.Equal(2, semanticInfo.
MethodGroup
.Length);
2916
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
3028
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
3029
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
3081
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
3126
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
3166
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
3167
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
3208
Assert.Equal(2, semanticInfo.
MethodGroup
.Length);
3209
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
3254
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
3255
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
3293
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
3294
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
3329
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
3330
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
3366
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
3367
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
3403
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
3434
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
3466
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
3501
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
3535
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
3564
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
3598
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
3636
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
3680
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
3714
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
3748
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
3782
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
3812
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
3846
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
3873
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
3874
Assert.Equal("C..ctor()", semanticInfo.
MethodGroup
[0].ToTestDisplayString());
3908
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
3945
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
3981
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
4016
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
4047
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
4081
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
4082
Assert.Equal("C..ctor()", semanticInfo.
MethodGroup
[0].ToTestDisplayString());
4115
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
4144
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
4168
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
4194
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
4225
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
4255
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
4256
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
4294
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
4327
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
4381
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
4418
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
4456
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
4483
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
4578
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
4616
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
4652
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
4682
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
4720
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
4756
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
4792
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
4823
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
4860
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
4888
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
4931
Assert.Equal(2, semanticInfo.
MethodGroup
.Length);
4932
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
4980
Assert.Equal(3, semanticInfo.
MethodGroup
.Length);
4981
sortedCandidates = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
5032
Assert.Equal(3, semanticInfo.
MethodGroup
.Length);
5033
sortedCandidates = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
5076
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
5119
Assert.Equal(3, semanticInfo.
MethodGroup
.Length);
5120
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
5165
Assert.Equal(3, semanticInfo.
MethodGroup
.Length);
5166
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
5208
Assert.Equal(2, semanticInfo.
MethodGroup
.Length);
5209
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
5248
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
5287
Assert.Equal(2, semanticInfo.
MethodGroup
.Length);
5288
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
5329
Assert.Equal(2, semanticInfo.
MethodGroup
.Length);
5330
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
5415
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
5416
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
5460
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
5489
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
5518
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
5551
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
5583
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
5615
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
5671
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
5707
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
5737
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
5770
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
5804
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
5837
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
5871
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
5905
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
5940
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
5973
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
6007
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
6040
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
6068
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
6100
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
6126
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
6153
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
6186
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
6338
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
6378
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
6379
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
6408
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
6409
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
6445
Assert.Equal(2, semanticInfo.
MethodGroup
.Length);
6446
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
6528
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
6563
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
6600
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
6650
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
6815
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
6884
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
6929
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
6974
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
7056
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
7087
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
7088
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
7115
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
7116
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
7146
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
7147
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
7178
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
7210
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
7242
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
7271
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
7298
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
7325
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
7352
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
7408
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
7434
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
7462
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
7495
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
7561
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
7599
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
7632
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
7669
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
7827
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
7860
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
7892
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
7926
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
7958
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
7992
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
8028
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
8029
Assert.Equal("System.Int32 Program.f()", semanticInfo.
MethodGroup
[0].ToTestDisplayString());
8045
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
8046
Assert.Equal("System.Int32 Program.f()", semanticInfo.
MethodGroup
[0].ToTestDisplayString());
8081
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
8082
Assert.Equal("System.Int32 Program.f()", semanticInfo.
MethodGroup
[0].ToTestDisplayString());
8098
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
8099
Assert.Equal("System.Int32 Program.f()", semanticInfo.
MethodGroup
[0].ToTestDisplayString());
8381
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
8382
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
8415
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
8416
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
8523
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
8569
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
8614
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
8653
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
8693
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
8694
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
8735
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
8777
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
8818
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
8860
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
8902
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
8942
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
9071
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
9072
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
9135
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
9372
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
9431
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
9471
Assert.Equal(3, semanticInfo.
MethodGroup
.Length);
9472
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
9542
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
9579
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
9628
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
9678
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
9679
Assert.Equal("ValidWithSuffix_And_ValidWithoutSuffix.Description.Description(string)", semanticInfo.
MethodGroup
[0].ToDisplayString());
9729
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
9730
Assert.Equal("ValidWithSuffix_And_ValidWithoutSuffix.DescriptionAttribute.DescriptionAttribute(string)", semanticInfo.
MethodGroup
[0].ToDisplayString());
9794
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
9843
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
9844
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
9900
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
9926
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
9927
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
9960
Assert.Equal(3, semanticInfo.
MethodGroup
.Length);
9961
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
9996
Assert.Equal(3, semanticInfo.
MethodGroup
.Length);
9997
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
10032
Assert.Equal(3, semanticInfo.
MethodGroup
.Length);
10033
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
10068
Assert.Equal(3, semanticInfo.
MethodGroup
.Length);
10069
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
10112
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
10149
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
10189
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
10190
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
10228
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
10229
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
10259
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
10260
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
10294
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
10295
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
10331
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
10365
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
10399
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
10442
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
10477
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
10505
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
10535
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
10569
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
10612
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
10649
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
10686
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
10725
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
10768
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
10810
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
10847
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
10848
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
10913
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
11160
Assert.Equal(3, semanticInfo.
MethodGroup
.Length);
11161
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
11197
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
11236
Assert.Equal(2, semanticInfo.
MethodGroup
.Length);
11237
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
11275
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
11312
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
11349
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
11389
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
11436
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
11469
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
11506
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
11547
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
11548
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
11584
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
11616
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
11617
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
11648
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
11682
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
11719
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
11768
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
11804
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
11840
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
11875
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
11910
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
11946
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
11982
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
12017
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
12052
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
12088
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
12163
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
12196
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
12231
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
12266
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
12299
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
12332
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
12462
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
12493
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
12536
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
12576
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
12619
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
12653
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
12685
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
12686
Assert.Equal("MemberInitializerTest..ctor()", semanticInfo.
MethodGroup
[0].ToTestDisplayString());
12716
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
12748
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
12780
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
12812
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
12855
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
12892
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
12931
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
12970
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
13008
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
13049
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
13077
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
13107
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
13141
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
13175
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
13209
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
13240
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
13241
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
13272
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
13332
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
13333
Assert.Equal("B..ctor()", semanticInfo.
MethodGroup
[0].ToTestDisplayString());
13391
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
13451
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
13512
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
13570
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
13600
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
13665
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
13694
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
13750
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
13783
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
13814
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
13848
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
13885
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
13886
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
13924
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
13925
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
13960
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
13987
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
14014
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
14051
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
14090
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
14128
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
14129
Assert.Equal("CoClassType..ctor()", semanticInfo.
MethodGroup
[0].ToTestDisplayString());
14168
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
14210
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
14254
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
14255
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
14300
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
14349
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
14350
Assert.Equal("Wrapper.CoClassType..ctor()", semanticInfo.
MethodGroup
[0].ToTestDisplayString());
14390
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
14430
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
14519
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
14551
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
14635
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
14674
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
14675
var sortedMethodGroup = semanticInfo.
MethodGroup
.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray();
15093
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
15127
Assert.Equal(2, semanticInfo.
MethodGroup
.Length);
15128
var sortedMethodGroup = semanticInfo.
MethodGroup
.AsEnumerable().OrderBy(s => s.ToDisplayString(), StringComparer.Ordinal).ToArray();
15161
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
15192
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
15223
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
15254
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
15285
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
15312
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
15347
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
15414
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
Compilation\SemanticModelGetSemanticInfoTests_LateBound.cs (29)
44
Assert.Equal(3, semanticInfo.
MethodGroup
.Length);
90
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
119
Assert.Equal(2, semanticInfo.
MethodGroup
.Length);
120
Assert.Equal("C..ctor(out dynamic x, System.Int32 y)", semanticInfo.
MethodGroup
[0].ToTestDisplayString());
121
Assert.Equal("C..ctor(out dynamic x, System.Int64 y)", semanticInfo.
MethodGroup
[1].ToTestDisplayString());
147
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
173
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
208
Assert.Equal(2, semanticInfo.
MethodGroup
.Length);
232
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
248
Assert.Equal(1, semanticInfo.
MethodGroup
.Length);
272
Assert.Equal(2, semanticInfo.
MethodGroup
.Length);
295
Assert.Equal(2, semanticInfo.
MethodGroup
.Length);
324
Assert.Equal(3, semanticInfo.
MethodGroup
.Length);
353
Assert.Equal(2, semanticInfo.
MethodGroup
.Length);
430
Assert.Equal(2, semanticInfo.
MethodGroup
.Length);
431
Assert.Equal("dynamic Dynamic.FunctionTestingWithOverloading.OverloadedFunction(System.Int32 d)", semanticInfo.
MethodGroup
[0].ToTestDisplayString());
432
Assert.Equal("dynamic Dynamic.FunctionTestingWithOverloading.OverloadedFunction(System.Int64 d)", semanticInfo.
MethodGroup
[1].ToTestDisplayString());
524
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
559
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
593
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
621
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
658
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
685
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
721
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
751
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
777
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
804
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
832
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);
863
Assert.Equal(0, semanticInfo.
MethodGroup
.Length);