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); 320Assert.Equal(0, semanticInfo.MethodGroup.Length); 473Assert.Equal(0, semanticInfo.MethodGroup.Length); 513Assert.Equal(0, semanticInfo.MethodGroup.Length); 558Assert.Equal(0, semanticInfo.MethodGroup.Length); 606Assert.Equal(0, semanticInfo.MethodGroup.Length); 654Assert.Equal(0, semanticInfo.MethodGroup.Length); 707Assert.Equal(0, semanticInfo.MethodGroup.Length); 737Assert.Equal(0, semanticInfo.MethodGroup.Length); 771Assert.Equal(0, semanticInfo.MethodGroup.Length); 806Assert.Equal(1, semanticInfo.MethodGroup.Length); 807var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 839Utils.CheckISymbols(semanticInfo.MethodGroup, 849Utils.CheckReducedExtensionMethod(semanticInfo.MethodGroup[3].GetSymbol(), 876Utils.CheckISymbols(semanticInfo.MethodGroup, 897Utils.CheckISymbols(semanticInfo.MethodGroup, 926Utils.CheckISymbols(semanticInfo.MethodGroup, 952Utils.CheckISymbols(semanticInfo.MethodGroup, 976Utils.CheckISymbols(semanticInfo.MethodGroup); 994Utils.CheckISymbols(semanticInfo.MethodGroup); 1014Utils.CheckISymbols(semanticInfo.MethodGroup); 1034Utils.CheckISymbols(semanticInfo.MethodGroup); 1059Utils.CheckISymbols(semanticInfo.MethodGroup, 1079Utils.CheckISymbols(semanticInfo.MethodGroup, 1651Assert.Equal(0, semanticInfo.MethodGroup.Length); 1695Assert.Equal(0, semanticInfo.MethodGroup.Length); 1727Assert.Equal(0, semanticInfo.MethodGroup.Length); 1755Assert.Equal(0, semanticInfo.MethodGroup.Length); 1786Assert.Equal(0, semanticInfo.MethodGroup.Length); 1815Assert.Equal(0, semanticInfo.MethodGroup.Length); 1845Assert.Equal(0, semanticInfo.MethodGroup.Length); 1875Assert.Equal(0, semanticInfo.MethodGroup.Length); 1905Assert.Equal(0, semanticInfo.MethodGroup.Length); 1934Assert.Equal(0, semanticInfo.MethodGroup.Length); 1964Assert.Equal(0, semanticInfo.MethodGroup.Length); 1994Assert.Equal(0, semanticInfo.MethodGroup.Length); 2024Assert.Equal(0, semanticInfo.MethodGroup.Length); 2056Assert.Equal(0, semanticInfo.MethodGroup.Length); 2088Assert.Equal(0, semanticInfo.MethodGroup.Length); 2126Assert.Equal(0, semanticInfo.MethodGroup.Length); 2159Assert.Equal(0, semanticInfo.MethodGroup.Length); 2199Assert.Equal(0, semanticInfo.MethodGroup.Length); 2226Assert.Equal(0, semanticInfo.MethodGroup.Length); 2271Assert.Equal(0, semanticInfo.MethodGroup.Length); 2306Assert.Equal(0, semanticInfo.MethodGroup.Length); 2356Assert.Equal(0, semanticInfo.MethodGroup.Length); 2402Assert.Equal(0, semanticInfo.MethodGroup.Length); 2445Assert.Equal(0, semanticInfo.MethodGroup.Length); 2500Assert.Equal(0, semanticInfo.MethodGroup.Length); 2552Assert.Equal(0, semanticInfo.MethodGroup.Length); 2585Assert.Equal(0, semanticInfo.MethodGroup.Length); 2620Assert.Equal(0, semanticInfo.MethodGroup.Length); 2657Assert.Equal(2, semanticInfo.MethodGroup.Length); 2658var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 2703Assert.Equal(0, semanticInfo.MethodGroup.Length); 2744Assert.Equal(2, semanticInfo.MethodGroup.Length); 2745var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 2794Assert.Equal(2, semanticInfo.MethodGroup.Length); 2795var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 2838Assert.Equal(1, semanticInfo.MethodGroup.Length); 2839var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 2878Assert.Equal(0, semanticInfo.MethodGroup.Length); 2914Assert.Equal(2, semanticInfo.MethodGroup.Length); 2915var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 3027Assert.Equal(1, semanticInfo.MethodGroup.Length); 3028var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 3080Assert.Equal(0, semanticInfo.MethodGroup.Length); 3125Assert.Equal(0, semanticInfo.MethodGroup.Length); 3165Assert.Equal(1, semanticInfo.MethodGroup.Length); 3166var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 3207Assert.Equal(2, semanticInfo.MethodGroup.Length); 3208var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 3253Assert.Equal(1, semanticInfo.MethodGroup.Length); 3254var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 3292Assert.Equal(1, semanticInfo.MethodGroup.Length); 3293var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 3328Assert.Equal(1, semanticInfo.MethodGroup.Length); 3329var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 3365Assert.Equal(1, semanticInfo.MethodGroup.Length); 3366var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 3402Assert.Equal(0, semanticInfo.MethodGroup.Length); 3433Assert.Equal(0, semanticInfo.MethodGroup.Length); 3465Assert.Equal(0, semanticInfo.MethodGroup.Length); 3500Assert.Equal(0, semanticInfo.MethodGroup.Length); 3534Assert.Equal(0, semanticInfo.MethodGroup.Length); 3563Assert.Equal(0, semanticInfo.MethodGroup.Length); 3597Assert.Equal(0, semanticInfo.MethodGroup.Length); 3635Assert.Equal(0, semanticInfo.MethodGroup.Length); 3679Assert.Equal(0, semanticInfo.MethodGroup.Length); 3713Assert.Equal(0, semanticInfo.MethodGroup.Length); 3747Assert.Equal(0, semanticInfo.MethodGroup.Length); 3781Assert.Equal(0, semanticInfo.MethodGroup.Length); 3811Assert.Equal(0, semanticInfo.MethodGroup.Length); 3845Assert.Equal(0, semanticInfo.MethodGroup.Length); 3872Assert.Equal(1, semanticInfo.MethodGroup.Length); 3873Assert.Equal("C..ctor()", semanticInfo.MethodGroup[0].ToTestDisplayString()); 3907Assert.Equal(0, semanticInfo.MethodGroup.Length); 3944Assert.Equal(0, semanticInfo.MethodGroup.Length); 3980Assert.Equal(0, semanticInfo.MethodGroup.Length); 4015Assert.Equal(0, semanticInfo.MethodGroup.Length); 4046Assert.Equal(0, semanticInfo.MethodGroup.Length); 4080Assert.Equal(1, semanticInfo.MethodGroup.Length); 4081Assert.Equal("C..ctor()", semanticInfo.MethodGroup[0].ToTestDisplayString()); 4114Assert.Equal(0, semanticInfo.MethodGroup.Length); 4143Assert.Equal(0, semanticInfo.MethodGroup.Length); 4167Assert.Equal(0, semanticInfo.MethodGroup.Length); 4193Assert.Equal(0, semanticInfo.MethodGroup.Length); 4224Assert.Equal(0, semanticInfo.MethodGroup.Length); 4254Assert.Equal(1, semanticInfo.MethodGroup.Length); 4255var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 4293Assert.Equal(0, semanticInfo.MethodGroup.Length); 4326Assert.Equal(0, semanticInfo.MethodGroup.Length); 4380Assert.Equal(0, semanticInfo.MethodGroup.Length); 4417Assert.Equal(0, semanticInfo.MethodGroup.Length); 4455Assert.Equal(0, semanticInfo.MethodGroup.Length); 4482Assert.Equal(0, semanticInfo.MethodGroup.Length); 4577Assert.Equal(0, semanticInfo.MethodGroup.Length); 4615Assert.Equal(0, semanticInfo.MethodGroup.Length); 4651Assert.Equal(0, semanticInfo.MethodGroup.Length); 4681Assert.Equal(0, semanticInfo.MethodGroup.Length); 4719Assert.Equal(0, semanticInfo.MethodGroup.Length); 4755Assert.Equal(0, semanticInfo.MethodGroup.Length); 4791Assert.Equal(0, semanticInfo.MethodGroup.Length); 4822Assert.Equal(0, semanticInfo.MethodGroup.Length); 4859Assert.Equal(0, semanticInfo.MethodGroup.Length); 4887Assert.Equal(0, semanticInfo.MethodGroup.Length); 4930Assert.Equal(2, semanticInfo.MethodGroup.Length); 4931var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 4979Assert.Equal(3, semanticInfo.MethodGroup.Length); 4980sortedCandidates = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 5031Assert.Equal(3, semanticInfo.MethodGroup.Length); 5032sortedCandidates = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 5075Assert.Equal(0, semanticInfo.MethodGroup.Length); 5118Assert.Equal(3, semanticInfo.MethodGroup.Length); 5119var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 5164Assert.Equal(3, semanticInfo.MethodGroup.Length); 5165var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 5207Assert.Equal(2, semanticInfo.MethodGroup.Length); 5208var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 5247Assert.Equal(0, semanticInfo.MethodGroup.Length); 5286Assert.Equal(2, semanticInfo.MethodGroup.Length); 5287var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 5328Assert.Equal(2, semanticInfo.MethodGroup.Length); 5329var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 5414Assert.Equal(1, semanticInfo.MethodGroup.Length); 5415var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 5459Assert.Equal(0, semanticInfo.MethodGroup.Length); 5488Assert.Equal(0, semanticInfo.MethodGroup.Length); 5517Assert.Equal(0, semanticInfo.MethodGroup.Length); 5550Assert.Equal(0, semanticInfo.MethodGroup.Length); 5582Assert.Equal(0, semanticInfo.MethodGroup.Length); 5614Assert.Equal(0, semanticInfo.MethodGroup.Length); 5670Assert.Equal(0, semanticInfo.MethodGroup.Length); 5706Assert.Equal(0, semanticInfo.MethodGroup.Length); 5736Assert.Equal(0, semanticInfo.MethodGroup.Length); 5769Assert.Equal(0, semanticInfo.MethodGroup.Length); 5803Assert.Equal(0, semanticInfo.MethodGroup.Length); 5836Assert.Equal(0, semanticInfo.MethodGroup.Length); 5870Assert.Equal(0, semanticInfo.MethodGroup.Length); 5904Assert.Equal(0, semanticInfo.MethodGroup.Length); 5939Assert.Equal(0, semanticInfo.MethodGroup.Length); 5972Assert.Equal(0, semanticInfo.MethodGroup.Length); 6006Assert.Equal(0, semanticInfo.MethodGroup.Length); 6039Assert.Equal(0, semanticInfo.MethodGroup.Length); 6067Assert.Equal(0, semanticInfo.MethodGroup.Length); 6099Assert.Equal(0, semanticInfo.MethodGroup.Length); 6125Assert.Equal(0, semanticInfo.MethodGroup.Length); 6152Assert.Equal(0, semanticInfo.MethodGroup.Length); 6185Assert.Equal(0, semanticInfo.MethodGroup.Length); 6337Assert.Equal(0, semanticInfo.MethodGroup.Length); 6377Assert.Equal(1, semanticInfo.MethodGroup.Length); 6378var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 6407Assert.Equal(1, semanticInfo.MethodGroup.Length); 6408var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 6444Assert.Equal(2, semanticInfo.MethodGroup.Length); 6445var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 6527Assert.Equal(0, semanticInfo.MethodGroup.Length); 6562Assert.Equal(0, semanticInfo.MethodGroup.Length); 6599Assert.Equal(0, semanticInfo.MethodGroup.Length); 6649Assert.Equal(0, semanticInfo.MethodGroup.Length); 6814Assert.Equal(0, semanticInfo.MethodGroup.Length); 6883Assert.Equal(0, semanticInfo.MethodGroup.Length); 6928Assert.Equal(0, semanticInfo.MethodGroup.Length); 6973Assert.Equal(0, semanticInfo.MethodGroup.Length); 7055Assert.Equal(0, semanticInfo.MethodGroup.Length); 7086Assert.Equal(1, semanticInfo.MethodGroup.Length); 7087var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 7114Assert.Equal(1, semanticInfo.MethodGroup.Length); 7115var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 7145Assert.Equal(1, semanticInfo.MethodGroup.Length); 7146var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 7177Assert.Equal(0, semanticInfo.MethodGroup.Length); 7209Assert.Equal(0, semanticInfo.MethodGroup.Length); 7241Assert.Equal(0, semanticInfo.MethodGroup.Length); 7270Assert.Equal(0, semanticInfo.MethodGroup.Length); 7297Assert.Equal(0, semanticInfo.MethodGroup.Length); 7324Assert.Equal(0, semanticInfo.MethodGroup.Length); 7351Assert.Equal(0, semanticInfo.MethodGroup.Length); 7407Assert.Equal(0, semanticInfo.MethodGroup.Length); 7433Assert.Equal(0, semanticInfo.MethodGroup.Length); 7461Assert.Equal(0, semanticInfo.MethodGroup.Length); 7494Assert.Equal(0, semanticInfo.MethodGroup.Length); 7560Assert.Equal(0, semanticInfo.MethodGroup.Length); 7598Assert.Equal(0, semanticInfo.MethodGroup.Length); 7631Assert.Equal(0, semanticInfo.MethodGroup.Length); 7668Assert.Equal(0, semanticInfo.MethodGroup.Length); 7826Assert.Equal(0, semanticInfo.MethodGroup.Length); 7859Assert.Equal(0, semanticInfo.MethodGroup.Length); 7891Assert.Equal(0, semanticInfo.MethodGroup.Length); 7925Assert.Equal(0, semanticInfo.MethodGroup.Length); 7957Assert.Equal(0, semanticInfo.MethodGroup.Length); 7991Assert.Equal(0, semanticInfo.MethodGroup.Length); 8027Assert.Equal(1, semanticInfo.MethodGroup.Length); 8028Assert.Equal("System.Int32 Program.f()", semanticInfo.MethodGroup[0].ToTestDisplayString()); 8044Assert.Equal(1, semanticInfo.MethodGroup.Length); 8045Assert.Equal("System.Int32 Program.f()", semanticInfo.MethodGroup[0].ToTestDisplayString()); 8080Assert.Equal(1, semanticInfo.MethodGroup.Length); 8081Assert.Equal("System.Int32 Program.f()", semanticInfo.MethodGroup[0].ToTestDisplayString()); 8097Assert.Equal(1, semanticInfo.MethodGroup.Length); 8098Assert.Equal("System.Int32 Program.f()", semanticInfo.MethodGroup[0].ToTestDisplayString()); 8380Assert.Equal(1, semanticInfo.MethodGroup.Length); 8381var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 8414Assert.Equal(1, semanticInfo.MethodGroup.Length); 8415var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 8522Assert.Equal(0, semanticInfo.MethodGroup.Length); 8568Assert.Equal(0, semanticInfo.MethodGroup.Length); 8613Assert.Equal(0, semanticInfo.MethodGroup.Length); 8652Assert.Equal(0, semanticInfo.MethodGroup.Length); 8692Assert.Equal(1, semanticInfo.MethodGroup.Length); 8693var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 8734Assert.Equal(0, semanticInfo.MethodGroup.Length); 8776Assert.Equal(0, semanticInfo.MethodGroup.Length); 8817Assert.Equal(0, semanticInfo.MethodGroup.Length); 8859Assert.Equal(0, semanticInfo.MethodGroup.Length); 8901Assert.Equal(0, semanticInfo.MethodGroup.Length); 8941Assert.Equal(0, semanticInfo.MethodGroup.Length); 9070Assert.Equal(1, semanticInfo.MethodGroup.Length); 9071var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 9134Assert.Equal(0, semanticInfo.MethodGroup.Length); 9371Assert.Equal(0, semanticInfo.MethodGroup.Length); 9430Assert.Equal(0, semanticInfo.MethodGroup.Length); 9470Assert.Equal(3, semanticInfo.MethodGroup.Length); 9471var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 9541Assert.Equal(0, semanticInfo.MethodGroup.Length); 9578Assert.Equal(0, semanticInfo.MethodGroup.Length); 9627Assert.Equal(0, semanticInfo.MethodGroup.Length); 9677Assert.Equal(1, semanticInfo.MethodGroup.Length); 9678Assert.Equal("ValidWithSuffix_And_ValidWithoutSuffix.Description.Description(string)", semanticInfo.MethodGroup[0].ToDisplayString()); 9728Assert.Equal(1, semanticInfo.MethodGroup.Length); 9729Assert.Equal("ValidWithSuffix_And_ValidWithoutSuffix.DescriptionAttribute.DescriptionAttribute(string)", semanticInfo.MethodGroup[0].ToDisplayString()); 9793Assert.Equal(0, semanticInfo.MethodGroup.Length); 9842Assert.Equal(1, semanticInfo.MethodGroup.Length); 9843var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 9899Assert.Equal(0, semanticInfo.MethodGroup.Length); 9925Assert.Equal(1, semanticInfo.MethodGroup.Length); 9926var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 9959Assert.Equal(3, semanticInfo.MethodGroup.Length); 9960var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 9995Assert.Equal(3, semanticInfo.MethodGroup.Length); 9996var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 10031Assert.Equal(3, semanticInfo.MethodGroup.Length); 10032var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 10067Assert.Equal(3, semanticInfo.MethodGroup.Length); 10068var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 10111Assert.Equal(0, semanticInfo.MethodGroup.Length); 10148Assert.Equal(0, semanticInfo.MethodGroup.Length); 10188Assert.Equal(1, semanticInfo.MethodGroup.Length); 10189var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 10227Assert.Equal(1, semanticInfo.MethodGroup.Length); 10228var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 10258Assert.Equal(1, semanticInfo.MethodGroup.Length); 10259var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 10293Assert.Equal(1, semanticInfo.MethodGroup.Length); 10294var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 10330Assert.Equal(0, semanticInfo.MethodGroup.Length); 10364Assert.Equal(0, semanticInfo.MethodGroup.Length); 10398Assert.Equal(0, semanticInfo.MethodGroup.Length); 10441Assert.Equal(0, semanticInfo.MethodGroup.Length); 10476Assert.Equal(0, semanticInfo.MethodGroup.Length); 10504Assert.Equal(0, semanticInfo.MethodGroup.Length); 10534Assert.Equal(0, semanticInfo.MethodGroup.Length); 10568Assert.Equal(0, semanticInfo.MethodGroup.Length); 10611Assert.Equal(0, semanticInfo.MethodGroup.Length); 10648Assert.Equal(0, semanticInfo.MethodGroup.Length); 10685Assert.Equal(0, semanticInfo.MethodGroup.Length); 10724Assert.Equal(0, semanticInfo.MethodGroup.Length); 10767Assert.Equal(0, semanticInfo.MethodGroup.Length); 10809Assert.Equal(0, semanticInfo.MethodGroup.Length); 10846Assert.Equal(1, semanticInfo.MethodGroup.Length); 10847var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 10912Assert.Equal(0, semanticInfo.MethodGroup.Length); 11159Assert.Equal(3, semanticInfo.MethodGroup.Length); 11160var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 11196Assert.Equal(0, semanticInfo.MethodGroup.Length); 11235Assert.Equal(2, semanticInfo.MethodGroup.Length); 11236var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 11274Assert.Equal(0, semanticInfo.MethodGroup.Length); 11311Assert.Equal(0, semanticInfo.MethodGroup.Length); 11348Assert.Equal(0, semanticInfo.MethodGroup.Length); 11388Assert.Equal(0, semanticInfo.MethodGroup.Length); 11435Assert.Equal(0, semanticInfo.MethodGroup.Length); 11468Assert.Equal(0, semanticInfo.MethodGroup.Length); 11505Assert.Equal(0, semanticInfo.MethodGroup.Length); 11546Assert.Equal(1, semanticInfo.MethodGroup.Length); 11547var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 11583Assert.Equal(0, semanticInfo.MethodGroup.Length); 11615Assert.Equal(1, semanticInfo.MethodGroup.Length); 11616var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 11647Assert.Equal(0, semanticInfo.MethodGroup.Length); 11681Assert.Equal(0, semanticInfo.MethodGroup.Length); 11718Assert.Equal(0, semanticInfo.MethodGroup.Length); 11767Assert.Equal(0, semanticInfo.MethodGroup.Length); 11803Assert.Equal(0, semanticInfo.MethodGroup.Length); 11839Assert.Equal(0, semanticInfo.MethodGroup.Length); 11874Assert.Equal(0, semanticInfo.MethodGroup.Length); 11909Assert.Equal(0, semanticInfo.MethodGroup.Length); 11945Assert.Equal(0, semanticInfo.MethodGroup.Length); 11981Assert.Equal(0, semanticInfo.MethodGroup.Length); 12016Assert.Equal(0, semanticInfo.MethodGroup.Length); 12051Assert.Equal(0, semanticInfo.MethodGroup.Length); 12087Assert.Equal(0, semanticInfo.MethodGroup.Length); 12162Assert.Equal(0, semanticInfo.MethodGroup.Length); 12195Assert.Equal(0, semanticInfo.MethodGroup.Length); 12230Assert.Equal(0, semanticInfo.MethodGroup.Length); 12265Assert.Equal(0, semanticInfo.MethodGroup.Length); 12298Assert.Equal(0, semanticInfo.MethodGroup.Length); 12331Assert.Equal(0, semanticInfo.MethodGroup.Length); 12461Assert.Equal(0, semanticInfo.MethodGroup.Length); 12492Assert.Equal(0, semanticInfo.MethodGroup.Length); 12535Assert.Equal(0, semanticInfo.MethodGroup.Length); 12575Assert.Equal(0, semanticInfo.MethodGroup.Length); 12618Assert.Equal(0, semanticInfo.MethodGroup.Length); 12652Assert.Equal(0, semanticInfo.MethodGroup.Length); 12684Assert.Equal(1, semanticInfo.MethodGroup.Length); 12685Assert.Equal("MemberInitializerTest..ctor()", semanticInfo.MethodGroup[0].ToTestDisplayString()); 12715Assert.Equal(0, semanticInfo.MethodGroup.Length); 12747Assert.Equal(0, semanticInfo.MethodGroup.Length); 12779Assert.Equal(0, semanticInfo.MethodGroup.Length); 12811Assert.Equal(0, semanticInfo.MethodGroup.Length); 12854Assert.Equal(0, semanticInfo.MethodGroup.Length); 12891Assert.Equal(0, semanticInfo.MethodGroup.Length); 12930Assert.Equal(0, semanticInfo.MethodGroup.Length); 12969Assert.Equal(0, semanticInfo.MethodGroup.Length); 13007Assert.Equal(0, semanticInfo.MethodGroup.Length); 13048Assert.Equal(0, semanticInfo.MethodGroup.Length); 13076Assert.Equal(0, semanticInfo.MethodGroup.Length); 13106Assert.Equal(0, semanticInfo.MethodGroup.Length); 13140Assert.Equal(0, semanticInfo.MethodGroup.Length); 13174Assert.Equal(0, semanticInfo.MethodGroup.Length); 13208Assert.Equal(0, semanticInfo.MethodGroup.Length); 13239Assert.Equal(1, semanticInfo.MethodGroup.Length); 13240var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 13271Assert.Equal(0, semanticInfo.MethodGroup.Length); 13331Assert.Equal(1, semanticInfo.MethodGroup.Length); 13332Assert.Equal("B..ctor()", semanticInfo.MethodGroup[0].ToTestDisplayString()); 13390Assert.Equal(0, semanticInfo.MethodGroup.Length); 13450Assert.Equal(0, semanticInfo.MethodGroup.Length); 13511Assert.Equal(0, semanticInfo.MethodGroup.Length); 13569Assert.Equal(0, semanticInfo.MethodGroup.Length); 13599Assert.Equal(0, semanticInfo.MethodGroup.Length); 13664Assert.Equal(0, semanticInfo.MethodGroup.Length); 13693Assert.Equal(0, semanticInfo.MethodGroup.Length); 13749Assert.Equal(0, semanticInfo.MethodGroup.Length); 13782Assert.Equal(0, semanticInfo.MethodGroup.Length); 13813Assert.Equal(0, semanticInfo.MethodGroup.Length); 13847Assert.Equal(0, semanticInfo.MethodGroup.Length); 13884Assert.Equal(1, semanticInfo.MethodGroup.Length); 13885var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 13923Assert.Equal(1, semanticInfo.MethodGroup.Length); 13924var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 13959Assert.Equal(0, semanticInfo.MethodGroup.Length); 13986Assert.Equal(0, semanticInfo.MethodGroup.Length); 14013Assert.Equal(0, semanticInfo.MethodGroup.Length); 14050Assert.Equal(0, semanticInfo.MethodGroup.Length); 14089Assert.Equal(0, semanticInfo.MethodGroup.Length); 14127Assert.Equal(1, semanticInfo.MethodGroup.Length); 14128Assert.Equal("CoClassType..ctor()", semanticInfo.MethodGroup[0].ToTestDisplayString()); 14167Assert.Equal(0, semanticInfo.MethodGroup.Length); 14209Assert.Equal(0, semanticInfo.MethodGroup.Length); 14253Assert.Equal(1, semanticInfo.MethodGroup.Length); 14254var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 14299Assert.Equal(0, semanticInfo.MethodGroup.Length); 14348Assert.Equal(1, semanticInfo.MethodGroup.Length); 14349Assert.Equal("Wrapper.CoClassType..ctor()", semanticInfo.MethodGroup[0].ToTestDisplayString()); 14389Assert.Equal(0, semanticInfo.MethodGroup.Length); 14429Assert.Equal(0, semanticInfo.MethodGroup.Length); 14518Assert.Equal(0, semanticInfo.MethodGroup.Length); 14550Assert.Equal(0, semanticInfo.MethodGroup.Length); 14634Assert.Equal(0, semanticInfo.MethodGroup.Length); 14673Assert.Equal(1, semanticInfo.MethodGroup.Length); 14674var sortedMethodGroup = semanticInfo.MethodGroup.OrderBy(s => s.ToTestDisplayString(), StringComparer.Ordinal).ToArray(); 15092Assert.Equal(0, semanticInfo.MethodGroup.Length); 15126Assert.Equal(2, semanticInfo.MethodGroup.Length); 15127var sortedMethodGroup = semanticInfo.MethodGroup.AsEnumerable().OrderBy(s => s.ToDisplayString(), StringComparer.Ordinal).ToArray(); 15160Assert.Equal(0, semanticInfo.MethodGroup.Length); 15191Assert.Equal(0, semanticInfo.MethodGroup.Length); 15222Assert.Equal(0, semanticInfo.MethodGroup.Length); 15253Assert.Equal(0, semanticInfo.MethodGroup.Length); 15284Assert.Equal(0, semanticInfo.MethodGroup.Length); 15311Assert.Equal(0, semanticInfo.MethodGroup.Length); 15346Assert.Equal(0, semanticInfo.MethodGroup.Length); 15413Assert.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);