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