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