476 references to MethodGroup
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (34)
Semantics\ExpressionBodiedMemberTests.cs (4)
89Assert.Equal(0, semanticInfo.MethodGroup.Length); 241Assert.Equal(0, semanticInfo.MethodGroup.Length); 297Assert.Equal(0, semanticInfo.MethodGroup.Length); 330Assert.Equal(0, semanticInfo.MethodGroup.Length);
Semantics\InteractiveSemanticModelTests.cs (4)
167Assert.Equal(0, semanticInfo.MethodGroup.Length); 192Assert.Equal(0, semanticInfo.MethodGroup.Length); 218Assert.Equal(0, semanticInfo.MethodGroup.Length); 251Assert.Equal(0, semanticInfo.MethodGroup.Length);
Semantics\ScriptSemanticsTests.cs (2)
254Assert.Equal(0, summary.MethodGroup.Length); 571Assert.Equal(0, summary.MethodGroup.Length);
Semantics\UnsafeTests.cs (24)
7867Assert.Equal(0, receiverSummary.MethodGroup.Length); 7876Assert.True(methodGroupSummary.MethodGroup.SetEquals(ImmutableArray.Create<IMethodSymbol>(structMethod1.GetPublicSymbol(), structMethod2.GetPublicSymbol()), EqualityComparer<IMethodSymbol>.Default)); 7885Assert.Equal(0, callSummary.MethodGroup.Length); 7934Assert.Equal(0, receiverSummary.MethodGroup.Length); 7941Assert.True(methodGroupSummary.MethodGroup.SetEquals(structMethods.GetPublicSymbols(), EqualityComparer<IMethodSymbol>.Default)); 7948Assert.Equal(0, callSummary.MethodGroup.Length); 8178Assert.Equal(0, receiverSummary.MethodGroup.Length); 8190Assert.Equal(0, indexSummary.MethodGroup.Length); 8199Assert.Equal(0, accessSummary.MethodGroup.Length); 8245Assert.Equal(0, receiverSummary.MethodGroup.Length); 8258Assert.Equal(0, accessSummary.MethodGroup.Length); 8303Assert.Equal(0, receiverSummary.MethodGroup.Length); 8316Assert.Equal(0, accessSummary.MethodGroup.Length); 8885Assert.Equal(0, summary.MethodGroup.Length); 8920Assert.Equal(0, summary.MethodGroup.Length); 9347Assert.Equal(0, summary.MethodGroup.Length); 10238Assert.Equal(0, summary.MethodGroup.Length); 10305Assert.Equal(0, summary.MethodGroup.Length); 10652Assert.Equal(0, sizeOfSummary.MethodGroup.Length); 10714Assert.Equal(0, sizeOfSummary.MethodGroup.Length); 10774Assert.Equal(0, sizeOfSummary.MethodGroup.Length); 11317Assert.Equal(0, stackAllocSummary.MethodGroup.Length); 11329Assert.Equal(0, typeSummary.MethodGroup.Length); 11343Assert.Equal(0, countSummary.MethodGroup.Length);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (442)
Compilation\GetSemanticInfoTests.cs (4)
1426Assert.Equal(0, bindInfo.MethodGroup.Length); 1467Assert.Equal(0, bindInfo.MethodGroup.Length); 1501Assert.Equal(0, bindInfo.MethodGroup.Length); 4303Assert.True(info.MethodGroup.IsEmpty);
Compilation\SemanticModelGetSemanticInfoTests.cs (409)
60Assert.Equal(2, semanticInfo.MethodGroup.Length); 61var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 94Assert.Equal(0, semanticInfo.MethodGroup.Length); 128Assert.Equal(0, semanticInfo.MethodGroup.Length); 162Assert.Equal(0, semanticInfo.MethodGroup.Length); 203Assert.Equal(0, semanticInfo.MethodGroup.Length); 244Assert.Equal(0, semanticInfo.MethodGroup.Length); 280Assert.Equal(0, semanticInfo.MethodGroup.Length); 316Assert.Equal(0, semanticInfo.MethodGroup.Length); 469Assert.Equal(0, semanticInfo.MethodGroup.Length); 509Assert.Equal(0, semanticInfo.MethodGroup.Length); 554Assert.Equal(0, semanticInfo.MethodGroup.Length); 602Assert.Equal(0, semanticInfo.MethodGroup.Length); 650Assert.Equal(0, semanticInfo.MethodGroup.Length); 703Assert.Equal(0, semanticInfo.MethodGroup.Length); 733Assert.Equal(0, semanticInfo.MethodGroup.Length); 767Assert.Equal(0, semanticInfo.MethodGroup.Length); 802Assert.Equal(1, semanticInfo.MethodGroup.Length); 803var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 835Utils.CheckISymbols(semanticInfo.MethodGroup, 845Utils.CheckReducedExtensionMethod(semanticInfo.MethodGroup[3].GetSymbol(), 872Utils.CheckISymbols(semanticInfo.MethodGroup, 893Utils.CheckISymbols(semanticInfo.MethodGroup, 922Utils.CheckISymbols(semanticInfo.MethodGroup, 948Utils.CheckISymbols(semanticInfo.MethodGroup, 972Utils.CheckISymbols(semanticInfo.MethodGroup); 990Utils.CheckISymbols(semanticInfo.MethodGroup); 1010Utils.CheckISymbols(semanticInfo.MethodGroup); 1030Utils.CheckISymbols(semanticInfo.MethodGroup); 1055Utils.CheckISymbols(semanticInfo.MethodGroup, 1075Utils.CheckISymbols(semanticInfo.MethodGroup, 1647Assert.Equal(0, semanticInfo.MethodGroup.Length); 1691Assert.Equal(0, semanticInfo.MethodGroup.Length); 1723Assert.Equal(0, semanticInfo.MethodGroup.Length); 1751Assert.Equal(0, semanticInfo.MethodGroup.Length); 1782Assert.Equal(0, semanticInfo.MethodGroup.Length); 1811Assert.Equal(0, semanticInfo.MethodGroup.Length); 1841Assert.Equal(0, semanticInfo.MethodGroup.Length); 1871Assert.Equal(0, semanticInfo.MethodGroup.Length); 1901Assert.Equal(0, semanticInfo.MethodGroup.Length); 1930Assert.Equal(0, semanticInfo.MethodGroup.Length); 1960Assert.Equal(0, semanticInfo.MethodGroup.Length); 1990Assert.Equal(0, semanticInfo.MethodGroup.Length); 2020Assert.Equal(0, semanticInfo.MethodGroup.Length); 2052Assert.Equal(0, semanticInfo.MethodGroup.Length); 2084Assert.Equal(0, semanticInfo.MethodGroup.Length); 2122Assert.Equal(0, semanticInfo.MethodGroup.Length); 2155Assert.Equal(0, semanticInfo.MethodGroup.Length); 2195Assert.Equal(0, semanticInfo.MethodGroup.Length); 2222Assert.Equal(0, semanticInfo.MethodGroup.Length); 2267Assert.Equal(0, semanticInfo.MethodGroup.Length); 2302Assert.Equal(0, semanticInfo.MethodGroup.Length); 2352Assert.Equal(0, semanticInfo.MethodGroup.Length); 2398Assert.Equal(0, semanticInfo.MethodGroup.Length); 2441Assert.Equal(0, semanticInfo.MethodGroup.Length); 2496Assert.Equal(0, semanticInfo.MethodGroup.Length); 2548Assert.Equal(0, semanticInfo.MethodGroup.Length); 2581Assert.Equal(0, semanticInfo.MethodGroup.Length); 2616Assert.Equal(0, semanticInfo.MethodGroup.Length); 2653Assert.Equal(2, semanticInfo.MethodGroup.Length); 2654var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 2699Assert.Equal(0, semanticInfo.MethodGroup.Length); 2740Assert.Equal(2, semanticInfo.MethodGroup.Length); 2741var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 2790Assert.Equal(2, semanticInfo.MethodGroup.Length); 2791var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 2834Assert.Equal(1, semanticInfo.MethodGroup.Length); 2835var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 2874Assert.Equal(0, semanticInfo.MethodGroup.Length); 2910Assert.Equal(2, semanticInfo.MethodGroup.Length); 2911var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 3023Assert.Equal(1, semanticInfo.MethodGroup.Length); 3024var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 3076Assert.Equal(0, semanticInfo.MethodGroup.Length); 3121Assert.Equal(0, semanticInfo.MethodGroup.Length); 3161Assert.Equal(1, semanticInfo.MethodGroup.Length); 3162var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 3203Assert.Equal(2, semanticInfo.MethodGroup.Length); 3204var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 3249Assert.Equal(1, semanticInfo.MethodGroup.Length); 3250var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 3288Assert.Equal(1, semanticInfo.MethodGroup.Length); 3289var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 3324Assert.Equal(1, semanticInfo.MethodGroup.Length); 3325var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 3361Assert.Equal(1, semanticInfo.MethodGroup.Length); 3362var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 3398Assert.Equal(0, semanticInfo.MethodGroup.Length); 3429Assert.Equal(0, semanticInfo.MethodGroup.Length); 3461Assert.Equal(0, semanticInfo.MethodGroup.Length); 3496Assert.Equal(0, semanticInfo.MethodGroup.Length); 3530Assert.Equal(0, semanticInfo.MethodGroup.Length); 3559Assert.Equal(0, semanticInfo.MethodGroup.Length); 3593Assert.Equal(0, semanticInfo.MethodGroup.Length); 3631Assert.Equal(0, semanticInfo.MethodGroup.Length); 3675Assert.Equal(0, semanticInfo.MethodGroup.Length); 3709Assert.Equal(0, semanticInfo.MethodGroup.Length); 3743Assert.Equal(0, semanticInfo.MethodGroup.Length); 3777Assert.Equal(0, semanticInfo.MethodGroup.Length); 3807Assert.Equal(0, semanticInfo.MethodGroup.Length); 3841Assert.Equal(0, semanticInfo.MethodGroup.Length); 3868Assert.Equal(1, semanticInfo.MethodGroup.Length); 3869Assert.Equal("C..ctor()", semanticInfo.MethodGroup[0].ToTestDisplayString()); 3903Assert.Equal(0, semanticInfo.MethodGroup.Length); 3940Assert.Equal(0, semanticInfo.MethodGroup.Length); 3976Assert.Equal(0, semanticInfo.MethodGroup.Length); 4011Assert.Equal(0, semanticInfo.MethodGroup.Length); 4042Assert.Equal(0, semanticInfo.MethodGroup.Length); 4076Assert.Equal(1, semanticInfo.MethodGroup.Length); 4077Assert.Equal("C..ctor()", semanticInfo.MethodGroup[0].ToTestDisplayString()); 4110Assert.Equal(0, semanticInfo.MethodGroup.Length); 4139Assert.Equal(0, semanticInfo.MethodGroup.Length); 4163Assert.Equal(0, semanticInfo.MethodGroup.Length); 4189Assert.Equal(0, semanticInfo.MethodGroup.Length); 4220Assert.Equal(0, semanticInfo.MethodGroup.Length); 4250Assert.Equal(1, semanticInfo.MethodGroup.Length); 4251var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 4289Assert.Equal(0, semanticInfo.MethodGroup.Length); 4322Assert.Equal(0, semanticInfo.MethodGroup.Length); 4376Assert.Equal(0, semanticInfo.MethodGroup.Length); 4413Assert.Equal(0, semanticInfo.MethodGroup.Length); 4451Assert.Equal(0, semanticInfo.MethodGroup.Length); 4478Assert.Equal(0, semanticInfo.MethodGroup.Length); 4573Assert.Equal(0, semanticInfo.MethodGroup.Length); 4611Assert.Equal(0, semanticInfo.MethodGroup.Length); 4647Assert.Equal(0, semanticInfo.MethodGroup.Length); 4677Assert.Equal(0, semanticInfo.MethodGroup.Length); 4715Assert.Equal(0, semanticInfo.MethodGroup.Length); 4751Assert.Equal(0, semanticInfo.MethodGroup.Length); 4787Assert.Equal(0, semanticInfo.MethodGroup.Length); 4818Assert.Equal(0, semanticInfo.MethodGroup.Length); 4855Assert.Equal(0, semanticInfo.MethodGroup.Length); 4883Assert.Equal(0, semanticInfo.MethodGroup.Length); 4926Assert.Equal(2, semanticInfo.MethodGroup.Length); 4927var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 4975Assert.Equal(3, semanticInfo.MethodGroup.Length); 4976sortedCandidates = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 5027Assert.Equal(3, semanticInfo.MethodGroup.Length); 5028sortedCandidates = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 5071Assert.Equal(0, semanticInfo.MethodGroup.Length); 5114Assert.Equal(3, semanticInfo.MethodGroup.Length); 5115var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 5160Assert.Equal(3, semanticInfo.MethodGroup.Length); 5161var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 5203Assert.Equal(2, semanticInfo.MethodGroup.Length); 5204var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 5243Assert.Equal(0, semanticInfo.MethodGroup.Length); 5282Assert.Equal(2, semanticInfo.MethodGroup.Length); 5283var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 5324Assert.Equal(2, semanticInfo.MethodGroup.Length); 5325var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 5410Assert.Equal(1, semanticInfo.MethodGroup.Length); 5411var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 5455Assert.Equal(0, semanticInfo.MethodGroup.Length); 5484Assert.Equal(0, semanticInfo.MethodGroup.Length); 5513Assert.Equal(0, semanticInfo.MethodGroup.Length); 5546Assert.Equal(0, semanticInfo.MethodGroup.Length); 5578Assert.Equal(0, semanticInfo.MethodGroup.Length); 5610Assert.Equal(0, semanticInfo.MethodGroup.Length); 5666Assert.Equal(0, semanticInfo.MethodGroup.Length); 5702Assert.Equal(0, semanticInfo.MethodGroup.Length); 5732Assert.Equal(0, semanticInfo.MethodGroup.Length); 5765Assert.Equal(0, semanticInfo.MethodGroup.Length); 5799Assert.Equal(0, semanticInfo.MethodGroup.Length); 5832Assert.Equal(0, semanticInfo.MethodGroup.Length); 5866Assert.Equal(0, semanticInfo.MethodGroup.Length); 5900Assert.Equal(0, semanticInfo.MethodGroup.Length); 5935Assert.Equal(0, semanticInfo.MethodGroup.Length); 5968Assert.Equal(0, semanticInfo.MethodGroup.Length); 6002Assert.Equal(0, semanticInfo.MethodGroup.Length); 6035Assert.Equal(0, semanticInfo.MethodGroup.Length); 6063Assert.Equal(0, semanticInfo.MethodGroup.Length); 6095Assert.Equal(0, semanticInfo.MethodGroup.Length); 6121Assert.Equal(0, semanticInfo.MethodGroup.Length); 6148Assert.Equal(0, semanticInfo.MethodGroup.Length); 6181Assert.Equal(0, semanticInfo.MethodGroup.Length); 6333Assert.Equal(0, semanticInfo.MethodGroup.Length); 6373Assert.Equal(1, semanticInfo.MethodGroup.Length); 6374var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 6403Assert.Equal(1, semanticInfo.MethodGroup.Length); 6404var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 6440Assert.Equal(2, semanticInfo.MethodGroup.Length); 6441var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 6523Assert.Equal(0, semanticInfo.MethodGroup.Length); 6558Assert.Equal(0, semanticInfo.MethodGroup.Length); 6595Assert.Equal(0, semanticInfo.MethodGroup.Length); 6645Assert.Equal(0, semanticInfo.MethodGroup.Length); 6810Assert.Equal(0, semanticInfo.MethodGroup.Length); 6879Assert.Equal(0, semanticInfo.MethodGroup.Length); 6924Assert.Equal(0, semanticInfo.MethodGroup.Length); 6969Assert.Equal(0, semanticInfo.MethodGroup.Length); 7051Assert.Equal(0, semanticInfo.MethodGroup.Length); 7082Assert.Equal(1, semanticInfo.MethodGroup.Length); 7083var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 7110Assert.Equal(1, semanticInfo.MethodGroup.Length); 7111var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 7141Assert.Equal(1, semanticInfo.MethodGroup.Length); 7142var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 7173Assert.Equal(0, semanticInfo.MethodGroup.Length); 7205Assert.Equal(0, semanticInfo.MethodGroup.Length); 7237Assert.Equal(0, semanticInfo.MethodGroup.Length); 7266Assert.Equal(0, semanticInfo.MethodGroup.Length); 7293Assert.Equal(0, semanticInfo.MethodGroup.Length); 7320Assert.Equal(0, semanticInfo.MethodGroup.Length); 7347Assert.Equal(0, semanticInfo.MethodGroup.Length); 7403Assert.Equal(0, semanticInfo.MethodGroup.Length); 7429Assert.Equal(0, semanticInfo.MethodGroup.Length); 7457Assert.Equal(0, semanticInfo.MethodGroup.Length); 7490Assert.Equal(0, semanticInfo.MethodGroup.Length); 7556Assert.Equal(0, semanticInfo.MethodGroup.Length); 7594Assert.Equal(0, semanticInfo.MethodGroup.Length); 7627Assert.Equal(0, semanticInfo.MethodGroup.Length); 7664Assert.Equal(0, semanticInfo.MethodGroup.Length); 7822Assert.Equal(0, semanticInfo.MethodGroup.Length); 7855Assert.Equal(0, semanticInfo.MethodGroup.Length); 7887Assert.Equal(0, semanticInfo.MethodGroup.Length); 7921Assert.Equal(0, semanticInfo.MethodGroup.Length); 7953Assert.Equal(0, semanticInfo.MethodGroup.Length); 7987Assert.Equal(0, semanticInfo.MethodGroup.Length); 8023Assert.Equal(1, semanticInfo.MethodGroup.Length); 8024Assert.Equal("System.Int32 Program.f()", semanticInfo.MethodGroup[0].ToTestDisplayString()); 8040Assert.Equal(1, semanticInfo.MethodGroup.Length); 8041Assert.Equal("System.Int32 Program.f()", semanticInfo.MethodGroup[0].ToTestDisplayString()); 8076Assert.Equal(1, semanticInfo.MethodGroup.Length); 8077Assert.Equal("System.Int32 Program.f()", semanticInfo.MethodGroup[0].ToTestDisplayString()); 8093Assert.Equal(1, semanticInfo.MethodGroup.Length); 8094Assert.Equal("System.Int32 Program.f()", semanticInfo.MethodGroup[0].ToTestDisplayString()); 8376Assert.Equal(1, semanticInfo.MethodGroup.Length); 8377var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 8410Assert.Equal(1, semanticInfo.MethodGroup.Length); 8411var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 8518Assert.Equal(0, semanticInfo.MethodGroup.Length); 8564Assert.Equal(0, semanticInfo.MethodGroup.Length); 8609Assert.Equal(0, semanticInfo.MethodGroup.Length); 8648Assert.Equal(0, semanticInfo.MethodGroup.Length); 8688Assert.Equal(1, semanticInfo.MethodGroup.Length); 8689var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 8730Assert.Equal(0, semanticInfo.MethodGroup.Length); 8772Assert.Equal(0, semanticInfo.MethodGroup.Length); 8813Assert.Equal(0, semanticInfo.MethodGroup.Length); 8855Assert.Equal(0, semanticInfo.MethodGroup.Length); 8897Assert.Equal(0, semanticInfo.MethodGroup.Length); 8937Assert.Equal(0, semanticInfo.MethodGroup.Length); 9066Assert.Equal(1, semanticInfo.MethodGroup.Length); 9067var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 9130Assert.Equal(0, semanticInfo.MethodGroup.Length); 9367Assert.Equal(0, semanticInfo.MethodGroup.Length); 9426Assert.Equal(0, semanticInfo.MethodGroup.Length); 9466Assert.Equal(3, semanticInfo.MethodGroup.Length); 9467var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 9537Assert.Equal(0, semanticInfo.MethodGroup.Length); 9574Assert.Equal(0, semanticInfo.MethodGroup.Length); 9623Assert.Equal(0, semanticInfo.MethodGroup.Length); 9673Assert.Equal(1, semanticInfo.MethodGroup.Length); 9674Assert.Equal("ValidWithSuffix_And_ValidWithoutSuffix.Description.Description(string)", semanticInfo.MethodGroup[0].ToDisplayString()); 9724Assert.Equal(1, semanticInfo.MethodGroup.Length); 9725Assert.Equal("ValidWithSuffix_And_ValidWithoutSuffix.DescriptionAttribute.DescriptionAttribute(string)", semanticInfo.MethodGroup[0].ToDisplayString()); 9789Assert.Equal(0, semanticInfo.MethodGroup.Length); 9838Assert.Equal(1, semanticInfo.MethodGroup.Length); 9839var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 9895Assert.Equal(0, semanticInfo.MethodGroup.Length); 9921Assert.Equal(1, semanticInfo.MethodGroup.Length); 9922var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 9955Assert.Equal(3, semanticInfo.MethodGroup.Length); 9956var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 9991Assert.Equal(3, semanticInfo.MethodGroup.Length); 9992var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 10027Assert.Equal(3, semanticInfo.MethodGroup.Length); 10028var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 10063Assert.Equal(3, semanticInfo.MethodGroup.Length); 10064var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 10107Assert.Equal(0, semanticInfo.MethodGroup.Length); 10144Assert.Equal(0, semanticInfo.MethodGroup.Length); 10184Assert.Equal(1, semanticInfo.MethodGroup.Length); 10185var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 10223Assert.Equal(1, semanticInfo.MethodGroup.Length); 10224var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 10254Assert.Equal(1, semanticInfo.MethodGroup.Length); 10255var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 10289Assert.Equal(1, semanticInfo.MethodGroup.Length); 10290var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 10326Assert.Equal(0, semanticInfo.MethodGroup.Length); 10360Assert.Equal(0, semanticInfo.MethodGroup.Length); 10394Assert.Equal(0, semanticInfo.MethodGroup.Length); 10437Assert.Equal(0, semanticInfo.MethodGroup.Length); 10472Assert.Equal(0, semanticInfo.MethodGroup.Length); 10500Assert.Equal(0, semanticInfo.MethodGroup.Length); 10530Assert.Equal(0, semanticInfo.MethodGroup.Length); 10564Assert.Equal(0, semanticInfo.MethodGroup.Length); 10607Assert.Equal(0, semanticInfo.MethodGroup.Length); 10644Assert.Equal(0, semanticInfo.MethodGroup.Length); 10681Assert.Equal(0, semanticInfo.MethodGroup.Length); 10720Assert.Equal(0, semanticInfo.MethodGroup.Length); 10763Assert.Equal(0, semanticInfo.MethodGroup.Length); 10805Assert.Equal(0, semanticInfo.MethodGroup.Length); 10842Assert.Equal(1, semanticInfo.MethodGroup.Length); 10843var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 10908Assert.Equal(0, semanticInfo.MethodGroup.Length); 11155Assert.Equal(3, semanticInfo.MethodGroup.Length); 11156var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 11192Assert.Equal(0, semanticInfo.MethodGroup.Length); 11231Assert.Equal(2, semanticInfo.MethodGroup.Length); 11232var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 11270Assert.Equal(0, semanticInfo.MethodGroup.Length); 11307Assert.Equal(0, semanticInfo.MethodGroup.Length); 11344Assert.Equal(0, semanticInfo.MethodGroup.Length); 11384Assert.Equal(0, semanticInfo.MethodGroup.Length); 11431Assert.Equal(0, semanticInfo.MethodGroup.Length); 11464Assert.Equal(0, semanticInfo.MethodGroup.Length); 11501Assert.Equal(0, semanticInfo.MethodGroup.Length); 11542Assert.Equal(1, semanticInfo.MethodGroup.Length); 11543var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 11579Assert.Equal(0, semanticInfo.MethodGroup.Length); 11611Assert.Equal(1, semanticInfo.MethodGroup.Length); 11612var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 11643Assert.Equal(0, semanticInfo.MethodGroup.Length); 11677Assert.Equal(0, semanticInfo.MethodGroup.Length); 11714Assert.Equal(0, semanticInfo.MethodGroup.Length); 11763Assert.Equal(0, semanticInfo.MethodGroup.Length); 11799Assert.Equal(0, semanticInfo.MethodGroup.Length); 11835Assert.Equal(0, semanticInfo.MethodGroup.Length); 11870Assert.Equal(0, semanticInfo.MethodGroup.Length); 11905Assert.Equal(0, semanticInfo.MethodGroup.Length); 11941Assert.Equal(0, semanticInfo.MethodGroup.Length); 11977Assert.Equal(0, semanticInfo.MethodGroup.Length); 12012Assert.Equal(0, semanticInfo.MethodGroup.Length); 12047Assert.Equal(0, semanticInfo.MethodGroup.Length); 12083Assert.Equal(0, semanticInfo.MethodGroup.Length); 12158Assert.Equal(0, semanticInfo.MethodGroup.Length); 12191Assert.Equal(0, semanticInfo.MethodGroup.Length); 12226Assert.Equal(0, semanticInfo.MethodGroup.Length); 12261Assert.Equal(0, semanticInfo.MethodGroup.Length); 12294Assert.Equal(0, semanticInfo.MethodGroup.Length); 12327Assert.Equal(0, semanticInfo.MethodGroup.Length); 12457Assert.Equal(0, semanticInfo.MethodGroup.Length); 12488Assert.Equal(0, semanticInfo.MethodGroup.Length); 12531Assert.Equal(0, semanticInfo.MethodGroup.Length); 12571Assert.Equal(0, semanticInfo.MethodGroup.Length); 12614Assert.Equal(0, semanticInfo.MethodGroup.Length); 12648Assert.Equal(0, semanticInfo.MethodGroup.Length); 12680Assert.Equal(1, semanticInfo.MethodGroup.Length); 12681Assert.Equal("MemberInitializerTest..ctor()", semanticInfo.MethodGroup[0].ToTestDisplayString()); 12711Assert.Equal(0, semanticInfo.MethodGroup.Length); 12743Assert.Equal(0, semanticInfo.MethodGroup.Length); 12775Assert.Equal(0, semanticInfo.MethodGroup.Length); 12807Assert.Equal(0, semanticInfo.MethodGroup.Length); 12850Assert.Equal(0, semanticInfo.MethodGroup.Length); 12887Assert.Equal(0, semanticInfo.MethodGroup.Length); 12926Assert.Equal(0, semanticInfo.MethodGroup.Length); 12965Assert.Equal(0, semanticInfo.MethodGroup.Length); 13003Assert.Equal(0, semanticInfo.MethodGroup.Length); 13044Assert.Equal(0, semanticInfo.MethodGroup.Length); 13072Assert.Equal(0, semanticInfo.MethodGroup.Length); 13102Assert.Equal(0, semanticInfo.MethodGroup.Length); 13136Assert.Equal(0, semanticInfo.MethodGroup.Length); 13170Assert.Equal(0, semanticInfo.MethodGroup.Length); 13204Assert.Equal(0, semanticInfo.MethodGroup.Length); 13235Assert.Equal(1, semanticInfo.MethodGroup.Length); 13236var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 13267Assert.Equal(0, semanticInfo.MethodGroup.Length); 13327Assert.Equal(1, semanticInfo.MethodGroup.Length); 13328Assert.Equal("B..ctor()", semanticInfo.MethodGroup[0].ToTestDisplayString()); 13386Assert.Equal(0, semanticInfo.MethodGroup.Length); 13446Assert.Equal(0, semanticInfo.MethodGroup.Length); 13507Assert.Equal(0, semanticInfo.MethodGroup.Length); 13565Assert.Equal(0, semanticInfo.MethodGroup.Length); 13595Assert.Equal(0, semanticInfo.MethodGroup.Length); 13660Assert.Equal(0, semanticInfo.MethodGroup.Length); 13689Assert.Equal(0, semanticInfo.MethodGroup.Length); 13745Assert.Equal(0, semanticInfo.MethodGroup.Length); 13778Assert.Equal(0, semanticInfo.MethodGroup.Length); 13809Assert.Equal(0, semanticInfo.MethodGroup.Length); 13843Assert.Equal(0, semanticInfo.MethodGroup.Length); 13880Assert.Equal(1, semanticInfo.MethodGroup.Length); 13881var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 13919Assert.Equal(1, semanticInfo.MethodGroup.Length); 13920var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 13955Assert.Equal(0, semanticInfo.MethodGroup.Length); 13982Assert.Equal(0, semanticInfo.MethodGroup.Length); 14009Assert.Equal(0, semanticInfo.MethodGroup.Length); 14046Assert.Equal(0, semanticInfo.MethodGroup.Length); 14085Assert.Equal(0, semanticInfo.MethodGroup.Length); 14123Assert.Equal(1, semanticInfo.MethodGroup.Length); 14124Assert.Equal("CoClassType..ctor()", semanticInfo.MethodGroup[0].ToTestDisplayString()); 14163Assert.Equal(0, semanticInfo.MethodGroup.Length); 14205Assert.Equal(0, semanticInfo.MethodGroup.Length); 14249Assert.Equal(1, semanticInfo.MethodGroup.Length); 14250var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 14295Assert.Equal(0, semanticInfo.MethodGroup.Length); 14344Assert.Equal(1, semanticInfo.MethodGroup.Length); 14345Assert.Equal("Wrapper.CoClassType..ctor()", semanticInfo.MethodGroup[0].ToTestDisplayString()); 14385Assert.Equal(0, semanticInfo.MethodGroup.Length); 14425Assert.Equal(0, semanticInfo.MethodGroup.Length); 14514Assert.Equal(0, semanticInfo.MethodGroup.Length); 14546Assert.Equal(0, semanticInfo.MethodGroup.Length); 14630Assert.Equal(0, semanticInfo.MethodGroup.Length); 14669Assert.Equal(1, semanticInfo.MethodGroup.Length); 14670var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 15088Assert.Equal(0, semanticInfo.MethodGroup.Length); 15122Assert.Equal(2, semanticInfo.MethodGroup.Length); 15123var sortedMethodGroup = semanticInfo.MethodGroup.AsEnumerable().OrderBy(s => s.ToDisplayString(), StringComparer.Ordinal).ToArray(); 15156Assert.Equal(0, semanticInfo.MethodGroup.Length); 15187Assert.Equal(0, semanticInfo.MethodGroup.Length); 15218Assert.Equal(0, semanticInfo.MethodGroup.Length); 15249Assert.Equal(0, semanticInfo.MethodGroup.Length); 15280Assert.Equal(0, semanticInfo.MethodGroup.Length); 15307Assert.Equal(0, semanticInfo.MethodGroup.Length); 15342Assert.Equal(0, semanticInfo.MethodGroup.Length); 15409Assert.Equal(0, semanticInfo.MethodGroup.Length);
Compilation\SemanticModelGetSemanticInfoTests_LateBound.cs (29)
44Assert.Equal(3, semanticInfo.MethodGroup.Length); 90Assert.Equal(1, semanticInfo.MethodGroup.Length); 119Assert.Equal(2, semanticInfo.MethodGroup.Length); 120Assert.Equal("C..ctor(out dynamic x, System.Int32 y)", semanticInfo.MethodGroup[0].ToTestDisplayString()); 121Assert.Equal("C..ctor(out dynamic x, System.Int64 y)", semanticInfo.MethodGroup[1].ToTestDisplayString()); 147Assert.Equal(0, semanticInfo.MethodGroup.Length); 173Assert.Equal(0, semanticInfo.MethodGroup.Length); 208Assert.Equal(2, semanticInfo.MethodGroup.Length); 232Assert.Equal(1, semanticInfo.MethodGroup.Length); 248Assert.Equal(1, semanticInfo.MethodGroup.Length); 272Assert.Equal(2, semanticInfo.MethodGroup.Length); 295Assert.Equal(2, semanticInfo.MethodGroup.Length); 324Assert.Equal(3, semanticInfo.MethodGroup.Length); 353Assert.Equal(2, semanticInfo.MethodGroup.Length); 430Assert.Equal(2, semanticInfo.MethodGroup.Length); 431Assert.Equal("dynamic Dynamic.FunctionTestingWithOverloading.OverloadedFunction(System.Int32 d)", semanticInfo.MethodGroup[0].ToTestDisplayString()); 432Assert.Equal("dynamic Dynamic.FunctionTestingWithOverloading.OverloadedFunction(System.Int64 d)", semanticInfo.MethodGroup[1].ToTestDisplayString()); 524Assert.Equal(0, semanticInfo.MethodGroup.Length); 559Assert.Equal(0, semanticInfo.MethodGroup.Length); 593Assert.Equal(0, semanticInfo.MethodGroup.Length); 621Assert.Equal(0, semanticInfo.MethodGroup.Length); 658Assert.Equal(0, semanticInfo.MethodGroup.Length); 685Assert.Equal(0, semanticInfo.MethodGroup.Length); 721Assert.Equal(0, semanticInfo.MethodGroup.Length); 751Assert.Equal(0, semanticInfo.MethodGroup.Length); 777Assert.Equal(0, semanticInfo.MethodGroup.Length); 804Assert.Equal(0, semanticInfo.MethodGroup.Length); 832Assert.Equal(0, semanticInfo.MethodGroup.Length); 863Assert.Equal(0, semanticInfo.MethodGroup.Length);