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); 284Assert.Equal(0, semanticInfo.MethodGroup.Length); 321Assert.Equal(0, semanticInfo.MethodGroup.Length); 474Assert.Equal(0, semanticInfo.MethodGroup.Length); 514Assert.Equal(0, semanticInfo.MethodGroup.Length); 559Assert.Equal(0, semanticInfo.MethodGroup.Length); 607Assert.Equal(0, semanticInfo.MethodGroup.Length); 655Assert.Equal(0, semanticInfo.MethodGroup.Length); 708Assert.Equal(0, semanticInfo.MethodGroup.Length); 738Assert.Equal(0, semanticInfo.MethodGroup.Length); 772Assert.Equal(0, semanticInfo.MethodGroup.Length); 807Assert.Equal(1, semanticInfo.MethodGroup.Length); 808var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 840Utils.CheckISymbols(semanticInfo.MethodGroup, 850Utils.CheckReducedExtensionMethod(semanticInfo.MethodGroup[3].GetSymbol(), 877Utils.CheckISymbols(semanticInfo.MethodGroup, 898Utils.CheckISymbols(semanticInfo.MethodGroup, 927Utils.CheckISymbols(semanticInfo.MethodGroup, 953Utils.CheckISymbols(semanticInfo.MethodGroup, 977Utils.CheckISymbols(semanticInfo.MethodGroup); 995Utils.CheckISymbols(semanticInfo.MethodGroup); 1015Utils.CheckISymbols(semanticInfo.MethodGroup); 1035Utils.CheckISymbols(semanticInfo.MethodGroup); 1060Utils.CheckISymbols(semanticInfo.MethodGroup, 1080Utils.CheckISymbols(semanticInfo.MethodGroup, 1652Assert.Equal(0, semanticInfo.MethodGroup.Length); 1696Assert.Equal(0, semanticInfo.MethodGroup.Length); 1728Assert.Equal(0, semanticInfo.MethodGroup.Length); 1756Assert.Equal(0, semanticInfo.MethodGroup.Length); 1787Assert.Equal(0, semanticInfo.MethodGroup.Length); 1816Assert.Equal(0, semanticInfo.MethodGroup.Length); 1846Assert.Equal(0, semanticInfo.MethodGroup.Length); 1876Assert.Equal(0, semanticInfo.MethodGroup.Length); 1906Assert.Equal(0, semanticInfo.MethodGroup.Length); 1935Assert.Equal(0, semanticInfo.MethodGroup.Length); 1965Assert.Equal(0, semanticInfo.MethodGroup.Length); 1995Assert.Equal(0, semanticInfo.MethodGroup.Length); 2025Assert.Equal(0, semanticInfo.MethodGroup.Length); 2057Assert.Equal(0, semanticInfo.MethodGroup.Length); 2089Assert.Equal(0, semanticInfo.MethodGroup.Length); 2127Assert.Equal(0, semanticInfo.MethodGroup.Length); 2160Assert.Equal(0, semanticInfo.MethodGroup.Length); 2200Assert.Equal(0, semanticInfo.MethodGroup.Length); 2227Assert.Equal(0, semanticInfo.MethodGroup.Length); 2272Assert.Equal(0, semanticInfo.MethodGroup.Length); 2307Assert.Equal(0, semanticInfo.MethodGroup.Length); 2357Assert.Equal(0, semanticInfo.MethodGroup.Length); 2403Assert.Equal(0, semanticInfo.MethodGroup.Length); 2446Assert.Equal(0, semanticInfo.MethodGroup.Length); 2501Assert.Equal(0, semanticInfo.MethodGroup.Length); 2553Assert.Equal(0, semanticInfo.MethodGroup.Length); 2586Assert.Equal(0, semanticInfo.MethodGroup.Length); 2621Assert.Equal(0, semanticInfo.MethodGroup.Length); 2658Assert.Equal(2, semanticInfo.MethodGroup.Length); 2659var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 2704Assert.Equal(0, semanticInfo.MethodGroup.Length); 2745Assert.Equal(2, semanticInfo.MethodGroup.Length); 2746var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 2795Assert.Equal(2, semanticInfo.MethodGroup.Length); 2796var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 2839Assert.Equal(1, semanticInfo.MethodGroup.Length); 2840var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 2879Assert.Equal(0, semanticInfo.MethodGroup.Length); 2915Assert.Equal(2, semanticInfo.MethodGroup.Length); 2916var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 3028Assert.Equal(1, semanticInfo.MethodGroup.Length); 3029var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 3081Assert.Equal(0, semanticInfo.MethodGroup.Length); 3126Assert.Equal(0, semanticInfo.MethodGroup.Length); 3166Assert.Equal(1, semanticInfo.MethodGroup.Length); 3167var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 3208Assert.Equal(2, semanticInfo.MethodGroup.Length); 3209var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 3254Assert.Equal(1, semanticInfo.MethodGroup.Length); 3255var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 3293Assert.Equal(1, semanticInfo.MethodGroup.Length); 3294var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 3329Assert.Equal(1, semanticInfo.MethodGroup.Length); 3330var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 3366Assert.Equal(1, semanticInfo.MethodGroup.Length); 3367var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 3403Assert.Equal(0, semanticInfo.MethodGroup.Length); 3434Assert.Equal(0, semanticInfo.MethodGroup.Length); 3466Assert.Equal(0, semanticInfo.MethodGroup.Length); 3501Assert.Equal(0, semanticInfo.MethodGroup.Length); 3535Assert.Equal(0, semanticInfo.MethodGroup.Length); 3564Assert.Equal(0, semanticInfo.MethodGroup.Length); 3598Assert.Equal(0, semanticInfo.MethodGroup.Length); 3636Assert.Equal(0, semanticInfo.MethodGroup.Length); 3680Assert.Equal(0, semanticInfo.MethodGroup.Length); 3714Assert.Equal(0, semanticInfo.MethodGroup.Length); 3748Assert.Equal(0, semanticInfo.MethodGroup.Length); 3782Assert.Equal(0, semanticInfo.MethodGroup.Length); 3812Assert.Equal(0, semanticInfo.MethodGroup.Length); 3846Assert.Equal(0, semanticInfo.MethodGroup.Length); 3873Assert.Equal(1, semanticInfo.MethodGroup.Length); 3874Assert.Equal("C..ctor()", semanticInfo.MethodGroup[0].ToTestDisplayString()); 3908Assert.Equal(0, semanticInfo.MethodGroup.Length); 3945Assert.Equal(0, semanticInfo.MethodGroup.Length); 3981Assert.Equal(0, semanticInfo.MethodGroup.Length); 4016Assert.Equal(0, semanticInfo.MethodGroup.Length); 4047Assert.Equal(0, semanticInfo.MethodGroup.Length); 4081Assert.Equal(1, semanticInfo.MethodGroup.Length); 4082Assert.Equal("C..ctor()", semanticInfo.MethodGroup[0].ToTestDisplayString()); 4115Assert.Equal(0, semanticInfo.MethodGroup.Length); 4144Assert.Equal(0, semanticInfo.MethodGroup.Length); 4168Assert.Equal(0, semanticInfo.MethodGroup.Length); 4194Assert.Equal(0, semanticInfo.MethodGroup.Length); 4225Assert.Equal(0, semanticInfo.MethodGroup.Length); 4255Assert.Equal(1, semanticInfo.MethodGroup.Length); 4256var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 4294Assert.Equal(0, semanticInfo.MethodGroup.Length); 4327Assert.Equal(0, semanticInfo.MethodGroup.Length); 4381Assert.Equal(0, semanticInfo.MethodGroup.Length); 4418Assert.Equal(0, semanticInfo.MethodGroup.Length); 4456Assert.Equal(0, semanticInfo.MethodGroup.Length); 4483Assert.Equal(0, semanticInfo.MethodGroup.Length); 4578Assert.Equal(0, semanticInfo.MethodGroup.Length); 4616Assert.Equal(0, semanticInfo.MethodGroup.Length); 4652Assert.Equal(0, semanticInfo.MethodGroup.Length); 4682Assert.Equal(0, semanticInfo.MethodGroup.Length); 4720Assert.Equal(0, semanticInfo.MethodGroup.Length); 4756Assert.Equal(0, semanticInfo.MethodGroup.Length); 4792Assert.Equal(0, semanticInfo.MethodGroup.Length); 4823Assert.Equal(0, semanticInfo.MethodGroup.Length); 4860Assert.Equal(0, semanticInfo.MethodGroup.Length); 4888Assert.Equal(0, semanticInfo.MethodGroup.Length); 4931Assert.Equal(2, semanticInfo.MethodGroup.Length); 4932var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 4980Assert.Equal(3, semanticInfo.MethodGroup.Length); 4981sortedCandidates = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 5032Assert.Equal(3, semanticInfo.MethodGroup.Length); 5033sortedCandidates = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 5076Assert.Equal(0, semanticInfo.MethodGroup.Length); 5119Assert.Equal(3, semanticInfo.MethodGroup.Length); 5120var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 5165Assert.Equal(3, semanticInfo.MethodGroup.Length); 5166var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 5208Assert.Equal(2, semanticInfo.MethodGroup.Length); 5209var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 5248Assert.Equal(0, semanticInfo.MethodGroup.Length); 5287Assert.Equal(2, semanticInfo.MethodGroup.Length); 5288var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 5329Assert.Equal(2, semanticInfo.MethodGroup.Length); 5330var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 5415Assert.Equal(1, semanticInfo.MethodGroup.Length); 5416var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 5460Assert.Equal(0, semanticInfo.MethodGroup.Length); 5489Assert.Equal(0, semanticInfo.MethodGroup.Length); 5518Assert.Equal(0, semanticInfo.MethodGroup.Length); 5551Assert.Equal(0, semanticInfo.MethodGroup.Length); 5583Assert.Equal(0, semanticInfo.MethodGroup.Length); 5615Assert.Equal(0, semanticInfo.MethodGroup.Length); 5671Assert.Equal(0, semanticInfo.MethodGroup.Length); 5707Assert.Equal(0, semanticInfo.MethodGroup.Length); 5737Assert.Equal(0, semanticInfo.MethodGroup.Length); 5770Assert.Equal(0, semanticInfo.MethodGroup.Length); 5804Assert.Equal(0, semanticInfo.MethodGroup.Length); 5837Assert.Equal(0, semanticInfo.MethodGroup.Length); 5871Assert.Equal(0, semanticInfo.MethodGroup.Length); 5905Assert.Equal(0, semanticInfo.MethodGroup.Length); 5940Assert.Equal(0, semanticInfo.MethodGroup.Length); 5973Assert.Equal(0, semanticInfo.MethodGroup.Length); 6007Assert.Equal(0, semanticInfo.MethodGroup.Length); 6040Assert.Equal(0, semanticInfo.MethodGroup.Length); 6068Assert.Equal(0, semanticInfo.MethodGroup.Length); 6100Assert.Equal(0, semanticInfo.MethodGroup.Length); 6126Assert.Equal(0, semanticInfo.MethodGroup.Length); 6153Assert.Equal(0, semanticInfo.MethodGroup.Length); 6186Assert.Equal(0, semanticInfo.MethodGroup.Length); 6338Assert.Equal(0, semanticInfo.MethodGroup.Length); 6378Assert.Equal(1, semanticInfo.MethodGroup.Length); 6379var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 6408Assert.Equal(1, semanticInfo.MethodGroup.Length); 6409var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 6445Assert.Equal(2, semanticInfo.MethodGroup.Length); 6446var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 6528Assert.Equal(0, semanticInfo.MethodGroup.Length); 6563Assert.Equal(0, semanticInfo.MethodGroup.Length); 6600Assert.Equal(0, semanticInfo.MethodGroup.Length); 6650Assert.Equal(0, semanticInfo.MethodGroup.Length); 6815Assert.Equal(0, semanticInfo.MethodGroup.Length); 6884Assert.Equal(0, semanticInfo.MethodGroup.Length); 6929Assert.Equal(0, semanticInfo.MethodGroup.Length); 6974Assert.Equal(0, semanticInfo.MethodGroup.Length); 7056Assert.Equal(0, semanticInfo.MethodGroup.Length); 7087Assert.Equal(1, semanticInfo.MethodGroup.Length); 7088var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 7115Assert.Equal(1, semanticInfo.MethodGroup.Length); 7116var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 7146Assert.Equal(1, semanticInfo.MethodGroup.Length); 7147var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 7178Assert.Equal(0, semanticInfo.MethodGroup.Length); 7210Assert.Equal(0, semanticInfo.MethodGroup.Length); 7242Assert.Equal(0, semanticInfo.MethodGroup.Length); 7271Assert.Equal(0, semanticInfo.MethodGroup.Length); 7298Assert.Equal(0, semanticInfo.MethodGroup.Length); 7325Assert.Equal(0, semanticInfo.MethodGroup.Length); 7352Assert.Equal(0, semanticInfo.MethodGroup.Length); 7408Assert.Equal(0, semanticInfo.MethodGroup.Length); 7434Assert.Equal(0, semanticInfo.MethodGroup.Length); 7462Assert.Equal(0, semanticInfo.MethodGroup.Length); 7495Assert.Equal(0, semanticInfo.MethodGroup.Length); 7561Assert.Equal(0, semanticInfo.MethodGroup.Length); 7599Assert.Equal(0, semanticInfo.MethodGroup.Length); 7632Assert.Equal(0, semanticInfo.MethodGroup.Length); 7669Assert.Equal(0, semanticInfo.MethodGroup.Length); 7827Assert.Equal(0, semanticInfo.MethodGroup.Length); 7860Assert.Equal(0, semanticInfo.MethodGroup.Length); 7892Assert.Equal(0, semanticInfo.MethodGroup.Length); 7926Assert.Equal(0, semanticInfo.MethodGroup.Length); 7958Assert.Equal(0, semanticInfo.MethodGroup.Length); 7992Assert.Equal(0, semanticInfo.MethodGroup.Length); 8028Assert.Equal(1, semanticInfo.MethodGroup.Length); 8029Assert.Equal("System.Int32 Program.f()", semanticInfo.MethodGroup[0].ToTestDisplayString()); 8045Assert.Equal(1, semanticInfo.MethodGroup.Length); 8046Assert.Equal("System.Int32 Program.f()", semanticInfo.MethodGroup[0].ToTestDisplayString()); 8081Assert.Equal(1, semanticInfo.MethodGroup.Length); 8082Assert.Equal("System.Int32 Program.f()", semanticInfo.MethodGroup[0].ToTestDisplayString()); 8098Assert.Equal(1, semanticInfo.MethodGroup.Length); 8099Assert.Equal("System.Int32 Program.f()", semanticInfo.MethodGroup[0].ToTestDisplayString()); 8381Assert.Equal(1, semanticInfo.MethodGroup.Length); 8382var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 8415Assert.Equal(1, semanticInfo.MethodGroup.Length); 8416var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 8523Assert.Equal(0, semanticInfo.MethodGroup.Length); 8569Assert.Equal(0, semanticInfo.MethodGroup.Length); 8614Assert.Equal(0, semanticInfo.MethodGroup.Length); 8653Assert.Equal(0, semanticInfo.MethodGroup.Length); 8693Assert.Equal(1, semanticInfo.MethodGroup.Length); 8694var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 8735Assert.Equal(0, semanticInfo.MethodGroup.Length); 8777Assert.Equal(0, semanticInfo.MethodGroup.Length); 8818Assert.Equal(0, semanticInfo.MethodGroup.Length); 8860Assert.Equal(0, semanticInfo.MethodGroup.Length); 8902Assert.Equal(0, semanticInfo.MethodGroup.Length); 8942Assert.Equal(0, semanticInfo.MethodGroup.Length); 9071Assert.Equal(1, semanticInfo.MethodGroup.Length); 9072var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 9135Assert.Equal(0, semanticInfo.MethodGroup.Length); 9372Assert.Equal(0, semanticInfo.MethodGroup.Length); 9431Assert.Equal(0, semanticInfo.MethodGroup.Length); 9471Assert.Equal(3, semanticInfo.MethodGroup.Length); 9472var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 9542Assert.Equal(0, semanticInfo.MethodGroup.Length); 9579Assert.Equal(0, semanticInfo.MethodGroup.Length); 9628Assert.Equal(0, semanticInfo.MethodGroup.Length); 9678Assert.Equal(1, semanticInfo.MethodGroup.Length); 9679Assert.Equal("ValidWithSuffix_And_ValidWithoutSuffix.Description.Description(string)", semanticInfo.MethodGroup[0].ToDisplayString()); 9729Assert.Equal(1, semanticInfo.MethodGroup.Length); 9730Assert.Equal("ValidWithSuffix_And_ValidWithoutSuffix.DescriptionAttribute.DescriptionAttribute(string)", semanticInfo.MethodGroup[0].ToDisplayString()); 9794Assert.Equal(0, semanticInfo.MethodGroup.Length); 9843Assert.Equal(1, semanticInfo.MethodGroup.Length); 9844var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 9900Assert.Equal(0, semanticInfo.MethodGroup.Length); 9926Assert.Equal(1, semanticInfo.MethodGroup.Length); 9927var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 9960Assert.Equal(3, semanticInfo.MethodGroup.Length); 9961var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 9996Assert.Equal(3, semanticInfo.MethodGroup.Length); 9997var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 10032Assert.Equal(3, semanticInfo.MethodGroup.Length); 10033var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 10068Assert.Equal(3, semanticInfo.MethodGroup.Length); 10069var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 10112Assert.Equal(0, semanticInfo.MethodGroup.Length); 10149Assert.Equal(0, semanticInfo.MethodGroup.Length); 10189Assert.Equal(1, semanticInfo.MethodGroup.Length); 10190var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 10228Assert.Equal(1, semanticInfo.MethodGroup.Length); 10229var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 10259Assert.Equal(1, semanticInfo.MethodGroup.Length); 10260var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 10294Assert.Equal(1, semanticInfo.MethodGroup.Length); 10295var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 10331Assert.Equal(0, semanticInfo.MethodGroup.Length); 10365Assert.Equal(0, semanticInfo.MethodGroup.Length); 10399Assert.Equal(0, semanticInfo.MethodGroup.Length); 10442Assert.Equal(0, semanticInfo.MethodGroup.Length); 10477Assert.Equal(0, semanticInfo.MethodGroup.Length); 10505Assert.Equal(0, semanticInfo.MethodGroup.Length); 10535Assert.Equal(0, semanticInfo.MethodGroup.Length); 10569Assert.Equal(0, semanticInfo.MethodGroup.Length); 10612Assert.Equal(0, semanticInfo.MethodGroup.Length); 10649Assert.Equal(0, semanticInfo.MethodGroup.Length); 10686Assert.Equal(0, semanticInfo.MethodGroup.Length); 10725Assert.Equal(0, semanticInfo.MethodGroup.Length); 10768Assert.Equal(0, semanticInfo.MethodGroup.Length); 10810Assert.Equal(0, semanticInfo.MethodGroup.Length); 10847Assert.Equal(1, semanticInfo.MethodGroup.Length); 10848var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 10913Assert.Equal(0, semanticInfo.MethodGroup.Length); 11160Assert.Equal(3, semanticInfo.MethodGroup.Length); 11161var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 11197Assert.Equal(0, semanticInfo.MethodGroup.Length); 11236Assert.Equal(2, semanticInfo.MethodGroup.Length); 11237var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 11275Assert.Equal(0, semanticInfo.MethodGroup.Length); 11312Assert.Equal(0, semanticInfo.MethodGroup.Length); 11349Assert.Equal(0, semanticInfo.MethodGroup.Length); 11389Assert.Equal(0, semanticInfo.MethodGroup.Length); 11436Assert.Equal(0, semanticInfo.MethodGroup.Length); 11469Assert.Equal(0, semanticInfo.MethodGroup.Length); 11506Assert.Equal(0, semanticInfo.MethodGroup.Length); 11547Assert.Equal(1, semanticInfo.MethodGroup.Length); 11548var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 11584Assert.Equal(0, semanticInfo.MethodGroup.Length); 11616Assert.Equal(1, semanticInfo.MethodGroup.Length); 11617var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 11648Assert.Equal(0, semanticInfo.MethodGroup.Length); 11682Assert.Equal(0, semanticInfo.MethodGroup.Length); 11719Assert.Equal(0, semanticInfo.MethodGroup.Length); 11768Assert.Equal(0, semanticInfo.MethodGroup.Length); 11804Assert.Equal(0, semanticInfo.MethodGroup.Length); 11840Assert.Equal(0, semanticInfo.MethodGroup.Length); 11875Assert.Equal(0, semanticInfo.MethodGroup.Length); 11910Assert.Equal(0, semanticInfo.MethodGroup.Length); 11946Assert.Equal(0, semanticInfo.MethodGroup.Length); 11982Assert.Equal(0, semanticInfo.MethodGroup.Length); 12017Assert.Equal(0, semanticInfo.MethodGroup.Length); 12052Assert.Equal(0, semanticInfo.MethodGroup.Length); 12088Assert.Equal(0, semanticInfo.MethodGroup.Length); 12163Assert.Equal(0, semanticInfo.MethodGroup.Length); 12196Assert.Equal(0, semanticInfo.MethodGroup.Length); 12231Assert.Equal(0, semanticInfo.MethodGroup.Length); 12266Assert.Equal(0, semanticInfo.MethodGroup.Length); 12299Assert.Equal(0, semanticInfo.MethodGroup.Length); 12332Assert.Equal(0, semanticInfo.MethodGroup.Length); 12462Assert.Equal(0, semanticInfo.MethodGroup.Length); 12493Assert.Equal(0, semanticInfo.MethodGroup.Length); 12536Assert.Equal(0, semanticInfo.MethodGroup.Length); 12576Assert.Equal(0, semanticInfo.MethodGroup.Length); 12619Assert.Equal(0, semanticInfo.MethodGroup.Length); 12653Assert.Equal(0, semanticInfo.MethodGroup.Length); 12685Assert.Equal(1, semanticInfo.MethodGroup.Length); 12686Assert.Equal("MemberInitializerTest..ctor()", semanticInfo.MethodGroup[0].ToTestDisplayString()); 12716Assert.Equal(0, semanticInfo.MethodGroup.Length); 12748Assert.Equal(0, semanticInfo.MethodGroup.Length); 12780Assert.Equal(0, semanticInfo.MethodGroup.Length); 12812Assert.Equal(0, semanticInfo.MethodGroup.Length); 12855Assert.Equal(0, semanticInfo.MethodGroup.Length); 12892Assert.Equal(0, semanticInfo.MethodGroup.Length); 12931Assert.Equal(0, semanticInfo.MethodGroup.Length); 12970Assert.Equal(0, semanticInfo.MethodGroup.Length); 13008Assert.Equal(0, semanticInfo.MethodGroup.Length); 13049Assert.Equal(0, semanticInfo.MethodGroup.Length); 13077Assert.Equal(0, semanticInfo.MethodGroup.Length); 13107Assert.Equal(0, semanticInfo.MethodGroup.Length); 13141Assert.Equal(0, semanticInfo.MethodGroup.Length); 13175Assert.Equal(0, semanticInfo.MethodGroup.Length); 13209Assert.Equal(0, semanticInfo.MethodGroup.Length); 13240Assert.Equal(1, semanticInfo.MethodGroup.Length); 13241var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 13272Assert.Equal(0, semanticInfo.MethodGroup.Length); 13332Assert.Equal(1, semanticInfo.MethodGroup.Length); 13333Assert.Equal("B..ctor()", semanticInfo.MethodGroup[0].ToTestDisplayString()); 13391Assert.Equal(0, semanticInfo.MethodGroup.Length); 13451Assert.Equal(0, semanticInfo.MethodGroup.Length); 13512Assert.Equal(0, semanticInfo.MethodGroup.Length); 13570Assert.Equal(0, semanticInfo.MethodGroup.Length); 13600Assert.Equal(0, semanticInfo.MethodGroup.Length); 13665Assert.Equal(0, semanticInfo.MethodGroup.Length); 13694Assert.Equal(0, semanticInfo.MethodGroup.Length); 13750Assert.Equal(0, semanticInfo.MethodGroup.Length); 13783Assert.Equal(0, semanticInfo.MethodGroup.Length); 13814Assert.Equal(0, semanticInfo.MethodGroup.Length); 13848Assert.Equal(0, semanticInfo.MethodGroup.Length); 13885Assert.Equal(1, semanticInfo.MethodGroup.Length); 13886var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 13924Assert.Equal(1, semanticInfo.MethodGroup.Length); 13925var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 13960Assert.Equal(0, semanticInfo.MethodGroup.Length); 13987Assert.Equal(0, semanticInfo.MethodGroup.Length); 14014Assert.Equal(0, semanticInfo.MethodGroup.Length); 14051Assert.Equal(0, semanticInfo.MethodGroup.Length); 14090Assert.Equal(0, semanticInfo.MethodGroup.Length); 14128Assert.Equal(1, semanticInfo.MethodGroup.Length); 14129Assert.Equal("CoClassType..ctor()", semanticInfo.MethodGroup[0].ToTestDisplayString()); 14168Assert.Equal(0, semanticInfo.MethodGroup.Length); 14210Assert.Equal(0, semanticInfo.MethodGroup.Length); 14254Assert.Equal(1, semanticInfo.MethodGroup.Length); 14255var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 14300Assert.Equal(0, semanticInfo.MethodGroup.Length); 14349Assert.Equal(1, semanticInfo.MethodGroup.Length); 14350Assert.Equal("Wrapper.CoClassType..ctor()", semanticInfo.MethodGroup[0].ToTestDisplayString()); 14390Assert.Equal(0, semanticInfo.MethodGroup.Length); 14430Assert.Equal(0, semanticInfo.MethodGroup.Length); 14519Assert.Equal(0, semanticInfo.MethodGroup.Length); 14551Assert.Equal(0, semanticInfo.MethodGroup.Length); 14635Assert.Equal(0, semanticInfo.MethodGroup.Length); 14674Assert.Equal(1, semanticInfo.MethodGroup.Length); 14675var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 15093Assert.Equal(0, semanticInfo.MethodGroup.Length); 15127Assert.Equal(2, semanticInfo.MethodGroup.Length); 15128var sortedMethodGroup = semanticInfo.MethodGroup.AsEnumerable().OrderBy(s => s.ToDisplayString(), StringComparer.Ordinal).ToArray(); 15161Assert.Equal(0, semanticInfo.MethodGroup.Length); 15192Assert.Equal(0, semanticInfo.MethodGroup.Length); 15223Assert.Equal(0, semanticInfo.MethodGroup.Length); 15254Assert.Equal(0, semanticInfo.MethodGroup.Length); 15285Assert.Equal(0, semanticInfo.MethodGroup.Length); 15312Assert.Equal(0, semanticInfo.MethodGroup.Length); 15347Assert.Equal(0, semanticInfo.MethodGroup.Length); 15414Assert.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);