221 references to GetSemanticInfoSummary
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (135)
Semantics\FunctionPointerTests.cs (1)
3962
var semanticInfo = model.
GetSemanticInfoSummary
(parameterDecls[1]);
Semantics\InteractiveSemanticModelTests.cs (1)
362
return model.
GetSemanticInfoSummary
(exprSyntaxToBind);
Semantics\InterpolationTests.cs (3)
4605
var semanticInfo = model.
GetSemanticInfoSummary
(interpolatedString);
4826
var semanticInfo = model.
GetSemanticInfoSummary
(syntax);
4833
semanticInfo = model.
GetSemanticInfoSummary
(syntax);
Semantics\QueryTests.cs (28)
1480
var info3 = model.
GetSemanticInfoSummary
(q.Body.SelectOrGroup);
1486
Assert.Equal(x, model.
GetSemanticInfoSummary
(xPy.Left).Symbol);
1487
Assert.Equal(y, model.
GetSemanticInfoSummary
(xPy.Right).Symbol);
1488
Assert.Equal(z, model.
GetSemanticInfoSummary
(xPyPz.Right).Symbol);
1689
var info3 = model.
GetSemanticInfoSummary
(q.Body.SelectOrGroup);
1695
Assert.Equal(x, model.
GetSemanticInfoSummary
(xPy.Left).Symbol);
1696
Assert.Equal(y, model.
GetSemanticInfoSummary
(xPy.Right).Symbol);
1697
Assert.Equal(z, model.
GetSemanticInfoSummary
(xPyPz.Right).Symbol);
1736
var info2 = model.
GetSemanticInfoSummary
(q.Body.SelectOrGroup);
1776
var oinfo0 = model.
GetSemanticInfoSummary
(order.Orderings[0]);
1779
var oinfo1 = model.
GetSemanticInfoSummary
(order.Orderings[1]);
2178
var info = semanticModel.
GetSemanticInfoSummary
(selectClause.Expression);
2181
var info2 = semanticModel.
GetSemanticInfoSummary
(selectClause);
2208
var info = semanticModel.
GetSemanticInfoSummary
(selectClause.Expression);
2235
var info = semanticModel.
GetSemanticInfoSummary
(e);
2241
info = semanticModel.
GetSemanticInfoSummary
(e);
2247
var info2 = semanticModel.
GetSemanticInfoSummary
(e2);
2388
var symbolInfoForSelect = semanticModel.
GetSemanticInfoSummary
(selectClause);
2431
var symbolInfo = model.
GetSemanticInfoSummary
(ordering);
2485
var symbolInfoForSelect = semanticModel.
GetSemanticInfoSummary
(selectClause);
2549
var symbolInfoForSelect = semanticModel.
GetSemanticInfoSummary
(selectClause);
2584
var symbolInfoForOrdering = semanticModel.
GetSemanticInfoSummary
(orderingClause);
2717
var symbolInfo = semanticModel.
GetSemanticInfoSummary
(queryExpr);
2743
var symbolInfo = semanticModel.
GetSemanticInfoSummary
(queryExpr);
2906
var infoSelect = model.
GetSemanticInfoSummary
(q.Body.SelectOrGroup);
2939
var infoSelect = model.
GetSemanticInfoSummary
(q.Body.SelectOrGroup);
3477
Assert.Equal(x, speculativeModel.
GetSemanticInfoSummary
(selectExpression).Symbol);
3609
var symbolInfo = speculativeModel.
GetSemanticInfoSummary
(ordering);
Semantics\RawInterpolationTests_Handler.cs (3)
2906
var semanticInfo = model.
GetSemanticInfoSummary
(interpolatedString);
3127
var semanticInfo = model.
GetSemanticInfoSummary
(syntax);
3134
semanticInfo = model.
GetSemanticInfoSummary
(syntax);
Semantics\ScriptSemanticsTests.cs (2)
247
var summary = model.
GetSemanticInfoSummary
(syntax);
564
var summary = model.
GetSemanticInfoSummary
(syntax);
Semantics\StackAllocInitializerTests.cs (57)
371
var stackallocInfo = model.
GetSemanticInfoSummary
(@stackalloc);
378
var element0Info = model.
GetSemanticInfoSummary
(@stackalloc.Initializer.Expressions[0]);
385
stackallocInfo = model.
GetSemanticInfoSummary
(@stackalloc);
392
element0Info = model.
GetSemanticInfoSummary
(@stackalloc.Initializer.Expressions[0]);
399
stackallocInfo = model.
GetSemanticInfoSummary
(@stackalloc);
406
element0Info = model.
GetSemanticInfoSummary
(@stackalloc.Initializer.Expressions[0]);
447
var stackallocInfo = model.
GetSemanticInfoSummary
(@stackalloc);
454
var element0Info = model.
GetSemanticInfoSummary
(@stackalloc.Initializer.Expressions[0]);
461
stackallocInfo = model.
GetSemanticInfoSummary
(@stackalloc);
468
element0Info = model.
GetSemanticInfoSummary
(@stackalloc.Initializer.Expressions[0]);
475
stackallocInfo = model.
GetSemanticInfoSummary
(@stackalloc);
482
element0Info = model.
GetSemanticInfoSummary
(@stackalloc.Initializer.Expressions[0]);
1053
var obj1Value = model.
GetSemanticInfoSummary
(obj1.Initializer.Value);
1061
var obj2Value = model.
GetSemanticInfoSummary
(obj2.Initializer.Value);
1069
var obj3Value = model.
GetSemanticInfoSummary
(obj3.Initializer.Value);
1077
var obj4Value = model.
GetSemanticInfoSummary
(obj4.Initializer.Value);
1085
var obj5Value = model.
GetSemanticInfoSummary
(obj5.Initializer.Value);
1156
var obj1Value = model.
GetSemanticInfoSummary
(((CastExpressionSyntax)obj1.Initializer.Value).Expression);
1164
var obj2Value = model.
GetSemanticInfoSummary
(obj2.Initializer.Value);
1172
var obj3Value = model.
GetSemanticInfoSummary
(obj3.Initializer.Value);
1180
var obj4Value = model.
GetSemanticInfoSummary
(obj4.Initializer.Value);
1188
var obj5Value = model.
GetSemanticInfoSummary
(obj5.Initializer.Value);
2363
var stackallocInfo = model.
GetSemanticInfoSummary
(@stackalloc);
2370
var element0Info = model.
GetSemanticInfoSummary
(@stackalloc.Initializer.Expressions[0]);
2376
var element1Info = model.
GetSemanticInfoSummary
(@stackalloc.Initializer.Expressions[1]);
2382
var sizeInfo = model.
GetSemanticInfoSummary
(((ArrayTypeSyntax)@stackalloc.Type).RankSpecifiers[0].Sizes[0]);
2391
stackallocInfo = model.
GetSemanticInfoSummary
(@stackalloc);
2398
element0Info = model.
GetSemanticInfoSummary
(@stackalloc.Initializer.Expressions[0]);
2404
element1Info = model.
GetSemanticInfoSummary
(@stackalloc.Initializer.Expressions[1]);
2410
sizeInfo = model.
GetSemanticInfoSummary
(((ArrayTypeSyntax)@stackalloc.Type).RankSpecifiers[0].Sizes[0]);
2419
stackallocInfo = model.
GetSemanticInfoSummary
(@stackalloc);
2426
element0Info = model.
GetSemanticInfoSummary
(@stackalloc.Initializer.Expressions[0]);
2432
element1Info = model.
GetSemanticInfoSummary
(@stackalloc.Initializer.Expressions[1]);
2438
sizeInfo = model.
GetSemanticInfoSummary
(((ArrayTypeSyntax)@stackalloc.Type).RankSpecifiers[0].Sizes[0]);
2469
var stackallocInfo = model.
GetSemanticInfoSummary
(@stackalloc);
2476
var element0Info = model.
GetSemanticInfoSummary
(@stackalloc.Initializer.Expressions[0]);
2482
var element1Info = model.
GetSemanticInfoSummary
(@stackalloc.Initializer.Expressions[1]);
2491
stackallocInfo = model.
GetSemanticInfoSummary
(@stackalloc);
2498
element0Info = model.
GetSemanticInfoSummary
(@stackalloc.Initializer.Expressions[0]);
2504
element1Info = model.
GetSemanticInfoSummary
(@stackalloc.Initializer.Expressions[1]);
2513
stackallocInfo = model.
GetSemanticInfoSummary
(@stackalloc);
2520
element0Info = model.
GetSemanticInfoSummary
(@stackalloc.Initializer.Expressions[0]);
2526
element1Info = model.
GetSemanticInfoSummary
(@stackalloc.Initializer.Expressions[1]);
2569
var stackallocInfo = model.
GetSemanticInfoSummary
(@stackalloc);
2576
var element0Info = model.
GetSemanticInfoSummary
(@stackalloc.Initializer.Expressions[0]);
2582
var element1Info = model.
GetSemanticInfoSummary
(@stackalloc.Initializer.Expressions[1]);
2588
var sizeInfo = model.
GetSemanticInfoSummary
(((ArrayTypeSyntax)@stackalloc.Type).RankSpecifiers[0].Sizes[0]);
2597
stackallocInfo = model.
GetSemanticInfoSummary
(@stackalloc);
2604
element0Info = model.
GetSemanticInfoSummary
(@stackalloc.Initializer.Expressions[0]);
2610
element1Info = model.
GetSemanticInfoSummary
(@stackalloc.Initializer.Expressions[1]);
2616
sizeInfo = model.
GetSemanticInfoSummary
(((ArrayTypeSyntax)@stackalloc.Type).RankSpecifiers[0].Sizes[0]);
2653
var stackallocInfo = model.
GetSemanticInfoSummary
(@stackalloc);
2660
var element0Info = model.
GetSemanticInfoSummary
(@stackalloc.Initializer.Expressions[0]);
2666
var element1Info = model.
GetSemanticInfoSummary
(@stackalloc.Initializer.Expressions[1]);
2675
stackallocInfo = model.
GetSemanticInfoSummary
(@stackalloc);
2682
element0Info = model.
GetSemanticInfoSummary
(@stackalloc.Initializer.Expressions[0]);
2688
element1Info = model.
GetSemanticInfoSummary
(@stackalloc.Initializer.Expressions[1]);
Semantics\StackAllocSpanExpressionsTests.cs (10)
59
var obj1Value = model.
GetSemanticInfoSummary
(obj1.Initializer.Value);
67
var obj2Value = model.
GetSemanticInfoSummary
(obj2.Initializer.Value);
75
var obj3Value = model.
GetSemanticInfoSummary
(obj3.Initializer.Value);
83
var obj4Value = model.
GetSemanticInfoSummary
(obj4.Initializer.Value);
91
var obj5Value = model.
GetSemanticInfoSummary
(obj5.Initializer.Value);
134
var obj1Value = model.
GetSemanticInfoSummary
(((CastExpressionSyntax)obj1.Initializer.Value).Expression);
142
var obj2Value = model.
GetSemanticInfoSummary
(obj2.Initializer.Value);
150
var obj3Value = model.
GetSemanticInfoSummary
(obj3.Initializer.Value);
158
var obj4Value = model.
GetSemanticInfoSummary
(obj4.Initializer.Value);
166
var obj5Value = model.
GetSemanticInfoSummary
(obj5.Initializer.Value);
Semantics\UnsafeTests.cs (30)
7857
var receiverSummary = model.
GetSemanticInfoSummary
(receiverSyntax);
7869
var methodGroupSummary = model.
GetSemanticInfoSummary
(methodGroupSyntax);
7878
var callSummary = model.
GetSemanticInfoSummary
(callSyntax);
7924
var receiverSummary = model.
GetSemanticInfoSummary
(receiverSyntax);
7936
var methodGroupSummary = model.
GetSemanticInfoSummary
(methodGroupSyntax);
7943
var callSummary = model.
GetSemanticInfoSummary
(callSyntax);
8168
var receiverSummary = model.
GetSemanticInfoSummary
(receiverSyntax);
8180
var indexSummary = model.
GetSemanticInfoSummary
(indexSyntax);
8192
var accessSummary = model.
GetSemanticInfoSummary
(accessSyntax);
8235
var receiverSummary = model.
GetSemanticInfoSummary
(receiverSyntax);
8247
var indexSummary = model.
GetSemanticInfoSummary
(indexSyntax);
8251
var accessSummary = model.
GetSemanticInfoSummary
(accessSyntax);
8293
var receiverSummary = model.
GetSemanticInfoSummary
(receiverSyntax);
8305
var indexSummary = model.
GetSemanticInfoSummary
(indexSyntax);
8309
var accessSummary = model.
GetSemanticInfoSummary
(accessSyntax);
8863
var summary = model.
GetSemanticInfoSummary
(binOpSyntax);
8913
var summary = model.
GetSemanticInfoSummary
(binOpSyntax);
9325
var summary = model.
GetSemanticInfoSummary
(binOpSyntax);
10229
var initializerSummaries = declarators.Select(syntax => model.
GetSemanticInfoSummary
(syntax.Initializer.Value)).ToArray();
10298
var initializerSummaries = declarators.Select(syntax => model.
GetSemanticInfoSummary
(syntax.Initializer.Value)).ToArray();
10630
var typeSummary = model.
GetSemanticInfoSummary
(syntax.Type);
10644
var sizeOfSummary = model.
GetSemanticInfoSummary
(syntax);
10692
var typeSummary = model.
GetSemanticInfoSummary
(syntax.Type);
10706
var sizeOfSummary = model.
GetSemanticInfoSummary
(syntax);
10752
var typeSummary = model.
GetSemanticInfoSummary
(syntax.Type);
10766
var sizeOfSummary = model.
GetSemanticInfoSummary
(syntax);
11310
var stackAllocSummary = model.
GetSemanticInfoSummary
(stackAllocSyntax);
11322
var typeSummary = model.
GetSemanticInfoSummary
(typeSyntax);
11334
var countSummary = model.
GetSemanticInfoSummary
(countSyntax);
11839
var info = model.
GetSemanticInfoSummary
(parameterSyntax.Type);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (82)
Compilation\GetSemanticInfoTests.cs (30)
977
var info = model.
GetSemanticInfoSummary
(condition);
1001
var info = model.
GetSemanticInfoSummary
(condition);
1025
var bindInfo = model.
GetSemanticInfoSummary
(exprSyntaxToBind);
1057
model.
GetSemanticInfoSummary
(exprSyntaxToBind);
1142
var info = model.
GetSemanticInfoSummary
(expr);
1164
var bindInfo = model.
GetSemanticInfoSummary
(exprSyntaxToBind);
1193
var bindInfo = model.
GetSemanticInfoSummary
(exprSyntaxToBind);
1218
var bindInfo = model.
GetSemanticInfoSummary
(exprSyntaxToBind);
1241
var bindInfo = model.
GetSemanticInfoSummary
(exprSyntaxToBind);
1267
var bindInfo = model.
GetSemanticInfoSummary
(exprSyntaxToBind);
1295
var bindInfo = model.
GetSemanticInfoSummary
(exprSyntaxToBind);
1323
var bindInfo = model.
GetSemanticInfoSummary
(exprSyntaxToBind);
1350
var bindInfo = model.
GetSemanticInfoSummary
(exprSyntaxToBind);
1377
var bindInfo = model.
GetSemanticInfoSummary
(exprSyntaxToBind);
1415
var bindInfo = model.
GetSemanticInfoSummary
(exprSyntaxToBind);
1453
var bindInfo = model.
GetSemanticInfoSummary
(exprSyntaxToBind);
1491
var bindInfo = model.
GetSemanticInfoSummary
(exprSyntaxToBind);
1527
var bindInfo = model.
GetSemanticInfoSummary
(exprSyntaxToBind);
1558
var bindInfo = model.
GetSemanticInfoSummary
(exprSyntaxToBind);
1580
var bindInfo = model.
GetSemanticInfoSummary
(exprSyntaxToBind);
1608
var bindInfo = model.
GetSemanticInfoSummary
(exprSyntaxToBind);
1631
var bindInfo = model.
GetSemanticInfoSummary
(exprSyntaxToBind);
1673
var bindInfo = model.
GetSemanticInfoSummary
(exprSyntaxToBind);
1678
bindInfo = model.
GetSemanticInfoSummary
(varIdentifier);
1704
var bindInfo = model.
GetSemanticInfoSummary
(exprSyntaxToBind);
1739
var bindInfo = model.
GetSemanticInfoSummary
(exprSyntaxToBind);
1774
var bindInfo = model.
GetSemanticInfoSummary
(exprSyntaxToBind);
1810
var bindInfo = model.
GetSemanticInfoSummary
(exprSyntaxToBind);
3555
var info = model.
GetSemanticInfoSummary
(expr); //Shouldn't throw/assert
4294
var info = model.
GetSemanticInfoSummary
(syntax);
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (27)
2255
var info = model.
GetSemanticInfoSummary
(invocation);
2291
var info = model.
GetSemanticInfoSummary
(invocation);
2328
var info = model.
GetSemanticInfoSummary
(invocation);
2364
var info = model.
GetSemanticInfoSummary
(invocation);
2401
var info = model.
GetSemanticInfoSummary
(methodGroup);
2430
var info = model.
GetSemanticInfoSummary
(type);
2462
var info = model.
GetSemanticInfoSummary
(type);
2471
info = model.
GetSemanticInfoSummary
(init);
2500
var info = model.
GetSemanticInfoSummary
(ns);
2537
var info = model.
GetSemanticInfoSummary
(rightName);
2566
var info = model.
GetSemanticInfoSummary
(type);
2596
var info = model.
GetSemanticInfoSummary
(ns);
2621
var info = model.
GetSemanticInfoSummary
(initializer);
2645
var info = model.
GetSemanticInfoSummary
(localDecl.Declaration.Variables[0].Initializer.Value);
2649
info = model.
GetSemanticInfoSummary
(localDecl.Declaration.Variables[1].Initializer.Value);
2677
var info = model.
GetSemanticInfoSummary
(arg);
2704
var info = model.
GetSemanticInfoSummary
(invocation.ArgumentList.Arguments[0].Expression);
2708
info = model.
GetSemanticInfoSummary
(invocation.ArgumentList.Arguments[1].Expression);
2816
var info = model.
GetSemanticInfoSummary
(u1.Name);
3216
var info = model.
GetSemanticInfoSummary
(expr);
3238
var info = model.
GetSemanticInfoSummary
(localDecl.Declaration.Type);
3272
var initInfo = model.
GetSemanticInfoSummary
(initializer);
3285
var argInfo = model.
GetSemanticInfoSummary
(argument);
3670
var info = model.
GetSemanticInfoSummary
(x);
3712
var symbol = model.
GetSemanticInfoSummary
(gotoStatement.Expression).Symbol;
3848
var symbolInfo = semanticModel.
GetSemanticInfoSummary
(queryExpr);
4605
model.
GetSemanticInfoSummary
(node.Type);
Compilation\SemanticModelGetSemanticInfoTests.cs (3)
8435
var semanticInfo = semanticModel.
GetSemanticInfoSummary
(attributeNode);
8459
var semanticInfo = semanticModel.
GetSemanticInfoSummary
(attributeNode);
15435
var info = model.
GetSemanticInfoSummary
(syntax);
Symbols\AnonymousTypesSemanticsTests.cs (6)
489
var info1 = data.Model.
GetSemanticInfoSummary
(data.Nodes[0]);
587
var info = data.Model.
GetSemanticInfoSummary
(data.Nodes[0]);
655
var info = data.Model.
GetSemanticInfoSummary
(data.Nodes[0]);
676
var info = data.Model.
GetSemanticInfoSummary
(data.Nodes[0]);
697
var info = data.Model.
GetSemanticInfoSummary
(data.Nodes[0]);
1985
var info = data.Model.
GetSemanticInfoSummary
(data.Nodes[node]);
Symbols\Source\UsingAliasTests.cs (16)
48
var info1 = model.
GetSemanticInfoSummary
(base1);
57
var info2 = model.
GetSemanticInfoSummary
(base2);
63
var info3 = model.
GetSemanticInfoSummary
(base3);
69
var info4 = model.
GetSemanticInfoSummary
(base4);
108
var info1 = model.
GetSemanticInfoSummary
(base1);
117
var info2 = model.
GetSemanticInfoSummary
(base2);
123
var info3 = model.
GetSemanticInfoSummary
(base3);
129
var info4 = model.
GetSemanticInfoSummary
(base4);
165
var info1 = model.
GetSemanticInfoSummary
(base1);
172
var info2 = model.
GetSemanticInfoSummary
(base2);
178
var info3 = model.
GetSemanticInfoSummary
(base3);
184
var info4 = model.
GetSemanticInfoSummary
(base4);
223
var info1 = model.
GetSemanticInfoSummary
(base1);
230
var info2 = model.
GetSemanticInfoSummary
(base2);
236
var info3 = model.
GetSemanticInfoSummary
(base3);
242
var info4 = model.
GetSemanticInfoSummary
(base4);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (4)
FunctionPointerUtilities.cs (3)
146
var semanticInfo = model.
GetSemanticInfoSummary
(syntax);
193
semanticInfo = model.
GetSemanticInfoSummary
(operand);
254
var semanticInfo = model.
GetSemanticInfoSummary
(typeSyntax);
SemanticModelTestBase.cs (1)
132
return model.
GetSemanticInfoSummary
(syntaxToBind);