3139 references to GetSemanticModel
AnalyzerRunner (1)
DiagnosticAnalyzerRunner.cs (1)
195await compilationWithAnalyzers.GetAnalyzerSemanticDiagnosticsAsync(compilation.GetSemanticModel(tree), null, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis (10)
Compilation\Compilation.cs (1)
322/// Unlike the <see cref="GetSemanticModel(SyntaxTree, bool)"/> and <see cref="CommonGetSemanticModel(SyntaxTree, bool)"/>,
DiagnosticAnalyzer\AnalyzerDriver.cs (3)
1187var model = compilation.GetSemanticModel(location.SourceTree); 1249var model = compilation.GetSemanticModel(tree); 1795var model = compilation.GetSemanticModel(syntaxReference.SyntaxTree);
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (1)
987var mappedModel = compilation.GetSemanticModel(analysisScope.FilterFileOpt!.Value.SourceTree!);
DiagnosticAnalyzer\CompilerDiagnosticAnalyzer.CompilationAnalyzer.cs (1)
34var semanticModel = _compilation.GetSemanticModel(context.Tree);
DiagnosticAnalyzer\SuppressMessageAttributeState.cs (1)
159var model = _compilation.GetSemanticModel(location.SourceTree);
Operations\OperationExtensions.cs (1)
53model = compilation.GetSemanticModel(operation.Syntax.SyntaxTree);
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithMetadataName.cs (1)
104var semanticModel = compilation.GetSemanticModel(syntaxTree);
SourceGeneration\SyntaxStore.cs (1)
90var model = state != EntryState.Removed ? new Lazy<SemanticModel>(() => _compilation.GetSemanticModel(tree)) : null;
Microsoft.CodeAnalysis.CodeStyle (5)
AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
546lazyModel ??= compilation.GetSemanticModel(root.SyntaxTree);
SymbolKey.AliasSymbolKey.cs (1)
43var semanticModel = reader.Compilation.GetSemanticModel(syntaxTree);
SymbolKey.AnonymousFunctionOrDelegateSymbolKey.cs (1)
53var semanticModel = reader.Compilation.GetSemanticModel(syntaxTree);
SymbolKey.BodyLevelSymbolKey.cs (1)
123semanticModel = compilation.GetSemanticModel(syntaxTree);
SymbolKey.SymbolKeyReader.cs (1)
745var semanticModel = Compilation.GetSemanticModel(location.SourceTree);
Microsoft.CodeAnalysis.CSharp (2)
Compilation\CSharpCompilation.cs (1)
785var model = GetSemanticModel(tree);
Compilation\CSharpSemanticModel.cs (1)
24/// cref="Compilation.GetSemanticModel(SyntaxTree, bool)"/>.
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
CSharpSemanticFacts.cs (1)
373var semanticModel = compilation.GetSemanticModel(syntaxReference.SyntaxTree);
CSharpUseImplicitTypeHelper.cs (1)
202var newSemanticModel = semanticModel.Compilation.ReplaceSyntaxTree(tree, newTree).GetSemanticModel(newTree);
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (5)
SymbolKey\SymbolKeyMetadataVsSourceTests.cs (1)
252var model = comp40.GetSemanticModel(comp40.SyntaxTrees.First());
SymbolKey\SymbolKeyTestBase.cs (3)
253var model = comp.GetSemanticModel(tree); 283var model = _compilation.GetSemanticModel(declarator.SyntaxTree); 308var model = _compilation.GetSemanticModel(node.SyntaxTree);
SymbolKey\SymbolKeyTests.cs (1)
291var semanticModel = bodyCompilation.GetSemanticModel(tree);
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (1)
Recommendations\RecommenderTests.cs (1)
74var semanticModel = compilation.GetSemanticModel(tree);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (221)
CodeGen\CodeGenAwaitForeachTests.cs (1)
3386var model = comp.GetSemanticModel(tree);
CodeGen\CodeGenCheckedTests.cs (2)
2914var model = comp.GetSemanticModel(tree); 2946var model = comp.GetSemanticModel(tree);
CodeGen\CodeGenDeconstructTests.cs (82)
94var model = compilation.GetSemanticModel(tree); 254var model = comp.Compilation.GetSemanticModel(tree); 310var model = comp.GetSemanticModel(tree); 1110var model = comp.Compilation.GetSemanticModel(tree); 1365var model = compilation.GetSemanticModel(tree); 1422var model = compilation.GetSemanticModel(tree); 1466var model = comp.GetSemanticModel(tree); 1507var model = comp.GetSemanticModel(tree); 1560var model = comp.GetSemanticModel(tree); 1667var model = compilation.GetSemanticModel(tree); 2286var model = comp.Compilation.GetSemanticModel(tree); 2686var model = compilation.GetSemanticModel(tree); 3128var model = compilation.GetSemanticModel(tree); 3176var model = compilation.GetSemanticModel(tree); 3240var model = compilation.GetSemanticModel(tree); 3278var model = compilation.GetSemanticModel(tree); 3328var model = compilation.GetSemanticModel(tree); 3366var model = compilation.GetSemanticModel(tree); 3441var model = compilation.GetSemanticModel(tree); 3477var model = compilation.GetSemanticModel(tree); 3542var model = compilation.GetSemanticModel(tree); 3688var model = compilation.GetSemanticModel(tree); 3733var model = compilation.GetSemanticModel(tree); 3790var model = compilation.GetSemanticModel(tree); 3840var model = compilation.GetSemanticModel(tree); 3886var model = compilation.GetSemanticModel(tree); 3930var model = compilation.GetSemanticModel(tree); 3976var model = compilation.GetSemanticModel(tree); 4025var model = compilation.GetSemanticModel(tree); 4131var model = compilation.GetSemanticModel(tree); 4216var model = compilation.GetSemanticModel(tree); 4327var model = compilation.GetSemanticModel(tree); 4403var model = compilation.GetSemanticModel(tree); 4436var model = compilation.GetSemanticModel(tree); 4590var model = compilation.GetSemanticModel(tree); 5019var model = compilation.GetSemanticModel(tree); 5171var model = compilation.GetSemanticModel(tree); 5308var model = compilation.GetSemanticModel(tree); 5344var model = compilation.GetSemanticModel(tree); 5399var model = comp.GetSemanticModel(tree); 5432var model = comp.GetSemanticModel(tree); 5470var model = comp.GetSemanticModel(tree); 5502var model = comp.GetSemanticModel(tree); 5533var model = comp.GetSemanticModel(tree); 5562var model = comp.GetSemanticModel(tree); 5602var model = comp.GetSemanticModel(tree); 5641var model = comp.GetSemanticModel(tree); 5685var model = comp.GetSemanticModel(tree); 5724var model = comp.GetSemanticModel(tree); 5766var model = comp.GetSemanticModel(tree); 5802var model = comp.GetSemanticModel(tree); 5852var model = comp.GetSemanticModel(tree); 5906var model = comp.GetSemanticModel(tree); 5997var model = comp.GetSemanticModel(tree); 6029var model = comp.GetSemanticModel(tree); 6082var model = comp.GetSemanticModel(tree); 6131var model = comp.GetSemanticModel(tree); 6180var model = comp.GetSemanticModel(tree); 6210var model = comp.GetSemanticModel(tree); 6252var model = comp.GetSemanticModel(tree); 6303var model = comp.GetSemanticModel(tree); 6335var model = comp.GetSemanticModel(tree); 6365var model = comp.GetSemanticModel(tree); 6392var model = comp.GetSemanticModel(tree); 6437var model = compilation.GetSemanticModel(tree); 6560var model = comp.GetSemanticModel(tree); 6858var model = compilation.GetSemanticModel(tree); 6930var model = compilation.GetSemanticModel(tree); 6973var model = comp.GetSemanticModel(tree); 7121var model = compilation.GetSemanticModel(tree); 7174var model = compilation.GetSemanticModel(tree); 7229var model = compilation.GetSemanticModel(tree); 7267var model = compilation.GetSemanticModel(tree); 7304var model = compilation.GetSemanticModel(tree); 7352var model = compilation.GetSemanticModel(tree); 7358model = compilation.GetSemanticModel(tree); 7391var model = compilation.GetSemanticModel(tree); 7427var model = compilation.GetSemanticModel(tree); 7433model = compilation.GetSemanticModel(tree); 7504var model = compilation.GetSemanticModel(tree); 7561var model = compilation.GetSemanticModel(tree); 9009var model = comp.GetSemanticModel(tree);
CodeGen\CodeGenFunctionPointersTests.cs (20)
3052var model = comp.GetSemanticModel(syntaxTree); 3104var model = comp.GetSemanticModel(syntaxTree); 3329var model = comp.GetSemanticModel(syntaxTree); 3400var model = comp.GetSemanticModel(syntaxTree); 3447var model = comp.GetSemanticModel(syntaxTree); 3558var model = comp.GetSemanticModel(tree); 3610var model = comp.GetSemanticModel(tree); 3661var model = comp.GetSemanticModel(tree); 3700var model = comp.GetSemanticModel(tree); 4105var model = comp.GetSemanticModel(syntaxTree); 4907var model = comp.GetSemanticModel(syntaxTree); 7400var model = comp.GetSemanticModel(tree); 7502var model = comp.GetSemanticModel(tree); 7558var model = allInCoreLib.GetSemanticModel(tree); 7578model = comp1.GetSemanticModel(tree); 7627var model = allInCoreLib.GetSemanticModel(tree); 7647model = comp1.GetSemanticModel(tree); 7714var model = comp1.GetSemanticModel(tree); 7732model = comp2.GetSemanticModel(tree); 10755var model = comp.GetSemanticModel(tree);
CodeGen\CodeGenLocalFunctionTests.cs (4)
5746var semanticModel = comp.GetSemanticModel(syntaxTree); 5821var semanticModel = comp.GetSemanticModel(syntaxTree); 5896var semanticModel = comp.GetSemanticModel(syntaxTree); 6161var model = comp.GetSemanticModel(tree);
CodeGen\CodeGenOperators.cs (3)
5251var model = result.Compilation.GetSemanticModel(tree); 5539var model = compilation.GetSemanticModel(tree); 5577var model = compilation.GetSemanticModel(tree);
CodeGen\CodeGenRefLocalTests.cs (3)
3255var model = comp.GetSemanticModel(tree); 3292var model = comp.GetSemanticModel(tree); 3326var model = comp.GetSemanticModel(tree);
CodeGen\CodeGenTupleEqualityTests.cs (36)
359var model = comp.Compilation.GetSemanticModel(tree); 701var model = comp.Compilation.GetSemanticModel(tree); 732var model = comp.Compilation.GetSemanticModel(tree); 789var model = comp.GetSemanticModel(tree); 811var model = comp.GetSemanticModel(tree); 873var model = comp.GetSemanticModel(tree); 921var model = comp.GetSemanticModel(tree); 970var model = comp.GetSemanticModel(tree); 1020var model = comp.GetSemanticModel(tree); 1074var model = comp.GetSemanticModel(tree); 1108var model = comp.GetSemanticModel(tree); 1140var model = comp.GetSemanticModel(tree); 1171var model = comp.GetSemanticModel(tree); 1231var model = comp.GetSemanticModel(tree); 1331var model = comp.GetSemanticModel(tree); 1417var model = comp.GetSemanticModel(tree); 1482var model = comp.GetSemanticModel(tree); 1515var model = comp.GetSemanticModel(tree); 1576var model = comp.GetSemanticModel(tree); 1613var model = comp.GetSemanticModel(tree); 1638var model = comp.GetSemanticModel(tree); 1693var model = comp.GetSemanticModel(tree); 1795var model = comp.GetSemanticModel(tree); 1937var model = comp.GetSemanticModel(tree); 2592var model = comp.GetSemanticModel(tree); 2660var model = comp.GetSemanticModel(tree); 3297var model = comp.GetSemanticModel(tree); 3703var model = comp.GetSemanticModel(tree); 3827var model = comp.GetSemanticModel(tree); 3930var model = comp.GetSemanticModel(tree); 4055var model = comp.GetSemanticModel(tree); 4102var model = comp.GetSemanticModel(tree); 4203var model = comp.GetSemanticModel(tree); 4296var model = comp.GetSemanticModel(tree); 5141var model = comp.GetSemanticModel(tree); 5177var model = comp.GetSemanticModel(tree);
CodeGen\CodeGenTupleTest.cs (65)
3217var model = compilation.GetSemanticModel(tree); 3250var model = compilation.GetSemanticModel(tree); 3457var model = compilation.GetSemanticModel(tree); 3629var model = compilation.GetSemanticModel(tree); 3680var model = compilation.GetSemanticModel(tree); 3926var model = compilation.GetSemanticModel(tree); 3983var model = compilation.GetSemanticModel(tree); 4016var model = compilation.GetSemanticModel(tree); 4148var model = compilation.GetSemanticModel(tree); 4833var model = comp.GetSemanticModel(tree); 5069var model = comp.GetSemanticModel(tree); 5113var model = comp.GetSemanticModel(tree); 5154var model = comp.GetSemanticModel(tree); 5198var model = comp.GetSemanticModel(tree); 7502var model = comp.GetSemanticModel(tree); 7535var model = comp.GetSemanticModel(tree); 7572var model = comp.GetSemanticModel(tree); 7635var model = comp.GetSemanticModel(tree); 9859var model = comp.GetSemanticModel(tree); 9910var model = comp.GetSemanticModel(tree); 9952var model = comp.GetSemanticModel(tree); 9998var model = comp.GetSemanticModel(tree); 10064var model = comp.GetSemanticModel(tree); 10103var model = comp.GetSemanticModel(tree); 10137var model = comp.GetSemanticModel(tree); 12697var model = c.GetSemanticModel(tree); 13978var model = c.GetSemanticModel(tree); 14249var model = c.GetSemanticModel(tree); 14437var model = comp.GetSemanticModel(tree); 19067var model = comp.GetSemanticModel(tree); 19106var model = comp.GetSemanticModel(tree); 19145var model = comp.GetSemanticModel(tree); 19184var model = comp.GetSemanticModel(tree); 19234var model = comp.GetSemanticModel(tree); 19296var model = comp.GetSemanticModel(tree); 19399var model = comp.GetSemanticModel(tree); 19430var model = comp.GetSemanticModel(tree); 19484var model = comp.GetSemanticModel(tree); 19542var model = comp.GetSemanticModel(tree); 19665var model = comp.GetSemanticModel(tree); 19709var model = comp.GetSemanticModel(tree); 19740var model = comp.GetSemanticModel(tree); 20362var model = comp.GetSemanticModel(tree); 21351var model = comp.GetSemanticModel(tree); 22886var model = compilation.GetSemanticModel(tree); 24217var model = compilation.GetSemanticModel(tree); 24296var model = comp.GetSemanticModel(tree); 24359var model = comp.GetSemanticModel(tree); 24423var model = comp.GetSemanticModel(tree); 24496var model = comp.GetSemanticModel(tree); 24569var model = comp.GetSemanticModel(tree); 24643var model = comp.GetSemanticModel(tree); 25061var model = comp.GetSemanticModel(tree); 25089var model = comp.GetSemanticModel(tree); 25120var model = comp.GetSemanticModel(tree); 25740var model = comp.GetSemanticModel(tree); 25811var model = comp.GetSemanticModel(tree); 25876var model = comp.GetSemanticModel(tree); 25918var model = comp.GetSemanticModel(tree); 25948var model = comp.GetSemanticModel(tree); 26260var model = comp.GetSemanticModel(tree); 26332var model = comp.GetSemanticModel(tree); 26365var model = comp.GetSemanticModel(tree); 26398var model = comp.GetSemanticModel(tree); 26431var model = comp.GetSemanticModel(tree);
CodeGen\IndexAndRangeTests.cs (1)
32var model = comp.GetSemanticModel(syntaxTree);
CodeGen\PatternTests.cs (3)
5011var model = compilation.GetSemanticModel(tree); 5137var model = compilation.GetSemanticModel(tree); 5286var model = compilation.GetSemanticModel(tree);
Emit\EntryPointTests.cs (1)
1597var model = compilation.GetSemanticModel(compilation.SyntaxTrees[0]);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (423)
Attributes\AttributeTests.cs (9)
710var semanticModel = comp.GetSemanticModel(tree); 751var semanticModel = comp.GetSemanticModel(tree); 816var semanticModel = comp.GetSemanticModel(tree); 857var semanticModel = comp.GetSemanticModel(tree); 898var semanticModel = comp.GetSemanticModel(tree); 937var semanticModel = comp.GetSemanticModel(tree); 5419var model = cm.GetSemanticModel(cm.SyntaxTrees[0]); 7239var semanticModel = compilation.GetSemanticModel(tree); 7280var semanticModel = compilation.GetSemanticModel(tree);
Attributes\AttributeTests_WellKnownAttributes.cs (7)
5677var model = compilation.GetSemanticModel(tree); 9462var model = comp.GetSemanticModel(tree); 9511var model = comp.GetSemanticModel(tree); 9567var model = comp2.GetSemanticModel(tree); 11260var model = comp.GetSemanticModel(tree); 11285var model = comp.GetSemanticModel(tree); 11316var model = comp.GetSemanticModel(tree);
Diagnostics\DiagnosticAnalyzerTests.cs (6)
3253var semanticModel1 = compilation.GetSemanticModel(tree1); 3510var model = compilation.GetSemanticModel(tree); 3591var semanticModel1 = compilation.GetSemanticModel(tree1); 3658var semanticModel = compilation.GetSemanticModel(tree); 3719var semanticModel = compilation.GetSemanticModel(tree); 3952var model = compilation.GetSemanticModel(tree);
Diagnostics\GetDiagnosticsTests.cs (11)
43var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 78var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 93var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 171var model = compilation.GetSemanticModel(tree1); 220var model = compilation.GetSemanticModel(tree1); 257var model = compilation.GetSemanticModel(tree); 427compilation.GetSemanticModel(tree1).GetDeclarationDiagnostics().Verify(); 430compilation.GetSemanticModel(tree2).GetDeclarationDiagnostics().Verify(); 718var semanticModel = compilation.GetSemanticModel(syntaxTree); 997var semanticModel = compilation.GetSemanticModel(syntaxTree); 1128var model1 = compilation.GetSemanticModel(tree1);
Emit\NumericIntPtrTests.cs (10)
698var model = comp.GetSemanticModel(tree); 1882var model = comp.GetSemanticModel(tree); 1934var model = comp.GetSemanticModel(tree); 5974var model = comp.GetSemanticModel(tree); 6210var model = comp.GetSemanticModel(tree); 6583var model = comp.GetSemanticModel(tree); 6817var model = comp.GetSemanticModel(tree); 8091var model = comp.GetSemanticModel(tree); 10512var model = comp.GetSemanticModel(tree); 10651var model = comp.GetSemanticModel(tree);
FlowAnalysis\FlowTestBase.cs (4)
111var model = comp.GetSemanticModel(tree); 132var model = comp.GetSemanticModel(tree); 153var model = comp.GetSemanticModel(tree); 174var model = comp.GetSemanticModel(tree);
FlowAnalysis\FlowTests.cs (1)
5840var model = compilation.GetSemanticModel(tree);
FlowAnalysis\IterationJumpYieldStatementTests.cs (1)
913var semanticModel = comp.GetSemanticModel(tree);
FlowAnalysis\RegionAnalysisTests.cs (16)
3101var semanticModel = compilation.GetSemanticModel(compilation.SyntaxTrees[0]); 4524var model = compilation.GetSemanticModel(tree); 5485var model = comp.GetSemanticModel(tree); 5533var model = comp.GetSemanticModel(tree); 5577var model = comp.GetSemanticModel(tree); 5620var model = comp.GetSemanticModel(tree); 6215var model = comp.GetSemanticModel(tree); 6313var model = compilation.GetSemanticModel(tree); 6352var model = compilation.GetSemanticModel(tree); 6379var model = compilation.GetSemanticModel(tree); 6417var model = compilation.GetSemanticModel(tree); 6445var model = compilation.GetSemanticModel(tree); 6480var model = compilation.GetSemanticModel(tree); 7906var model = compilation.GetSemanticModel(tree); 8098var model = compilation.GetSemanticModel(tree); 8126var model = compilation.GetSemanticModel(tree);
Semantics\PatternMatchingTestBase.cs (1)
451var model = (CSharpSemanticModel)comp.GetSemanticModel(tree);
Semantics\PatternMatchingTests.cs (55)
693var model = compilation.GetSemanticModel(tree); 737var model = compilation.GetSemanticModel(tree); 777var model = compilation.GetSemanticModel(tree); 843var model = compilation.GetSemanticModel(tree); 890var model = compilation.GetSemanticModel(tree); 1152var model = compilation.GetSemanticModel(tree); 1161Assert.Equal("System.Int32", ((ILocalSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(x1Decl[0])).Type.ToTestDisplayString()); 1221var model = compilation.GetSemanticModel(tree); 1271var model = compilation.GetSemanticModel(tree); 1315var model = compilation.GetSemanticModel(tree); 1430var model = compilation.GetSemanticModel(tree); 1480var model = compilation.GetSemanticModel(tree); 1537var model = compilation.GetSemanticModel(tree); 1589var model = compilation.GetSemanticModel(tree); 1654var model = compilation.GetSemanticModel(tree); 1731var model = compilation.GetSemanticModel(tree); 1784var model = compilation.GetSemanticModel(tree); 1828var model = compilation.GetSemanticModel(tree); 1882var model = compilation.GetSemanticModel(tree); 1936var model = compilation.GetSemanticModel(tree); 1993var model = compilation.GetSemanticModel(tree); 2031var model = compilation.GetSemanticModel(tree); 2077var model = compilation.GetSemanticModel(tree); 2131var model = compilation.GetSemanticModel(tree); 2179var model = compilation.GetSemanticModel(tree); 2235var model = compilation.GetSemanticModel(tree); 2295var model = compilation.GetSemanticModel(tree); 2353var model = compilation.GetSemanticModel(tree); 2414var model = compilation.GetSemanticModel(tree); 2459var model = compilation.GetSemanticModel(tree); 2498var model = compilation.GetSemanticModel(tree); 2542var model = compilation.GetSemanticModel(tree); 2614var model = compilation.GetSemanticModel(tree); 2662var model = compilation.GetSemanticModel(tree); 2700var model = compilation.GetSemanticModel(tree); 2745var model = compilation.GetSemanticModel(tree); 2789var model = compilation.GetSemanticModel(tree); 2841var model = compilation.GetSemanticModel(tree); 2883var model = compilation.GetSemanticModel(tree); 3038var model = compilation.GetSemanticModel(tree); 3085var model = compilation.GetSemanticModel(tree); 3264var model = compilation.GetSemanticModel(tree); 3443var model1 = compilation.GetSemanticModel(tree); 3456var model2 = compilation.GetSemanticModel(tree); 3478var model = compilation.GetSemanticModel(tree); 3482Assert.True(((ITypeSymbol)compilation.GetSemanticModel(tree).GetTypeInfo(x1Ref).Type).IsErrorType()); 3488Assert.True(((ITypeSymbol)compilation.GetSemanticModel(tree).GetTypeInfo(x2Ref).Type).IsErrorType()); 4248var model = compilation.GetSemanticModel(tree); 4289var model = compilation.GetSemanticModel(tree); 4790var model = compilation.GetSemanticModel(tree); 4826var model = compilation.GetSemanticModel(tree); 11360var model = comp.GetSemanticModel(tree); 11384var model = comp.GetSemanticModel(tree); 11405var model = comp.GetSemanticModel(tree); 11462var model = comp.GetSemanticModel(tree);
Semantics\PatternMatchingTests_Global.cs (125)
77var model = compilation.GetSemanticModel(tree); 121var model = compilation.GetSemanticModel(tree); 199var model = compilation.GetSemanticModel(tree); 243var model = compilation.GetSemanticModel(tree); 293var model = compilation.GetSemanticModel(tree); 369var model = compilation.GetSemanticModel(tree); 429var model = compilation.GetSemanticModel(tree); 521var model = compilation.GetSemanticModel(tree); 578var model = compilation.GetSemanticModel(tree); 640var model = compilation.GetSemanticModel(tree); 682var model = compilation.GetSemanticModel(tree); 758var model = compilation.GetSemanticModel(tree); 805var model = compilation.GetSemanticModel(tree); 895var model = compilation.GetSemanticModel(tree); 901Assert.Equal("System.Int32", ((IFieldSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(x1Decl)).Type.ToTestDisplayString()); 943var model = compilation.GetSemanticModel(tree); 1022var model = compilation.GetSemanticModel(tree); 1075var model = compilation.GetSemanticModel(tree); 1154var model = compilation.GetSemanticModel(tree); 1207var model = compilation.GetSemanticModel(tree); 1263var model = compilation.GetSemanticModel(tree); 1328var model = compilation.GetSemanticModel(tree); 1372var model = compilation.GetSemanticModel(tree); 1453var model = compilation.GetSemanticModel(tree); 1459Assert.Equal("System.Int32", ((IFieldSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(x1Decl)).Type.ToTestDisplayString()); 1498var model = compilation.GetSemanticModel(tree); 1585var model = compilation.GetSemanticModel(tree); 1639var model = compilation.GetSemanticModel(tree); 1733var model = compilation.GetSemanticModel(tree); 1787var model = compilation.GetSemanticModel(tree); 1851var model = compilation.GetSemanticModel(tree); 1925var model = compilation.GetSemanticModel(tree); 1995var model = compilation.GetSemanticModel(tree); 2096var model = compilation.GetSemanticModel(tree); 2166var model = compilation.GetSemanticModel(tree); 2225var model = compilation.GetSemanticModel(tree); 2299var model = compilation.GetSemanticModel(tree); 2369var model = compilation.GetSemanticModel(tree); 2471var model = compilation.GetSemanticModel(tree); 2541var model = compilation.GetSemanticModel(tree); 2610var model = compilation.GetSemanticModel(tree); 2680var model = compilation.GetSemanticModel(tree); 2734var model = compilation.GetSemanticModel(tree); 2826var model = compilation.GetSemanticModel(tree); 2880var model = compilation.GetSemanticModel(tree); 2942var model = compilation.GetSemanticModel(tree); 2988var model = compilation.GetSemanticModel(tree); 3069var model = compilation.GetSemanticModel(tree); 3128var model = compilation.GetSemanticModel(tree); 3228var model = compilation.GetSemanticModel(tree); 3284var model = compilation.GetSemanticModel(tree); 3374var model = compilation.GetSemanticModel(tree); 3430var model = compilation.GetSemanticModel(tree); 3490var model = compilation.GetSemanticModel(tree); 3571var model = compilation.GetSemanticModel(tree); 3638var model = compilation.GetSemanticModel(tree); 3742var model = compilation.GetSemanticModel(tree); 3809var model = compilation.GetSemanticModel(tree); 3873var model = compilation.GetSemanticModel(tree); 3967var model = compilation.GetSemanticModel(tree); 4043var model = compilation.GetSemanticModel(tree); 4165var model = compilation.GetSemanticModel(tree); 4241var model = compilation.GetSemanticModel(tree); 4312var model = compilation.GetSemanticModel(tree); 4393var model = compilation.GetSemanticModel(tree); 4454var model = compilation.GetSemanticModel(tree); 4560var model = compilation.GetSemanticModel(tree); 4621var model = compilation.GetSemanticModel(tree); 4676var model = compilation.GetSemanticModel(tree); 4722var model = compilation.GetSemanticModel(tree); 4761var model = compilation.GetSemanticModel(tree); 4800var model = compilation.GetSemanticModel(tree); 4832var model = compilation.GetSemanticModel(tree); 4907var model = compilation.GetSemanticModel(tree); 4976var model = compilation.GetSemanticModel(tree); 5073var model = compilation.GetSemanticModel(tree); 5142var model = compilation.GetSemanticModel(tree); 5197var model = compilation.GetSemanticModel(tree); 5243var model = compilation.GetSemanticModel(tree); 5282var model = compilation.GetSemanticModel(tree); 5321var model = compilation.GetSemanticModel(tree); 5400var model = compilation.GetSemanticModel(tree); 5476var model = compilation.GetSemanticModel(tree); 5585var model = compilation.GetSemanticModel(tree); 5661var model = compilation.GetSemanticModel(tree); 5726var model = compilation.GetSemanticModel(tree); 5777var model = compilation.GetSemanticModel(tree); 5816var model = compilation.GetSemanticModel(tree); 5855var model = compilation.GetSemanticModel(tree); 5892var model = compilation.GetSemanticModel(tree); 5938var model = compilation.GetSemanticModel(tree); 5976var model = compilation.GetSemanticModel(tree); 6026var model = compilation.GetSemanticModel(tree); 6063var model = compilation.GetSemanticModel(tree); 6110var model = compilation.GetSemanticModel(tree); 6142var model = compilation.GetSemanticModel(tree); 6196var model = compilation.GetSemanticModel(tree); 6234var model = compilation.GetSemanticModel(tree); 6269var model = compilation.GetSemanticModel(tree); 6298var model = compilation.GetSemanticModel(tree); 6320var model = compilation.GetSemanticModel(tree); 6349var model = compilation.GetSemanticModel(tree); 6373var model = compilation.GetSemanticModel(tree); 6396var model = compilation.GetSemanticModel(tree); 6513var model = compilation.GetSemanticModel(tree); 6601var model = compilation.GetSemanticModel(tree); 6685var model = compilation.GetSemanticModel(tree); 6728var model = compilation.GetSemanticModel(tree); 6761var model = compilation.GetSemanticModel(tree); 6803var model = compilation.GetSemanticModel(tree); 6941var model = compilation.GetSemanticModel(tree); 7039var model = compilation.GetSemanticModel(tree); 7131var model = compilation.GetSemanticModel(tree); 7258var model = compilation.GetSemanticModel(tree); 7362var model = compilation.GetSemanticModel(tree); 7451var model = compilation.GetSemanticModel(tree); 7527var model = compilation.GetSemanticModel(tree); 7621var model = compilation.GetSemanticModel(tree); 7708var model = compilation.GetSemanticModel(tree); 7733var model = compilation.GetSemanticModel(tree); 7929var model = compilation.GetSemanticModel(tree); 8188var model = compilation.GetSemanticModel(tree); 8373var model = compilation.GetSemanticModel(tree); 8480var model = compilation.GetSemanticModel(tree); 8579var model = compilation.GetSemanticModel(tree);
Semantics\PatternMatchingTests_ListPatterns.cs (4)
3646var model = compilation.GetSemanticModel(tree); 3691var model = compilation.GetSemanticModel(tree); 3721var model = compilation.GetSemanticModel(tree); 4417var model = compilation.GetSemanticModel(tree);
Semantics\PatternMatchingTests_Scope.cs (132)
203var model = compilation.GetSemanticModel(tree); 284var model = compilation.GetSemanticModel(tree); 330var model = compilation.GetSemanticModel(tree); 371var model = compilation.GetSemanticModel(tree); 401var model = compilation.GetSemanticModel(tree); 588var model = compilation.GetSemanticModel(tree); 676var model = compilation.GetSemanticModel(tree); 706var model = compilation.GetSemanticModel(tree); 858var model = compilation.GetSemanticModel(tree); 945var model = compilation.GetSemanticModel(tree); 975var model = compilation.GetSemanticModel(tree); 1156var model = compilation.GetSemanticModel(tree); 1249var model = compilation.GetSemanticModel(tree); 1279var model = compilation.GetSemanticModel(tree); 1519var model = compilation.GetSemanticModel(tree); 1819var model = compilation.GetSemanticModel(tree); 2070var model = compilation.GetSemanticModel(tree); 2216var model = compilation.GetSemanticModel(tree); 2352var model = compilation.GetSemanticModel(tree); 2417var model = compilation.GetSemanticModel(tree); 2480var model = compilation.GetSemanticModel(tree); 2550var model = compilation.GetSemanticModel(tree); 2706var model = compilation.GetSemanticModel(tree); 2789var model = compilation.GetSemanticModel(tree); 2985var model = compilation.GetSemanticModel(tree); 3154var model = compilation.GetSemanticModel(tree); 3269var model = compilation.GetSemanticModel(tree); 3358var model = compilation.GetSemanticModel(tree); 3446var model = compilation.GetSemanticModel(tree); 3533var model = compilation.GetSemanticModel(tree); 3609var model = compilation.GetSemanticModel(tree); 3706var model = compilation.GetSemanticModel(tree); 3797var model = compilation.GetSemanticModel(tree); 3887var model = compilation.GetSemanticModel(tree); 3979var model = compilation.GetSemanticModel(tree); 4075var model = compilation.GetSemanticModel(tree); 4221var model = compilation.GetSemanticModel(tree); 4503var model = compilation.GetSemanticModel(tree); 4903var model = compilation.GetSemanticModel(tree); 5212var model = compilation.GetSemanticModel(tree); 5305var model = compilation.GetSemanticModel(tree); 5335var model = compilation.GetSemanticModel(tree); 5500var model = compilation.GetSemanticModel(tree); 5707var model = compilation.GetSemanticModel(tree); 5914var model = compilation.GetSemanticModel(tree); 6023var model = compilation.GetSemanticModel(tree); 6104var model = compilation.GetSemanticModel(tree); 6187var model = compilation.GetSemanticModel(tree); 6274var model = compilation.GetSemanticModel(tree); 6348var model = compilation.GetSemanticModel(tree); 6418var model = compilation.GetSemanticModel(tree); 6465var model = compilation.GetSemanticModel(tree); 6518var model = compilation.GetSemanticModel(tree); 6588var model = compilation.GetSemanticModel(tree); 6677var model = compilation.GetSemanticModel(tree); 6753var model = compilation.GetSemanticModel(tree); 6828var model = compilation.GetSemanticModel(tree); 6878var model = compilation.GetSemanticModel(tree); 6928var model = compilation.GetSemanticModel(tree); 7085var model = compilation.GetSemanticModel(tree); 7175var model = compilation.GetSemanticModel(tree); 7205var model = compilation.GetSemanticModel(tree); 7407var model = compilation.GetSemanticModel(tree); 7498var model = compilation.GetSemanticModel(tree); 7528var model = compilation.GetSemanticModel(tree); 7722var model = compilation.GetSemanticModel(tree); 7951var model = compilation.GetSemanticModel(tree); 8201var model = compilation.GetSemanticModel(tree); 8441var model = compilation.GetSemanticModel(tree); 8673var model = compilation.GetSemanticModel(tree); 8989var model = compilation.GetSemanticModel(tree); 9132var model = compilation.GetSemanticModel(tree); 9304var model = compilation.GetSemanticModel(tree); 9513var model = compilation.GetSemanticModel(tree); 9604var model = compilation.GetSemanticModel(tree); 9634var model = compilation.GetSemanticModel(tree); 9799var model = compilation.GetSemanticModel(tree); 9928var model = compilation.GetSemanticModel(tree); 10076var model = compilation.GetSemanticModel(tree); 10164var model = compilation.GetSemanticModel(tree); 10197var model = compilation.GetSemanticModel(tree); 10366var model = compilation.GetSemanticModel(tree); 10587var model = compilation.GetSemanticModel(tree); 10683var model = compilation.GetSemanticModel(tree); 10713var model = compilation.GetSemanticModel(tree); 11000var model = compilation.GetSemanticModel(tree); 11130var model = compilation.GetSemanticModel(tree); 11178var model = compilation.GetSemanticModel(tree); 11228var model = compilation.GetSemanticModel(tree); 11271var model = compilation.GetSemanticModel(tree); 11314var model = compilation.GetSemanticModel(tree); 11360var model = compilation.GetSemanticModel(tree); 11403var model = compilation.GetSemanticModel(tree); 11451Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(yRef).Type.ToTestDisplayString()); 11454Assert.Equal("System.Boolean", compilation.GetSemanticModel(tree).GetTypeInfo(zRef).Type.ToTestDisplayString()); 11497Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(xRef).Type.ToTestDisplayString()); 11500Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(yRef).Type.ToTestDisplayString()); 11503Assert.Equal("System.Boolean", compilation.GetSemanticModel(tree).GetTypeInfo(zRef).Type.ToTestDisplayString()); 11549Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(xRef).Type.ToTestDisplayString()); 11556Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(yRef).Type.ToTestDisplayString()); 11612Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(xRef).Type.ToTestDisplayString()); 11615Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(yRef).Type.ToTestDisplayString()); 11667Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(y1Ref).Type.ToTestDisplayString()); 11670Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(z0Ref).Type.ToTestDisplayString()); 11673Assert.Equal("System.Boolean", compilation.GetSemanticModel(tree).GetTypeInfo(z1Ref).Type.ToTestDisplayString()); 11727Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(y1Ref).Type.ToTestDisplayString()); 11730Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(z0Ref).Type.ToTestDisplayString()); 11733Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(z1Ref).Type.ToTestDisplayString()); 11736Assert.Equal("System.Boolean", compilation.GetSemanticModel(tree).GetTypeInfo(z2Ref).Type.ToTestDisplayString()); 11805var model = compilation.GetSemanticModel(tree); 11902var model = compilation.GetSemanticModel(tree); 11991var model = compilation.GetSemanticModel(tree); 12089var model = compilation.GetSemanticModel(tree); 12140var model = compilation.GetSemanticModel(tree); 12202var model = compilation.GetSemanticModel(tree); 12246var model = compilation.GetSemanticModel(tree); 12254model = compilation.GetSemanticModel(tree); 12441var model = compilation.GetSemanticModel(tree); 12594var model = compilation.GetSemanticModel(tree); 12784var model = compilation.GetSemanticModel(tree); 12905var model = compilation.GetSemanticModel(tree); 12997var model = compilation.GetSemanticModel(tree); 13179var model = compilation.GetSemanticModel(tree); 13322var model = compilation.GetSemanticModel(tree); 13396var model = compilation.GetSemanticModel(tree); 13484var model = compilation.GetSemanticModel(tree); 13561var model = compilation.GetSemanticModel(tree); 13640var model = compilation.GetSemanticModel(tree); 13707var model = compilation.GetSemanticModel(tree); 13737var model = compilation.GetSemanticModel(tree); 13772var model = comp.GetSemanticModel(tree); 13969var model = compilation.GetSemanticModel(tree);
Semantics\PatternMatchingTests2.cs (9)
726var model = compilation.GetSemanticModel(tree); 733var model = compilation.GetSemanticModel(tree); 2023var model = (CSharpSemanticModel)compilation.GetSemanticModel(tree); 2064var model = (CSharpSemanticModel)compilation.GetSemanticModel(tree); 2162var model = compilation.GetSemanticModel(tree); 2254var model = compilation.GetSemanticModel(tree); 2298var model = compilation.GetSemanticModel(tree); 2344var model = compilation.GetSemanticModel(tree); 2887var model = comp.GetSemanticModel(tree);
Semantics\PatternMatchingTests3.cs (11)
47var model = compilation.GetSemanticModel(tree); 107var model = compilation.GetSemanticModel(tree); 158var model = compilation.GetSemanticModel(tree); 203var model = compilation.GetSemanticModel(tree); 254var model = compilation.GetSemanticModel(tree); 297var model = compilation.GetSemanticModel(tree); 344var model = compilation.GetSemanticModel(tree); 1887var model = compilation.GetSemanticModel(tree); 1935var model = compilation.GetSemanticModel(tree); 4105var model = compilation.GetSemanticModel(tree); 4332var model = compilation.GetSemanticModel(tree);
Semantics\PatternMatchingTests4.cs (12)
1010var model = compilation.GetSemanticModel(tree); 3967var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4036var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4109var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4181var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4225var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4272var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4354var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4436var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4518var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4600var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4684var model = (CSharpSemanticModel)comp.GetSemanticModel(tree);
Semantics\PatternMatchingTests5.cs (4)
1104var model = compilation.GetSemanticModel(tree); 1184var model = compilation.GetSemanticModel(tree); 1235var model = compilation.GetSemanticModel(tree); 1287var model = compilation.GetSemanticModel(tree);
Semantics\PatternSwitchTests.cs (5)
1512var model = compilation.GetSemanticModel(tree); 1895var model = compilation.GetSemanticModel(tree); 1930var model = compilation.GetSemanticModel(tree); 3249var model = compilation.GetSemanticModel(tree); 3280var model = compilation.GetSemanticModel(tree);
Microsoft.CodeAnalysis.CSharp.Features (1)
UsePatternMatching\CSharpIsAndCastCheckWithoutNameDiagnosticAnalyzer.cs (1)
223return updatedCompilation.GetSemanticModel(updatedSyntaxTree);
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (33)
IOperation\IOperationTests.cs (11)
311var op = (IForLoopOperation)comp.GetSemanticModel(tree).GetOperation(tree.GetRoot().DescendantNodes().OfType<ForStatementSyntax>().Single()); 379var op = (IForEachLoopOperation)comp.GetSemanticModel(tree).GetOperation(tree.GetRoot().DescendantNodes().OfType<ForEachStatementSyntax>().Single()); 461var model = compilation.GetSemanticModel(tree); 491var model = compilation.GetSemanticModel(tree); 510var model = compilation.GetSemanticModel(tree); 525var model = compilation.GetSemanticModel(tree); 555var model = comp.GetSemanticModel(tree); 590var model = compilation.GetSemanticModel(tree); 618var model = compilation.GetSemanticModel(tree); 662var semanticModel = compilation.GetSemanticModel(syntaxTree); 718var model = comp.GetSemanticModel(tree);
IOperation\IOperationTests_IAnonymousFunctionExpression.cs (4)
407var semanticModel = compilation.GetSemanticModel(syntaxTree); 487var semanticModel = compilation.GetSemanticModel(syntaxTree); 846var semanticModel = compilation.GetSemanticModel(tree); 901var semanticModel = compilation.GetSemanticModel(tree);
IOperation\IOperationTests_IConstructorBodyOperation.cs (5)
38var model = compilation.GetSemanticModel(tree); 485var model = compilation.GetSemanticModel(tree); 1070var model = compilation.GetSemanticModel(tree); 1090var model = compilation.GetSemanticModel(tree); 1123var model = compilation.GetSemanticModel(tree);
IOperation\IOperationTests_IConversionExpression.cs (3)
175var typeInfo = compilation.GetSemanticModel(syntax.SyntaxTree).GetTypeInfo(initializerSyntax); 5211var model = compilation.GetSemanticModel(tree); 5275var semanticModel = compilation.GetSemanticModel(finalSyntax.SyntaxTree);
IOperation\IOperationTests_IFieldReferenceExpression.cs (1)
705var model = comp.GetSemanticModel(syntaxTree);
IOperation\IOperationTests_ILocalFunctionStatement.cs (2)
1792var semanticModel = compilation.GetSemanticModel(tree); 1847var semanticModel = compilation.GetSemanticModel(tree);
IOperation\IOperationTests_IMethodBodyOperation.cs (6)
33var model = compilation.GetSemanticModel(tree); 560var model = compilation.GetSemanticModel(tree); 702var model = compilation.GetSemanticModel(tree); 844var model = compilation.GetSemanticModel(tree); 976var model = compilation.GetSemanticModel(tree); 1122var model = compilation.GetSemanticModel(tree);
IOperation\IOperationTests_ISymbolInitializer.cs (1)
36var semanticModel = compilation.GetSemanticModel(tree);
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
InteractiveSessionTests.cs (1)
1179var semanticModel = compilation.GetSemanticModel(tree);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1414)
Semantics\AccessCheckTests.cs (2)
742var model = c.GetSemanticModel(tree); 896var model = c1.GetSemanticModel(tree);
Semantics\AccessibilityTests.cs (1)
34s_testModel = c.GetSemanticModel(t);
Semantics\AnonymousFunctionTests.cs (2)
980var semanticModel = compilation.GetSemanticModel(syntaxTree); 1014var semanticModel = compilation.GetSemanticModel(syntaxTree);
Semantics\ArglistTests.cs (1)
958var model = comp.GetSemanticModel(tree);
Semantics\AwaitExpressionTests.cs (4)
83var model = csCompilation.GetSemanticModel(tree); 159var treeModel = comp.GetSemanticModel(tree); 272var semanticModel = compilation.GetSemanticModel(compilation.SyntaxTrees[0]); 293var model = comp.GetSemanticModel(tree);
Semantics\BetterCandidates.cs (4)
1088var model = compilation.GetSemanticModel(compilation.SyntaxTrees[0]); 1165var model = compilation.GetSemanticModel(compilation.SyntaxTrees[0]); 1213var model = compilation.GetSemanticModel(compilation.SyntaxTrees[0]); 1266var model = compilation.GetSemanticModel(compilation.SyntaxTrees[0]);
Semantics\BindingAsyncTests.cs (2)
56var model = compilation.GetSemanticModel(tree); 85var model = compilation.GetSemanticModel(tree);
Semantics\BindingTests.cs (15)
2331var model = comp.GetSemanticModel(tree); 2350var model = comp.GetSemanticModel(tree); 2687var model = compilation.GetSemanticModel(tree); 2743var model = compilation.GetSemanticModel(tree); 2798var model = compilation.GetSemanticModel(tree); 2854var model = compilation.GetSemanticModel(tree); 2891var model = comp.GetSemanticModel(tree); 2933var model = comp.GetSemanticModel(tree); 3002var model = comp.GetSemanticModel(tree); 3082var model = comp.GetSemanticModel(tree); 3155var model = comp.GetSemanticModel(tree); 3240var model = comp.GetSemanticModel(tree); 3345var model = comp.GetSemanticModel(tree); 3470var model = comp.GetSemanticModel(tree); 3651var model = comp.GetSemanticModel(tree);
Semantics\ColorColorTests.cs (18)
589var model = comp.GetSemanticModel(tree); 634var model = comp.GetSemanticModel(tree); 725var model = comp.GetSemanticModel(tree); 1063var model = comp.GetSemanticModel(tree); 1109var model = comp.GetSemanticModel(tree); 1155var model = comp.GetSemanticModel(tree); 1200var model = comp.GetSemanticModel(tree); 1241var model = comp.GetSemanticModel(tree); 1278var model = comp.GetSemanticModel(tree); 1841var model = comp.GetSemanticModel(tree); 1880var model1 = compilation.GetSemanticModel(tree); 1890var model2 = compilation.GetSemanticModel(tree); 1937var model1 = compilation.GetSemanticModel(tree); 1947var model2 = compilation.GetSemanticModel(tree); 1994var model1 = compilation.GetSemanticModel(tree); 2004var model2 = compilation.GetSemanticModel(tree); 2044var model1 = compilation.GetSemanticModel(tree); 2053var model2 = compilation.GetSemanticModel(tree);
Semantics\ConditionalOperatorTests.cs (4)
1268var model = comp.GetSemanticModel(tree); 1325var model = compilation.GetSemanticModel(tree); 1381var model = compilation.GetSemanticModel(tree); 1426var model = compilation.GetSemanticModel(tree);
Semantics\ConstantTests.cs (2)
2925var constantValue = comp.GetSemanticModel(tree).GetConstantValue(expr); 3501var model = comp.GetSemanticModel(tree);
Semantics\DeconstructionTests.cs (25)
1838var model = comp.Compilation.GetSemanticModel(tree, ignoreAccessibility: false); 3764var model = compilation.GetSemanticModel(tree); 4171var model = comp.GetSemanticModel(tree); 4239var model = comp.GetSemanticModel(tree); 4374var model = comp.GetSemanticModel(tree); 4508var model = comp.GetSemanticModel(tree); 4666var model = comp.GetSemanticModel(tree); 4724var model = comp1.GetSemanticModel(tree); 4760var model = comp.GetSemanticModel(tree); 4838var model = comp.GetSemanticModel(tree); 4943var model = comp.GetSemanticModel(tree); 4989var model = comp.GetSemanticModel(tree); 5047var model = comp.GetSemanticModel(tree); 5188var model = comp.GetSemanticModel(tree); 5332var model = comp.GetSemanticModel(tree); 5479var model = comp.GetSemanticModel(tree); 5656var model = comp.GetSemanticModel(tree); 5766var model = comp.GetSemanticModel(tree); 5879var model = comp.GetSemanticModel(tree); 5988var model = comp.GetSemanticModel(tree); 6031var model = comp.GetSemanticModel(tree); 6071var model = comp.GetSemanticModel(tree); 6113var model = comp.GetSemanticModel(tree); 6153var model = comp.GetSemanticModel(tree); 6556var model = comp.GetSemanticModel(tree);
Semantics\DelegateTypeTests.cs (18)
748var model = comp.GetSemanticModel(tree); 794var model = comp.GetSemanticModel(tree); 894var model = comp.GetSemanticModel(tree); 937var model = comp.GetSemanticModel(tree); 995var model = comp.GetSemanticModel(tree); 1035var model = comp.GetSemanticModel(tree); 1218var model = comp.GetSemanticModel(tree); 1313var model = comp.GetSemanticModel(tree); 1408var model = comp.GetSemanticModel(tree); 1822var model = comp.GetSemanticModel(tree); 5312var model = comp.GetSemanticModel(tree); 5335var model = comp.GetSemanticModel(tree); 7670var model = comp.GetSemanticModel(tree); 8368var model = comp.GetSemanticModel(tree); 8455var model = comp.GetSemanticModel(tree); 9369var model = comp.GetSemanticModel(syntaxTree); 11393var model = comp.GetSemanticModel(tree); 11440var model = comp.GetSemanticModel(tree);
Semantics\DynamicTests.cs (5)
3548var model = verifier.Compilation.GetSemanticModel(tree); 3581var model = verifier.Compilation.GetSemanticModel(tree); 3609var model = verifier.Compilation.GetSemanticModel(tree); 3637var model = verifier.Compilation.GetSemanticModel(tree); 3688var model = verifier.Compilation.GetSemanticModel(tree);
Semantics\ExpressionBodiedMemberTests.cs (16)
39var model = comp.GetSemanticModel(tree); 424var model = comp.GetSemanticModel(tree); 473var model = comp.GetSemanticModel(tree); 504var model = comp.GetSemanticModel(tree); 533var model = comp.GetSemanticModel(tree); 573var model = comp.GetSemanticModel(tree); 647var model = comp.GetSemanticModel(tree); 678var model = comp.GetSemanticModel(tree); 709var model = comp.GetSemanticModel(tree); 740var model = comp.GetSemanticModel(tree); 775var model = comp.GetSemanticModel(tree); 806var model = comp.GetSemanticModel(tree); 837var model = comp.GetSemanticModel(tree); 872var model = comp.GetSemanticModel(tree); 911var model = comp.GetSemanticModel(tree); 1019var model = comp.GetSemanticModel(tree);
Semantics\ForEachTests.cs (5)
2126var model = comp.GetSemanticModel(tree); 2178var model = comp.GetSemanticModel(tree); 2882var model = comp.GetSemanticModel(tree); 3260var treeModel = (SyntaxTreeSemanticModel)comp.GetSemanticModel(tree); 3363var model = compilation.GetSemanticModel(tree);
Semantics\FunctionPointerTests.cs (45)
177var model = comp.GetSemanticModel(tree); 269var model = comp.GetSemanticModel(tree); 327var model = comp.GetSemanticModel(tree); 378var model = comp.GetSemanticModel(tree); 430var model = comp.GetSemanticModel(tree); 478var model = comp.GetSemanticModel(tree); 576var model = comp.GetSemanticModel(tree); 815var model = comp.GetSemanticModel(tree); 858var model = comp.GetSemanticModel(tree); 918var model = comp.GetSemanticModel(tree); 954var model = comp.GetSemanticModel(tree); 1022var model = comp.GetSemanticModel(tree); 1102var model = comp.GetSemanticModel(tree); 1247var model = comp.GetSemanticModel(tree); 1342var model = comp.GetSemanticModel(tree); 1483var model = comp.GetSemanticModel(tree); 1540var model = comp.GetSemanticModel(tree); 1591var model = comp.GetSemanticModel(tree); 1639var model = comp.GetSemanticModel(tree); 1672var model = comp.GetSemanticModel(tree); 1705var model = comp.GetSemanticModel(tree); 1751var model = comp.GetSemanticModel(tree); 1799var model = comp.GetSemanticModel(tree); 1832var model = comp.GetSemanticModel(tree); 1865var model = comp.GetSemanticModel(tree); 1912var model = comp.GetSemanticModel(tree); 2031var model = comp.GetSemanticModel(tree); 2064var model = comp.GetSemanticModel(tree); 2201var model = comp.GetSemanticModel(tree); 2258var model = comp.GetSemanticModel(tree); 2331var model = comp.GetSemanticModel(tree); 2405var model = comp.GetSemanticModel(tree); 2473var model = comp.GetSemanticModel(tree); 2570var model = comp.GetSemanticModel(tree); 2643var model = comp.GetSemanticModel(tree); 3155var model = comp.GetSemanticModel(tree); 3274var model = comp.GetSemanticModel(tree); 3353var model = comp.GetSemanticModel(syntaxTree); 3410var model = comp.GetSemanticModel(syntaxTree); 3452var model = comp.GetSemanticModel(syntaxTree); 3505var model = comp.GetSemanticModel(syntaxTree); 3559var model = comp.GetSemanticModel(syntaxTree); 3654var model = comp.GetSemanticModel(syntaxTree); 3782var model = comp.GetSemanticModel(syntaxTree); 3927var model = comp.GetSemanticModel(syntaxTree);
Semantics\FuzzTests.cs (1)
52var model = compilation.GetSemanticModel(tree);
Semantics\GenericConstraintsTests.cs (4)
3138var model = compilation.GetSemanticModel(tree); 3168var model = compilation.GetSemanticModel(tree); 3194var model = compilation.GetSemanticModel(tree); 3223var model = compilation.GetSemanticModel(tree);
Semantics\GlobalUsingDirectiveTests.cs (86)
2216comp2.GetSemanticModel(comp2.SyntaxTrees[1]).GetDeclarationDiagnostics().Where(d => d.Code is not ((int)ErrorCode.HDN_UnusedUsingDirective or (int)ErrorCode.HDN_UnusedExternAlias)).Verify(expected); 2219comp2.GetSemanticModel(comp2.SyntaxTrees[2]).GetDeclarationDiagnostics().Where(d => d.Code is not ((int)ErrorCode.HDN_UnusedUsingDirective or (int)ErrorCode.HDN_UnusedExternAlias)).Verify(expected); 2301comp2.GetSemanticModel(comp2.SyntaxTrees[1]).GetDeclarationDiagnostics().Where(d => d.Code != (int)ErrorCode.HDN_UnusedUsingDirective).Verify( 2308comp2.GetSemanticModel(comp2.SyntaxTrees[1]).GetDeclarationDiagnostics().Where(d => d.Code != (int)ErrorCode.HDN_UnusedUsingDirective).Verify( 2338comp2.GetSemanticModel(comp2.SyntaxTrees[1]).GetDeclarationDiagnostics().Where(d => d.Code != (int)ErrorCode.HDN_UnusedUsingDirective).Verify(expected); 2341comp2.GetSemanticModel(comp2.SyntaxTrees[0]).GetDeclarationDiagnostics().Where(d => d.Code != (int)ErrorCode.HDN_UnusedUsingDirective).Verify(expected); 2344comp2.GetSemanticModel(comp2.SyntaxTrees[0]).GetDeclarationDiagnostics().Where(d => d.Code != (int)ErrorCode.HDN_UnusedUsingDirective).Verify(expected); 2635comp2.GetSemanticModel(comp2.SyntaxTrees[1]).GetDeclarationDiagnostics().Where(d => d.Code != (int)ErrorCode.HDN_UnusedUsingDirective).Verify( 2642comp2.GetSemanticModel(comp2.SyntaxTrees[1]).GetDeclarationDiagnostics().Where(d => d.Code != (int)ErrorCode.HDN_UnusedUsingDirective).Verify( 2671comp2.GetSemanticModel(comp2.SyntaxTrees[1]).GetDeclarationDiagnostics().Where(d => d.Code != (int)ErrorCode.HDN_UnusedUsingDirective).Verify(expected); 2674comp2.GetSemanticModel(comp2.SyntaxTrees[0]).GetDeclarationDiagnostics().Where(d => d.Code != (int)ErrorCode.HDN_UnusedUsingDirective).Verify(expected); 2677comp2.GetSemanticModel(comp2.SyntaxTrees[0]).GetDeclarationDiagnostics().Where(d => d.Code != (int)ErrorCode.HDN_UnusedUsingDirective).Verify( 2789comp2.GetSemanticModel(comp2.SyntaxTrees[1]).GetDeclarationDiagnostics().Where(d => d.Code != (int)ErrorCode.HDN_UnusedUsingDirective).Verify( 2796comp2.GetSemanticModel(comp2.SyntaxTrees[1]).GetDeclarationDiagnostics().Where(d => d.Code != (int)ErrorCode.HDN_UnusedUsingDirective).Verify( 2825comp2.GetSemanticModel(comp2.SyntaxTrees[1]).GetDeclarationDiagnostics().Where(d => d.Code != (int)ErrorCode.HDN_UnusedUsingDirective).Verify(expected); 2828comp2.GetSemanticModel(comp2.SyntaxTrees[0]).GetDeclarationDiagnostics().Where(d => d.Code != (int)ErrorCode.HDN_UnusedUsingDirective).Verify(expected); 2831comp2.GetSemanticModel(comp2.SyntaxTrees[0]).GetDeclarationDiagnostics().Where(d => d.Code != (int)ErrorCode.HDN_UnusedUsingDirective).Verify( 2906comp2.GetSemanticModel(comp2.SyntaxTrees[0]).GetDiagnostics().Verify(expected2); 2907comp2.GetSemanticModel(comp2.SyntaxTrees[1]).GetDiagnostics().Verify(expected3); 2910comp2.GetSemanticModel(comp2.SyntaxTrees[1]).GetDiagnostics().Verify(expected3); 2911comp2.GetSemanticModel(comp2.SyntaxTrees[0]).GetDiagnostics().Verify(expected2); 2914comp2.GetSemanticModel(comp2.SyntaxTrees[0]).GetDiagnostics().Verify(expected3); 2915comp2.GetSemanticModel(comp2.SyntaxTrees[1]).GetDiagnostics().Verify(expected2); 2918comp2.GetSemanticModel(comp2.SyntaxTrees[0]).GetDiagnostics().Verify(expected1); 2992comp2.GetSemanticModel(comp2.SyntaxTrees[0]).GetDiagnostics().Verify(expected2); 2993comp2.GetSemanticModel(comp2.SyntaxTrees[1]).GetDiagnostics().Verify(expected3); 2996comp2.GetSemanticModel(comp2.SyntaxTrees[1]).GetDiagnostics().Verify(expected3); 2997comp2.GetSemanticModel(comp2.SyntaxTrees[0]).GetDiagnostics().Verify(expected2); 3000comp2.GetSemanticModel(comp2.SyntaxTrees[0]).GetDiagnostics().Verify(expected3); 3001comp2.GetSemanticModel(comp2.SyntaxTrees[1]).GetDiagnostics().Verify(expected2); 3004comp2.GetSemanticModel(comp2.SyntaxTrees[0]).GetDiagnostics().Verify(expected1); 3078comp2.GetSemanticModel(comp2.SyntaxTrees[0]).GetDiagnostics().Verify(expected2); 3079comp2.GetSemanticModel(comp2.SyntaxTrees[1]).GetDiagnostics().Verify(expected3); 3082comp2.GetSemanticModel(comp2.SyntaxTrees[1]).GetDiagnostics().Verify(expected3); 3083comp2.GetSemanticModel(comp2.SyntaxTrees[0]).GetDiagnostics().Verify(expected2); 3086comp2.GetSemanticModel(comp2.SyntaxTrees[0]).GetDiagnostics().Verify(expected3); 3087comp2.GetSemanticModel(comp2.SyntaxTrees[1]).GetDiagnostics().Verify(expected2); 3090comp2.GetSemanticModel(comp2.SyntaxTrees[0]).GetDiagnostics().Verify(expected1); 3245comp2.GetSemanticModel(comp2.SyntaxTrees[1]).GetDiagnostics().Verify(expected1); 3248comp2.GetSemanticModel(comp2.SyntaxTrees[2]).GetDiagnostics().Verify(expected2); 3251comp2.GetSemanticModel(comp2.SyntaxTrees[0]).GetDiagnostics().Verify(expected0); 3256comp2.GetSemanticModel(comp2.SyntaxTrees[0]).GetDiagnostics(TextSpan.FromBounds(20, comp2.SyntaxTrees[0].Length - 1)).Verify( 3264comp2.GetSemanticModel(comp2.SyntaxTrees[1]).GetDiagnostics(TextSpan.FromBounds(20, comp2.SyntaxTrees[1].Length - 1)).Verify( 3272comp2.GetSemanticModel(comp2.SyntaxTrees[2]).GetDiagnostics(TextSpan.FromBounds(20, comp2.SyntaxTrees[2].Length - 1)).Verify( 3285comp2.GetSemanticModel(comp2.SyntaxTrees[1]).GetDiagnostics().Verify(expected1); 3287comp2.GetSemanticModel(comp2.SyntaxTrees[1]).GetDiagnostics().Verify(expected1); 3290comp2.GetSemanticModel(comp2.SyntaxTrees[2]).GetDiagnostics().Verify(expected2); 3292comp2.GetSemanticModel(comp2.SyntaxTrees[2]).GetDiagnostics().Verify(expected2); 3295comp2.GetSemanticModel(comp2.SyntaxTrees[0]).GetDiagnostics().Verify(expected0); 3297comp2.GetSemanticModel(comp2.SyntaxTrees[0]).GetDiagnostics().Verify(expected0); 3302comp2.GetSemanticModel(comp2.SyntaxTrees[1]).GetDiagnostics().Verify(expected1); 3305comp2.GetSemanticModel(comp2.SyntaxTrees[0]).GetDiagnostics().Verify(expected0); 3308comp2.GetSemanticModel(comp2.SyntaxTrees[2]).GetDiagnostics().Verify(expected2); 3313comp2.GetSemanticModel(comp2.SyntaxTrees[0]).GetDiagnostics().Verify(expected0); 3316comp2.GetSemanticModel(comp2.SyntaxTrees[1]).GetDiagnostics().Verify(expected1); 3319comp2.GetSemanticModel(comp2.SyntaxTrees[2]).GetDiagnostics().Verify(expected2); 3841var model = comp.GetSemanticModel(tree); 3867model = comp.GetSemanticModel(tree); 3889model = comp.GetSemanticModel(tree); 3898model = comp.GetSemanticModel(tree); 3917model = comp.GetSemanticModel(tree); 3931model = comp.GetSemanticModel(tree); 3951model = comp.GetSemanticModel(tree); 3967model = comp.GetSemanticModel(tree); 3976model = comp.GetSemanticModel(tree); 3989model = comp.GetSemanticModel(tree); 4003model = comp.GetSemanticModel(tree); 4023model = comp.GetSemanticModel(tree); 4039model = comp.GetSemanticModel(tree); 4048model = comp.GetSemanticModel(tree); 4061model = comp.GetSemanticModel(tree); 4075model = comp.GetSemanticModel(tree); 4089model = comp.GetSemanticModel(tree); 4099model = comp.GetSemanticModel(tree); 4110model = comp.GetSemanticModel(tree); 4132model = comp.GetSemanticModel(tree); 4148model = comp.GetSemanticModel(tree); 4244var model = comp.GetSemanticModel(tree); 4252model = comp.GetSemanticModel(tree); 4280model = comp.GetSemanticModel(tree); 4288model = comp.GetSemanticModel(tree); 4296model = comp.GetSemanticModel(tree); 4304model = comp.GetSemanticModel(tree); 4316model = comp.GetSemanticModel(tree); 4978var model = comp.GetSemanticModel(tree); 4983model = comp.GetSemanticModel(tree);
Semantics\ImplicitlyTypeArraysTests.cs (2)
66var model = comp.GetSemanticModel(tree); 92var model = comp.GetSemanticModel(tree);
Semantics\ImplicitObjectCreationTests.cs (23)
55var model = comp.GetSemanticModel(tree); 130var model = comp.GetSemanticModel(tree); 177var model = comp.GetSemanticModel(tree); 227var model = comp.GetSemanticModel(tree); 841var model = comp.GetSemanticModel(tree); 882var model = comp.GetSemanticModel(tree); 1705var model = comp.GetSemanticModel(tree); 1865var model = comp.GetSemanticModel(tree); 1895var model = comp.GetSemanticModel(tree); 1925var model = comp.GetSemanticModel(tree); 1977var model = comp.GetSemanticModel(tree); 2035var model = comp.GetSemanticModel(tree); 2070var model = comp.GetSemanticModel(tree); 2124var model = comp.GetSemanticModel(tree); 2216var model = comp.GetSemanticModel(tree); 2513var model = comp.GetSemanticModel(tree); 2564var model = comp.GetSemanticModel(tree); 2921var model = comp.GetSemanticModel(tree); 3214var model = comp.GetSemanticModel(tree); 4156var model = comp.GetSemanticModel(tree); 4183var model = comp.GetSemanticModel(tree); 4529var semanticModel = compilation.GetSemanticModel(tree); 4572var semanticModel = compilation.GetSemanticModel(tree);
Semantics\InitOnlyMemberTests.cs (2)
3185var model = comp.GetSemanticModel(tree); 4130var model = comp.GetSemanticModel(tree);
Semantics\InteractiveSemanticModelTests.cs (2)
42var model = compilation.GetSemanticModel(tree); 359var model = compilation.GetSemanticModel(tree);
Semantics\InteractiveUsingTests.cs (4)
86var model = sub.GetSemanticModel(tree); 116var model = sub4.GetSemanticModel(tree); 583var model = comp.GetSemanticModel(tree); 593var model = comp.GetSemanticModel(tree);
Semantics\InterpolationTests.cs (2)
4571var model = comp.GetSemanticModel(tree); 4797var model = comp.GetSemanticModel(tree);
Semantics\IteratorTests.cs (3)
332var model = comp.GetSemanticModel(tree); 482var model = comp.GetSemanticModel(tree); 520var model = comp.GetSemanticModel(tree);
Semantics\LambdaDiscardParametersTests.cs (1)
385var model = comp.GetSemanticModel(tree);
Semantics\LambdaTests.cs (63)
835var model = comp.GetSemanticModel(tree); 935var model = compilation.GetSemanticModel(tree); 1027var model = compilation.GetSemanticModel(tree); 1081var model = compilation.GetSemanticModel(tree); 1116var model = compilation.GetSemanticModel(tree); 1172var model = comp.GetSemanticModel(tree); 1200var model = comp.GetSemanticModel(tree); 1232var model = comp.GetSemanticModel(tree); 1513var semanticModel = compilation.GetSemanticModel(tree); 1548var semanticModel = compilation.GetSemanticModel(tree); 1582var semanticModel = compilation.GetSemanticModel(tree); 1614var semanticModel = compilation.GetSemanticModel(tree); 1973var model = compilation.GetSemanticModel(tree); 2115var sm = compilation.GetSemanticModel(tree); 2161var sm = compilation.GetSemanticModel(tree); 2207var sm = compilation.GetSemanticModel(tree); 2253var sm = compilation.GetSemanticModel(tree); 2299var sm = compilation.GetSemanticModel(tree); 2329var sm = compilation.GetSemanticModel(tree); 2356var sm = compilation.GetSemanticModel(tree); 2410var sm = compilation.GetSemanticModel(tree); 2456var sm = compilation.GetSemanticModel(tree); 2502var sm = compilation.GetSemanticModel(tree); 2535var sm = compilation.GetSemanticModel(tree); 2568var sm = compilation.GetSemanticModel(tree); 2605var sm = compilation.GetSemanticModel(tree); 2657var sm = compilation.GetSemanticModel(tree); 2995var model = comp.GetSemanticModel(tree); 3002model = comp.GetSemanticModel(tree); 3011model = comp.GetSemanticModel(tree); 3037var model = comp.GetSemanticModel(tree); 3044model = comp.GetSemanticModel(tree); 3049model = comp.GetSemanticModel(tree); 3607var model = comp.GetSemanticModel(tree); 3876var model = comp.GetSemanticModel(tree); 3920var model = comp.GetSemanticModel(tree); 3960var model = comp.GetSemanticModel(tree); 4076var model = comp.GetSemanticModel(tree); 4105var model = comp.GetSemanticModel(tree); 4140var model = comp.GetSemanticModel(tree); 4168var model = comp.GetSemanticModel(tree); 4195var model = comp.GetSemanticModel(tree); 4770var model = comp.GetSemanticModel(tree); 4855var model = comp.GetSemanticModel(tree); 4883var model = comp.GetSemanticModel(tree); 4910var model = comp.GetSemanticModel(tree); 4938var model = comp.GetSemanticModel(tree); 4984var model = comp.GetSemanticModel(tree); 5598var model = comp.GetSemanticModel(tree); 6471var model = comp.GetSemanticModel(tree); 6781var model = comp.GetSemanticModel(tree); 6810var model = comp.GetSemanticModel(tree); 6862var model = comp.GetSemanticModel(tree); 6978var model = comp.GetSemanticModel(syntaxTree); 7072var model = comp.GetSemanticModel(syntaxTree); 7601var model = comp.GetSemanticModel(tree); 7975var model = comp.GetSemanticModel(tree); 8023var model = comp.GetSemanticModel(tree); 8047var model = comp.GetSemanticModel(tree); 8083var model = comp.GetSemanticModel(tree); 8195var model = comp.GetSemanticModel(tree); 8299var model = comp.GetSemanticModel(tree); 8324var model = comp.GetSemanticModel(tree);
Semantics\LocalFunctionTests.cs (44)
393var model = comp.GetSemanticModel(tree); 491var model = comp.GetSemanticModel(tree); 539var model = comp.GetSemanticModel(tree); 616var model = comp.GetSemanticModel(tree); 669var model = comp.GetSemanticModel(tree); 723var model = comp.GetSemanticModel(tree); 803var model = comp.GetSemanticModel(tree); 850var model = comp.GetSemanticModel(tree); 969var model = comp.GetSemanticModel(tree); 1020var model = comp.GetSemanticModel(tree); 1058var model = comp.GetSemanticModel(tree); 1718var model = comp.GetSemanticModel(tree); 1765var model = comp.GetSemanticModel(tree); 1840var model = comp.GetSemanticModel(tree); 1925var model = comp.GetSemanticModel(tree); 1975var model = comp.GetSemanticModel(tree); 2372var model = comp.GetSemanticModel(tree); 2569var model = comp.GetSemanticModel(tree); 4603var model = compilation.GetSemanticModel(tree); 4641var model = compilation.GetSemanticModel(tree); 4878var model = compilation.GetSemanticModel(tree); 5021var model = comp.GetSemanticModel(tree); 6277var model = comp.GetSemanticModel(tree); 6298var model = comp.GetSemanticModel(tree); 6326var model = comp.GetSemanticModel(tree); 6362var model = comp.GetSemanticModel(tree); 6406var model = comp.GetSemanticModel(tree); 6453var model = comp.GetSemanticModel(tree); 6955var model = comp.GetSemanticModel(tree); 7015var model = comp.GetSemanticModel(tree); 7264var parentModel = comp.GetSemanticModel(tree); 7349var parentModel = comp.GetSemanticModel(tree); 7414var parentModel = comp.GetSemanticModel(tree); 7438parentModel = comp.GetSemanticModel(tree); 7488var parentModel = comp.GetSemanticModel(tree); 7556var model = comp.GetSemanticModel(tree); 8601var model = comp.GetSemanticModel(tree); 8654var model = comp.GetSemanticModel(tree); 8696var model = comp.GetSemanticModel(tree); 8844var parentModel = comp.GetSemanticModel(tree); 9352var parentModel = comp.GetSemanticModel(tree); 9473var model = comp.GetSemanticModel(tree); 9670var parentModel = comp.GetSemanticModel(tree); 10093var model = comp.GetSemanticModel(tree);
Semantics\LockTests.cs (7)
43var model = compilation.GetSemanticModel(tree); 486var model = compilation.GetSemanticModel(tree); 548var model = compilation.GetSemanticModel(tree); 572var model = compilation.GetSemanticModel(tree); 602var model = compilation.GetSemanticModel(tree); 626var model = compilation.GetSemanticModel(tree); 696var model = compilation.GetSemanticModel(tree);
Semantics\LookupPositionTests.cs (3)
2272var model = (Microsoft.CodeAnalysis.SemanticModel)(compilation.GetSemanticModel(tree)); 2300var model = compilation.GetSemanticModel(tree); 3118return compilation.GetSemanticModel(tree);
Semantics\LookupTests.cs (22)
29var model = compilation.GetSemanticModel(tree); 38var model = compilation.GetSemanticModel(tree); 426var model = comp.GetSemanticModel(tree); 582var model = comp.GetSemanticModel(tree); 622var model = compilation.GetSemanticModel(tree); 679var model = compilation.GetSemanticModel(tree); 1368var model = comp.GetSemanticModel(tree); 1500var model = compilation.GetSemanticModel(tree); 1561var model = compilation.GetSemanticModel(tree); 1593var model = compilation.GetSemanticModel(tree); 1641var model = compilation.GetSemanticModel(tree); 1668var model = compilation.GetSemanticModel(tree); 1723var model = comp.GetSemanticModel(tree); 1757var model = comp.GetSemanticModel(tree); 1788var model = comp.GetSemanticModel(tree); 1820var model = comp.GetSemanticModel(tree); 1981var model = comp.GetSemanticModel(tree); 2012var model = comp.GetSemanticModel(tree); 2042var model = comp.GetSemanticModel(tree); 2072var model = comp.GetSemanticModel(tree); 2098var model = comp.GetSemanticModel(tree); 2121var model = comp.GetSemanticModel(tree);
Semantics\MethodTypeInferenceTests.cs (8)
699var model = comp.GetSemanticModel(tree); 754var model = comp.GetSemanticModel(tree); 800var model = comp.GetSemanticModel(tree); 1044var model = comp.GetSemanticModel(tree); 1074var model = comp.GetSemanticModel(tree); 1116var model = compilation.GetSemanticModel(tree); 1157var model = compilation.GetSemanticModel(tree); 1198var model = compilation.GetSemanticModel(tree);
Semantics\NameOfTests.cs (9)
689var model = compilation.GetSemanticModel(tree); 715var model = compilation.GetSemanticModel(tree); 750var model = compilation.GetSemanticModel(tree); 797var model = compilation.GetSemanticModel(tree); 834var model = compilation.GetSemanticModel(tree); 870var model = compilation.GetSemanticModel(tree); 916var model = compilation.GetSemanticModel(tree); 949var model = compilation.GetSemanticModel(tree); 1117var model = compilation.GetSemanticModel(tree);
Semantics\NativeIntegerTests.cs (13)
1788var model = comp.GetSemanticModel(tree); 2345var model = comp.GetSemanticModel(tree); 2465var model = compB.GetSemanticModel(tree); 3635var model = comp.GetSemanticModel(tree); 4074var model = comp.GetSemanticModel(tree); 4117var model = comp.GetSemanticModel(tree); 6034var model = comp.GetSemanticModel(tree); 6082var model = comp.GetSemanticModel(tree); 9468var model = comp.GetSemanticModel(tree); 9703var model = comp.GetSemanticModel(tree); 10077var model = comp.GetSemanticModel(tree); 10304var model = comp.GetSemanticModel(tree); 12354var model = comp.GetSemanticModel(tree);
Semantics\NonTrailingNamedArgumentsTests.cs (15)
43var model = verifier.Compilation.GetSemanticModel(tree); 365var model = comp.GetSemanticModel(tree); 391var model = verifier.Compilation.GetSemanticModel(tree); 421var model = comp.GetSemanticModel(tree); 453var model = comp.GetSemanticModel(tree); 482var model = comp.GetSemanticModel(tree); 532var model = comp.GetSemanticModel(tree); 567var model = comp.GetSemanticModel(tree); 596var model = comp.GetSemanticModel(tree); 650var model = comp.GetSemanticModel(tree); 677var model = comp.GetSemanticModel(tree); 708var model = comp.GetSemanticModel(tree); 742var model = verifier.Compilation.GetSemanticModel(tree); 774var model = verifier.Compilation.GetSemanticModel(tree); 948var model = comp.GetSemanticModel(tree);
Semantics\NullableContextTests.cs (14)
65var model = comp.GetSemanticModel(syntaxTree); 98var model1 = comp.GetSemanticModel(syntaxTree1); 100var model2 = comp.GetSemanticModel(syntaxTree2); 349var model = comp.GetSemanticModel(syntaxTree); 388var model = comp.GetSemanticModel(syntaxTree); 423var model = comp.GetSemanticModel(syntaxTree); 1770var model = comp.GetSemanticModel(syntaxTree); 1840var model = comp.GetSemanticModel(syntaxTree); 1877var model = comp.GetSemanticModel(syntaxTree); 1926var model = comp.GetSemanticModel(syntaxTree); 1968var model = comp.GetSemanticModel(syntaxTree); 2008var model = comp.GetSemanticModel(syntaxTree); 2047var model = comp.GetSemanticModel(syntaxTree); 2227var model = comp.GetSemanticModel(syntaxTree);
Semantics\NullableReferenceTypesTests.cs (61)
1740var model = comp.GetSemanticModel(tree); 1774var model = comp.GetSemanticModel(tree); 1827var model = comp.GetSemanticModel(tree); 1854var model = comp.GetSemanticModel(tree); 1879var model = comp.GetSemanticModel(tree); 1949var model = comp.GetSemanticModel(tree); 2262var model = comp.GetSemanticModel(tree); 2301var model = comp.GetSemanticModel(tree); 2334var model = comp.GetSemanticModel(tree); 2367var model = comp.GetSemanticModel(tree); 2466var model = comp.GetSemanticModel(tree); 3321var sm = compilation.GetSemanticModel(tree); 3680var model = comp.GetSemanticModel(tree); 5158var model = comp.GetSemanticModel(syntaxTree); 10521var model = compilation.GetSemanticModel(tree); 13498var model = compilation.GetSemanticModel(tree); 33044var model = compilation.GetSemanticModel(tree); 33061var model = compilation.GetSemanticModel(tree); 56562var model = comp.GetSemanticModel(tree); 56596var model = comp.GetSemanticModel(tree); 56624var model = comp.GetSemanticModel(tree); 56656var model = comp.GetSemanticModel(tree); 56685var model = comp.GetSemanticModel(tree); 56718var model = comp.GetSemanticModel(tree); 56750var model = comp.GetSemanticModel(tree); 56783var model = comp.GetSemanticModel(tree); 56817var model = comp.GetSemanticModel(tree); 56843var model = comp.GetSemanticModel(tree); 56872var model = comp.GetSemanticModel(tree); 56901var model = comp.GetSemanticModel(tree); 60391var model = comp.GetSemanticModel(syntaxTree); 63423var model1 = comp1.GetSemanticModel(tree1); 67834var model = comp.GetSemanticModel(tree); 67870var model = comp.GetSemanticModel(tree); 67911var model = comp.GetSemanticModel(tree); 67948var model = comp.GetSemanticModel(tree); 67985var model = comp.GetSemanticModel(tree); 68020var model = comp.GetSemanticModel(tree); 68053var model = comp.GetSemanticModel(tree); 68090var model = comp.GetSemanticModel(tree); 68456var model = comp.GetSemanticModel(tree); 68503var model = comp.GetSemanticModel(tree); 68542var model = comp.GetSemanticModel(tree); 70333var model = comp.GetSemanticModel(tree); 77611var model = comp.GetSemanticModel(tree); 90552var model = comp.GetSemanticModel(syntaxTree); 94027var model = comp.GetSemanticModel(tree); 95356var model = comp.GetSemanticModel(tree); 108040var model = comp.GetSemanticModel(tree); 108094var model = comp.GetSemanticModel(tree); 109463var model = comp.GetSemanticModel(tree); 109864var model = comp.GetSemanticModel(tree); 109895var model = comp.GetSemanticModel(tree); 110073var model = comp.GetSemanticModel(tree); 110298var model = comp.GetSemanticModel(tree); 142164var model = comp.GetSemanticModel(tree); 150438var model = comp.GetSemanticModel(tree); 150506var model = comp.GetSemanticModel(tree); 156278var model = comp.GetSemanticModel(tree); 156828var model = comp.GetSemanticModel(syntaxTree); 156874var model = comp.GetSemanticModel(syntaxTree);
Semantics\NullCoalesceAssignmentTests.cs (5)
37var semanticModel = comp.GetSemanticModel(syntaxTree); 75var semanticModel = comp.GetSemanticModel(syntaxTree); 118var semanticModel = comp.GetSemanticModel(syntaxTree); 157var semanticModel = comp.GetSemanticModel(syntaxTree); 183var semanticModel = comp.GetSemanticModel(syntaxTree);
Semantics\ObjectAndCollectionInitializerTests.cs (12)
3450var semanticModel = compilation.GetSemanticModel(tree); 3498var semanticModel = compilation.GetSemanticModel(tree); 3555var semanticModel = compilation.GetSemanticModel(tree); 3591var semanticModel = compilation.GetSemanticModel(tree); 3628var semanticModel = compilation.GetSemanticModel(tree); 3669var semanticModel = compilation.GetSemanticModel(tree); 3719var semanticModel = compilation.GetSemanticModel(tree); 3763var semanticModel = compilation.GetSemanticModel(tree); 3843var semanticModel = compilation.GetSemanticModel(tree); 3925var semanticModel = compilation.GetSemanticModel(tree); 3967var semanticModel = compilation.GetSemanticModel(tree); 4045var semanticModel = compilation.GetSemanticModel(tree);
Semantics\OperatorTests.cs (22)
45var semanticModel = compilation.GetSemanticModel(tree); 2983var model = compilation.GetSemanticModel(tree); 6936var model = comp.GetSemanticModel(tree); 7053var model = comp.GetSemanticModel(tree); 7208var model = comp.GetSemanticModel(tree); 7330var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 7485var semanticModel = compilation.GetSemanticModel(tree); 7701var semanticModel = compilation.GetSemanticModel(tree); 7716semanticModel = compilation.GetSemanticModel(tree); 7854var semanticModel = compilation.GetSemanticModel(tree); 8014var semanticModel = compilation.GetSemanticModel(tree); 8551var semanticModel = compilation.GetSemanticModel(tree); 8586var semanticModel = compilation.GetSemanticModel(tree); 8599semanticModel = compilation.GetSemanticModel(tree); 8630var semanticModel = compilation.GetSemanticModel(tree); 8647semanticModel = compilation.GetSemanticModel(tree); 8680var semanticModel = compilation.GetSemanticModel(tree); 8697semanticModel = compilation.GetSemanticModel(tree); 8754var semanticModel = compilation.GetSemanticModel(tree); 8813var model = (CSharpSemanticModel)compilation.GetSemanticModel(tree); 11339var type = (ITypeSymbol)compilation.GetSemanticModel(tree).GetTypeInfo(negNode).Type; 11415var model = comp.GetSemanticModel(tree);
Semantics\OutVarTests.cs (472)
57var model = compilation.GetSemanticModel(tree); 101var model = compilation.GetSemanticModel(tree); 124model = compilation.GetSemanticModel(tree); 217var model = compilation.GetSemanticModel(tree); 270var model = compilation.GetSemanticModel(tree); 333var model = compilation.GetSemanticModel(tree); 908var model = compilation.GetSemanticModel(tree); 1405var model = compilation.GetSemanticModel(tree); 1463var model = compilation.GetSemanticModel(tree); 1497var model = compilation.GetSemanticModel(tree); 1532var model = compilation.GetSemanticModel(tree); 1566var model = compilation.GetSemanticModel(tree); 1600var model = compilation.GetSemanticModel(tree); 1640var model = compilation.GetSemanticModel(tree); 1678var model = compilation.GetSemanticModel(tree); 1715var model = compilation.GetSemanticModel(tree); 1751var model = compilation.GetSemanticModel(tree); 1884var model = compilation.GetSemanticModel(tree); 2005var model = compilation.GetSemanticModel(tree); 2115var model = compilation.GetSemanticModel(tree); 2226var model = compilation.GetSemanticModel(tree); 2336var model = compilation.GetSemanticModel(tree); 2638var model = compilation.GetSemanticModel(tree); 2855var model = compilation.GetSemanticModel(tree); 2950var model = compilation.GetSemanticModel(tree); 3202var model = compilation.GetSemanticModel(tree); 3304var model = compilation.GetSemanticModel(tree); 3376var model = compilation.GetSemanticModel(tree); 3428var model = compilation.GetSemanticModel(tree); 3462var model = compilation.GetSemanticModel(tree); 3503var model = compilation.GetSemanticModel(tree); 3644var model = compilation.GetSemanticModel(tree); 3865var model = compilation.GetSemanticModel(tree); 3962var model = compilation.GetSemanticModel(tree); 3998var model = compilation.GetSemanticModel(tree); 4053var model = compilation.GetSemanticModel(tree); 4097var model = compilation.GetSemanticModel(tree); 4148var model = compilation.GetSemanticModel(tree); 4208var model = compilation.GetSemanticModel(tree); 4274var model = compilation.GetSemanticModel(tree); 4497var model = compilation.GetSemanticModel(tree); 4676var model = compilation.GetSemanticModel(tree); 4917var model = compilation.GetSemanticModel(tree); 5019var model = compilation.GetSemanticModel(tree); 5066var model = compilation.GetSemanticModel(tree); 5104var model = compilation.GetSemanticModel(tree); 5181var model = compilation.GetSemanticModel(tree); 5284var model = compilation.GetSemanticModel(tree); 5411var model = compilation.GetSemanticModel(tree); 5513var model = compilation.GetSemanticModel(tree); 5577var model = compilation.GetSemanticModel(tree); 5709var model = compilation.GetSemanticModel(tree); 5749var model = compilation.GetSemanticModel(tree); 5756Assert.Equal("System.Int32", ((ILocalSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(GetVariableDesignation(x1Decl))).Type.ToTestDisplayString()); 5910var model = compilation.GetSemanticModel(tree); 6051var model = compilation.GetSemanticModel(tree); 6328var model = compilation.GetSemanticModel(tree); 6563var model = compilation.GetSemanticModel(tree); 6819var model = compilation.GetSemanticModel(tree); 7065var model = compilation.GetSemanticModel(tree); 7303var model = compilation.GetSemanticModel(tree); 7625var model = compilation.GetSemanticModel(tree); 7774var model = compilation.GetSemanticModel(tree); 7834var model = compilation.GetSemanticModel(tree); 7896var model = compilation.GetSemanticModel(tree); 7962var model = compilation.GetSemanticModel(tree); 8026var model = compilation.GetSemanticModel(tree); 8093var model = compilation.GetSemanticModel(tree); 8155var model = compilation.GetSemanticModel(tree); 8210var model = compilation.GetSemanticModel(tree); 8388var model = compilation.GetSemanticModel(tree); 8488var model = compilation.GetSemanticModel(tree); 8660var model = compilation.GetSemanticModel(tree); 8762var model = compilation.GetSemanticModel(tree); 8798var model = compilation.GetSemanticModel(tree); 8870var model = compilation.GetSemanticModel(tree); 8920var model = compilation.GetSemanticModel(tree); 9162var model = compilation.GetSemanticModel(tree); 9264var model = compilation.GetSemanticModel(tree); 9335var model = compilation.GetSemanticModel(tree); 9428var model = compilation.GetSemanticModel(tree); 9508var model = compilation.GetSemanticModel(tree); 9584var model = compilation.GetSemanticModel(tree); 9637var model = compilation.GetSemanticModel(tree); 9694var model = compilation.GetSemanticModel(tree); 9759var model = compilation.GetSemanticModel(tree); 9816var model = compilation.GetSemanticModel(tree); 9891var model = compilation.GetSemanticModel(tree); 9986var model = compilation.GetSemanticModel(tree); 10068var model = compilation.GetSemanticModel(tree); 10149var model = compilation.GetSemanticModel(tree); 10205var model = compilation.GetSemanticModel(tree); 10261var model = compilation.GetSemanticModel(tree); 10328var model = compilation.GetSemanticModel(tree); 10387var model = compilation.GetSemanticModel(tree); 10459var model = compilation.GetSemanticModel(tree); 10543var model = compilation.GetSemanticModel(tree); 10721var model = compilation.GetSemanticModel(tree); 10818var model = compilation.GetSemanticModel(tree); 10854var model = compilation.GetSemanticModel(tree); 10909var model = compilation.GetSemanticModel(tree); 10959var model = compilation.GetSemanticModel(tree); 11047var model = compilation.GetSemanticModel(tree); 11184var model = compilation.GetSemanticModel(tree); 11266var model = compilation.GetSemanticModel(tree); 11428var model = compilation.GetSemanticModel(tree); 11468var model = compilation.GetSemanticModel(tree); 11716var model = compilation.GetSemanticModel(tree); 11973var model = compilation.GetSemanticModel(tree); 12125var model = compilation.GetSemanticModel(tree); 12275var model = compilation.GetSemanticModel(tree); 12352var model = compilation.GetSemanticModel(tree); 12421var model = compilation.GetSemanticModel(tree); 12497var model = compilation.GetSemanticModel(tree); 12659var model = compilation.GetSemanticModel(tree); 12779var model = compilation.GetSemanticModel(tree); 12866var model = compilation.GetSemanticModel(tree); 12875Assert.Equal("System.Int32", ((ILocalSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(GetVariableDesignation(yDecl))).Type.ToTestDisplayString()); 12921var model = compilation.GetSemanticModel(tree); 12963var model = compilation.GetSemanticModel(tree); 13018var model = compilation.GetSemanticModel(tree); 13202var model = compilation.GetSemanticModel(tree); 13296var model = compilation.GetSemanticModel(tree); 13334var model = compilation.GetSemanticModel(tree); 13386var model = compilation.GetSemanticModel(tree); 13440var model = compilation.GetSemanticModel(tree); 13606var model = compilation.GetSemanticModel(tree); 13697var model = compilation.GetSemanticModel(tree); 13733var model = compilation.GetSemanticModel(tree); 13797var model = compilation.GetSemanticModel(tree); 13847var model = compilation.GetSemanticModel(tree); 14128var model = compilation.GetSemanticModel(tree); 14257var model = compilation.GetSemanticModel(tree); 14304var model = compilation.GetSemanticModel(tree); 14353var model = compilation.GetSemanticModel(tree); 14395var model = compilation.GetSemanticModel(tree); 14437var model = compilation.GetSemanticModel(tree); 14482var model = compilation.GetSemanticModel(tree); 14524var model = compilation.GetSemanticModel(tree); 14569var model = compilation.GetSemanticModel(tree); 14574model = compilation.GetSemanticModel(tree); 14618var model = compilation.GetSemanticModel(tree); 14672var model = compilation.GetSemanticModel(tree); 14731var model = compilation.GetSemanticModel(tree); 14778var model = compilation.GetSemanticModel(tree); 14783model = compilation.GetSemanticModel(tree); 14828var model = compilation.GetSemanticModel(tree); 14833model = compilation.GetSemanticModel(tree); 14943var model = compilation.GetSemanticModel(tree); 15123var model = compilation.GetSemanticModel(tree); 15216var model = compilation.GetSemanticModel(tree); 15254var model = compilation.GetSemanticModel(tree); 15312var model = compilation.GetSemanticModel(tree); 15370var model = compilation.GetSemanticModel(tree); 15531var model = compilation.GetSemanticModel(tree); 15744var model = compilation.GetSemanticModel(tree); 15957var model = compilation.GetSemanticModel(tree); 16072var model = compilation.GetSemanticModel(tree); 16159var model = compilation.GetSemanticModel(tree); 16400var model = compilation.GetSemanticModel(tree); 16496var model = compilation.GetSemanticModel(tree); 16532var model = compilation.GetSemanticModel(tree); 16589var model = compilation.GetSemanticModel(tree); 16643var model = compilation.GetSemanticModel(tree); 16703var model = compilation.GetSemanticModel(tree); 16763var model = compilation.GetSemanticModel(tree); 16826var model = compilation.GetSemanticModel(tree); 16960var model = compilation.GetSemanticModel(tree); 17052var model = compilation.GetSemanticModel(tree); 17091var model = compilation.GetSemanticModel(tree); 17149var model = compilation.GetSemanticModel(tree); 17203var model = compilation.GetSemanticModel(tree); 17387var model = compilation.GetSemanticModel(tree); 17489var model = compilation.GetSemanticModel(tree); 17527var model = compilation.GetSemanticModel(tree); 17590var model = compilation.GetSemanticModel(tree); 17643var model = compilation.GetSemanticModel(tree); 17678var model = compilation.GetSemanticModel(tree); 17711var model = compilation.GetSemanticModel(tree); 17744var model = compilation.GetSemanticModel(tree); 17783var model = compilation.GetSemanticModel(tree); 17830var model = compilation.GetSemanticModel(tree); 17860var model = compilation.GetSemanticModel(tree); 17891var model = compilation.GetSemanticModel(tree); 17920var model = compilation.GetSemanticModel(tree); 17952var model = compilation.GetSemanticModel(tree); 17994var model = compilation.GetSemanticModel(tree); 18031var model = compilation.GetSemanticModel(tree); 18068var model = compilation.GetSemanticModel(tree); 18103var model = compilation.GetSemanticModel(tree); 18142var model = compilation.GetSemanticModel(tree); 18183var model = compilation.GetSemanticModel(tree); 18226var model = compilation.GetSemanticModel(tree); 18269var model = compilation.GetSemanticModel(tree); 18308var model = compilation.GetSemanticModel(tree); 18349var model = compilation.GetSemanticModel(tree); 18384var model = compilation.GetSemanticModel(tree); 18430var model = compilation.GetSemanticModel(tree); 18436Assert.Equal("System.Int32", ((ILocalSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(GetVariableDesignation(x1Decl))).Type.ToTestDisplayString()); 18494var model = compilation.GetSemanticModel(tree); 18500Assert.Equal("System.Int32", ((ILocalSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(GetVariableDesignation(x1Decl))).Type.ToTestDisplayString()); 18543var model = compilation.GetSemanticModel(tree); 18549Assert.Equal("System.Int32", ((ILocalSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(GetVariableDesignation(x1Decl))).Type.ToTestDisplayString()); 18588var model = compilation.GetSemanticModel(tree); 18594Assert.Equal("System.Int32", ((ILocalSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(GetVariableDesignation(x1Decl))).Type.ToTestDisplayString()); 18640var model = compilation.GetSemanticModel(tree); 18684var model = compilation.GetSemanticModel(tree); 18726var model = compilation.GetSemanticModel(tree); 18780var model = compilation.GetSemanticModel(tree); 18873var model = compilation.GetSemanticModel(tree); 18917var model = compilation.GetSemanticModel(tree); 18959var model = compilation.GetSemanticModel(tree); 19012var model = compilation.GetSemanticModel(tree); 19057var model = compilation.GetSemanticModel(tree); 19100var model = compilation.GetSemanticModel(tree); 19154var model = compilation.GetSemanticModel(tree); 19203var model = compilation.GetSemanticModel(tree); 19250var model = compilation.GetSemanticModel(tree); 19288var model = compilation.GetSemanticModel(tree); 19329var model = compilation.GetSemanticModel(tree); 19363var model = compilation.GetSemanticModel(tree); 19424var model = compilation.GetSemanticModel(tree); 19469var model = compilation.GetSemanticModel(tree); 19507var model = compilation.GetSemanticModel(tree); 19546var model = compilation.GetSemanticModel(tree); 19593var model = compilation.GetSemanticModel(tree); 19648var model = compilation.GetSemanticModel(tree); 19678Assert.True(compilation.GetSemanticModel(tree).GetTypeInfo(x1Ref).Type.TypeKind == TypeKind.Error); 19680var model = compilation.GetSemanticModel(tree); 19681VerifyModelForOutVarWithoutDataFlow(compilation.GetSemanticModel(tree), x1Decl, x1Ref); 19721Assert.True(compilation.GetSemanticModel(tree).GetTypeInfo(x1Ref).Type.TypeKind == TypeKind.Error); 19723var model = compilation.GetSemanticModel(tree); 19724VerifyModelForOutVarWithoutDataFlow(compilation.GetSemanticModel(tree), x1Decl, x1Ref); 19757var model = compilation.GetSemanticModel(tree); 19830var model = compilation.GetSemanticModel(tree); 19863var model = compilation.GetSemanticModel(tree); 19896var model = compilation.GetSemanticModel(tree); 19931var model = compilation.GetSemanticModel(tree); 19966var model = compilation.GetSemanticModel(tree); 20004var model = compilation.GetSemanticModel(tree); 20036var model = compilation.GetSemanticModel(tree); 20210var model = compilation.GetSemanticModel(tree); 20215VerifyModelForOutVar(compilation.GetSemanticModel(tree), x1Decl, x1Ref); 20238var model = compilation.GetSemanticModel(tree); 20346var model = compilation.GetSemanticModel(tree); 20352Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(x1Ref[0]).Type.ToTestDisplayString()); 20358Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(x2Ref[0]).Type.ToTestDisplayString()); 20364Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(x3Ref[0]).Type.ToTestDisplayString()); 20370Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(x4Ref[0]).Type.ToTestDisplayString()); 20603var model = compilation.GetSemanticModel(tree); 20606Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(x1Ref).Type.ToTestDisplayString()); 20646var model = compilation.GetSemanticModel(tree); 20651Assert.True(compilation.GetSemanticModel(tree).GetTypeInfo(x4Ref).Type.TypeKind == TypeKind.Error); 20763var model = compilation.GetSemanticModel(tree); 20777VerifyModelForOutVarWithoutDataFlow(compilation.GetSemanticModel(tree), x1Decl, x1Ref); 20816var model = compilation.GetSemanticModel(tree); 20907var model = compilation.GetSemanticModel(tree); 21023var model = compilation.GetSemanticModel(tree); 21118var model = compilation.GetSemanticModel(tree); 21222var model = compilation.GetSemanticModel(tree); 21279var model = compilation.GetSemanticModel(tree); 21347var model = compilation.GetSemanticModel(tree); 21397var model = compilation.GetSemanticModel(tree); 21405model = compilation.GetSemanticModel(tree); 21598var model = compilation.GetSemanticModel(tree); 21757var model = compilation.GetSemanticModel(tree); 21953var model = compilation.GetSemanticModel(tree); 22080var model = compilation.GetSemanticModel(tree); 22178var model = compilation.GetSemanticModel(tree); 22366var model = compilation.GetSemanticModel(tree); 22521var model = compilation.GetSemanticModel(tree); 22600var model = compilation.GetSemanticModel(tree); 22723var model = compilation.GetSemanticModel(tree); 22805var model = compilation.GetSemanticModel(tree); 22889var model = compilation.GetSemanticModel(tree); 22956var model = compilation.GetSemanticModel(tree); 22995var model = compilation.GetSemanticModel(tree); 23151var model = compilation.GetSemanticModel(tree); 23245var model = compilation.GetSemanticModel(tree); 23335var model = compilation.GetSemanticModel(tree); 23383var model = compilation.GetSemanticModel(tree); 23416var model = compilation.GetSemanticModel(tree); 23467var model = compilation.GetSemanticModel(tree); 23611var model = compilation.GetSemanticModel(tree); 23709var model = compilation.GetSemanticModel(tree); 23807var model = compilation.GetSemanticModel(tree); 23949var model = compilation.GetSemanticModel(tree); 24053var model = compilation.GetSemanticModel(tree); 24148var model = compilation.GetSemanticModel(tree); 24236var model = compilation.GetSemanticModel(tree); 24342var model = compilation.GetSemanticModel(tree); 24435var model = compilation.GetSemanticModel(tree); 24466var model = compilation.GetSemanticModel(tree); 24668var model = compilation.GetSemanticModel(tree); 24927var model = compilation.GetSemanticModel(tree); 25118var model = compilation.GetSemanticModel(tree); 25231var model = compilation.GetSemanticModel(tree); 25330var model = compilation.GetSemanticModel(tree); 25509var model = compilation.GetSemanticModel(tree); 25553var model = compilation.GetSemanticModel(tree); 25634var model = compilation.GetSemanticModel(tree); 25678var model = compilation.GetSemanticModel(tree); 25733var model = compilation.GetSemanticModel(tree); 25814var model = compilation.GetSemanticModel(tree); 25874var model = compilation.GetSemanticModel(tree); 25971var model = compilation.GetSemanticModel(tree); 26028var model = compilation.GetSemanticModel(tree); 26095var model = compilation.GetSemanticModel(tree); 26143var model = compilation.GetSemanticModel(tree); 26224var model = compilation.GetSemanticModel(tree); 26271var model = compilation.GetSemanticModel(tree); 26366var model = compilation.GetSemanticModel(tree); 26372Assert.Equal("System.Int32", ((IFieldSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(x1Decl.VariableDesignation())).Type.ToTestDisplayString()); 26414var model = compilation.GetSemanticModel(tree); 26498var model = compilation.GetSemanticModel(tree); 26558var model = compilation.GetSemanticModel(tree); 26642var model = compilation.GetSemanticModel(tree); 26702var model = compilation.GetSemanticModel(tree); 26763var model = compilation.GetSemanticModel(tree); 26833var model = compilation.GetSemanticModel(tree); 26877var model = compilation.GetSemanticModel(tree); 26963var model = compilation.GetSemanticModel(tree); 26969Assert.Equal("System.Int32", ((IFieldSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(x1Decl.VariableDesignation())).Type.ToTestDisplayString()); 27008var model = compilation.GetSemanticModel(tree); 27100var model = compilation.GetSemanticModel(tree); 27154var model = compilation.GetSemanticModel(tree); 27253var model = compilation.GetSemanticModel(tree); 27307var model = compilation.GetSemanticModel(tree); 27376var model = compilation.GetSemanticModel(tree); 27453var model = compilation.GetSemanticModel(tree); 27526var model = compilation.GetSemanticModel(tree); 27630var model = compilation.GetSemanticModel(tree); 27703var model = compilation.GetSemanticModel(tree); 27766var model = compilation.GetSemanticModel(tree); 27843var model = compilation.GetSemanticModel(tree); 27916var model = compilation.GetSemanticModel(tree); 28021var model = compilation.GetSemanticModel(tree); 28094var model = compilation.GetSemanticModel(tree); 28167var model = compilation.GetSemanticModel(tree); 28242var model = compilation.GetSemanticModel(tree); 28296var model = compilation.GetSemanticModel(tree); 28393var model = compilation.GetSemanticModel(tree); 28447var model = compilation.GetSemanticModel(tree); 28514var model = compilation.GetSemanticModel(tree); 28562var model = compilation.GetSemanticModel(tree); 28646var model = compilation.GetSemanticModel(tree); 28707var model = compilation.GetSemanticModel(tree); 28814var model = compilation.GetSemanticModel(tree); 28870var model = compilation.GetSemanticModel(tree); 28965var model = compilation.GetSemanticModel(tree); 29021var model = compilation.GetSemanticModel(tree); 29086var model = compilation.GetSemanticModel(tree); 29172var model = compilation.GetSemanticModel(tree); 29239var model = compilation.GetSemanticModel(tree); 29348var model = compilation.GetSemanticModel(tree); 29415var model = compilation.GetSemanticModel(tree); 29488var model = compilation.GetSemanticModel(tree); 29537var model = compilation.GetSemanticModel(tree); 29635var model = compilation.GetSemanticModel(tree); 29711var model = compilation.GetSemanticModel(tree); 29836var model = compilation.GetSemanticModel(tree); 29912var model = compilation.GetSemanticModel(tree); 29990var model = compilation.GetSemanticModel(tree); 30076var model = compilation.GetSemanticModel(tree); 30137var model = compilation.GetSemanticModel(tree); 30248var model = compilation.GetSemanticModel(tree); 30309var model = compilation.GetSemanticModel(tree); 30373var model = compilation.GetSemanticModel(tree); 30428var model = compilation.GetSemanticModel(tree); 30472var model = compilation.GetSemanticModel(tree); 30516var model = compilation.GetSemanticModel(tree); 30557var model = compilation.GetSemanticModel(tree); 30637var model = compilation.GetSemanticModel(tree); 30706var model = compilation.GetSemanticModel(tree); 30808var model = compilation.GetSemanticModel(tree); 30877var model = compilation.GetSemanticModel(tree); 30941var model = compilation.GetSemanticModel(tree); 30996var model = compilation.GetSemanticModel(tree); 31040var model = compilation.GetSemanticModel(tree); 31084var model = compilation.GetSemanticModel(tree); 31168var model = compilation.GetSemanticModel(tree); 31227var model = compilation.GetSemanticModel(tree); 31341var model = compilation.GetSemanticModel(tree); 31400var model = compilation.GetSemanticModel(tree); 31469var model = compilation.GetSemanticModel(tree); 31524var model = compilation.GetSemanticModel(tree); 31568var model = compilation.GetSemanticModel(tree); 31612var model = compilation.GetSemanticModel(tree); 31653var model = compilation.GetSemanticModel(tree); 31707var model = compilation.GetSemanticModel(tree); 31741var model = compilation.GetSemanticModel(tree); 31794var model = compilation.GetSemanticModel(tree); 31834var model = compilation.GetSemanticModel(tree); 31884var model = compilation.GetSemanticModel(tree); 31918var model = compilation.GetSemanticModel(tree); 31974var model = compilation.GetSemanticModel(tree); 32014var model = compilation.GetSemanticModel(tree); 32059var model = compilation.GetSemanticModel(tree); 32103var model = compilation.GetSemanticModel(tree); 32137var model = compilation.GetSemanticModel(tree); 32171var model = compilation.GetSemanticModel(tree); 32211var model = compilation.GetSemanticModel(tree); 32251var model = compilation.GetSemanticModel(tree); 32269model = compilation.GetSemanticModel(tree); 32306var model = compilation.GetSemanticModel(tree); 32322model = compilation.GetSemanticModel(tree); 32375var model = compilation.GetSemanticModel(tree); 32422var model = compilation.GetSemanticModel(tree); 32461var model = compilation.GetSemanticModel(tree); 32488var model = compilation.GetSemanticModel(tree); 32516var model = compilation.GetSemanticModel(tree); 32544var model = compilation.GetSemanticModel(tree); 32570var model = compilation.GetSemanticModel(tree); 32608var model = compilation.GetSemanticModel(tree); 32644var model = compilation.GetSemanticModel(tree); 32888var model = compilation.GetSemanticModel(tree); 32917var model = comp.Compilation.GetSemanticModel(tree); 33002var model = comp.GetSemanticModel(tree); 33071var model = comp.GetSemanticModel(tree); 33116var model = comp.GetSemanticModel(tree); 33180var model = comp.GetSemanticModel(tree); 33446var model = comp.GetSemanticModel(tree); 33487var model = comp.GetSemanticModel(tree); 33550var model = compilation.GetSemanticModel(tree); 33633var model = compilation.GetSemanticModel(tree); 33721var model = compilation.GetSemanticModel(tree); 33819var model = compilation.GetSemanticModel(tree); 33918var model = compilation.GetSemanticModel(tree); 34016var model = compilation.GetSemanticModel(tree); 34089var model = compilation.GetSemanticModel(tree); 34145var model = compilation.GetSemanticModel(tree); 34211var model = compilation.GetSemanticModel(tree); 34338var model = compilation.GetSemanticModel(tree); 34429var model = compilation.GetSemanticModel(tree); 34536var model = compilation.GetSemanticModel(tree); 34657var model = compilation.GetSemanticModel(tree); 34697var model = compilation.GetSemanticModel(tree); 34773var model = compilation.GetSemanticModel(tree); 34828var model = compilation.GetSemanticModel(tree); 34882var model = compilation.GetSemanticModel(tree); 34940var model = compilation.GetSemanticModel(tree); 34990var model = compilation.GetSemanticModel(tree); 35044var model = compilation.GetSemanticModel(tree); 35084var model = compilation.GetSemanticModel(tree); 35118var model = compilation.GetSemanticModel(tree); 35157var model = compilation.GetSemanticModel(tree); 35201var model = compilation.GetSemanticModel(tree); 35232var model = compilation.GetSemanticModel(tree); 35271var model = compilation.GetSemanticModel(tree); 35303var model = compilation.GetSemanticModel(tree); 35339var model = compilation.GetSemanticModel(tree); 35378var model = compilation.GetSemanticModel(tree); 35408var model = compilation.GetSemanticModel(tree); 35445var model = compilation.GetSemanticModel(tree); 35497var model = compilation.GetSemanticModel(tree); 35502Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(xRef[0]).Type.ToTestDisplayString()); 35602var model = comp.GetSemanticModel(tree); 35637var model = comp.GetSemanticModel(tree); 35716var model = compilation.GetSemanticModel(tree); 35758var model = compilation.GetSemanticModel(tree); 35787var model = compilation.GetSemanticModel(tree); 35833var model = compilation.GetSemanticModel(tree); 35921var model = compilation.GetSemanticModel(tree); 36061var model = compilation.GetSemanticModel(tree); 36169var model = compilation.GetSemanticModel(tree); 36262var model = compilation.GetSemanticModel(tree); 36301var model = comp.GetSemanticModel(tree); 36348var model = comp.GetSemanticModel(tree); 36388var model = comp.GetSemanticModel(tree); 36430var model = comp.GetSemanticModel(tree); 36465var model = comp.GetSemanticModel(tree); 36503var model = comp.GetSemanticModel(tree);
Semantics\OverloadResolutionTests.cs (9)
7149var model = comp.GetSemanticModel(tree); 7259var model = comp.GetSemanticModel(tree); 7433var model = comp.GetSemanticModel(tree); 7474var model = comp.GetSemanticModel(tree); 9075var model = compilation.GetSemanticModel(tree); 9423var model = comp.GetSemanticModel(tree); 11336var model = comp.GetSemanticModel(tree); 11385var model = comp.GetSemanticModel(tree); 11435var model = comp.GetSemanticModel(tree);
Semantics\PrimaryConstructorTests.cs (33)
962var model = comp.GetSemanticModel(tree); 988model = comp.GetSemanticModel(tree); 990model = comp.GetSemanticModel(tree); 992model = comp.GetSemanticModel(tree); 995model = comp.GetSemanticModel(tree); 997model = comp.GetSemanticModel(tree); 999model = comp.GetSemanticModel(tree); 1184var model = comp.GetSemanticModel(tree); 1255var model = comp.GetSemanticModel(tree); 1301var model = comp.GetSemanticModel(tree); 1357var model = comp.GetSemanticModel(tree); 1416var model = comp.GetSemanticModel(tree); 1505var model = comp.GetSemanticModel(tree); 1704var model = comp.GetSemanticModel(tree); 1744var model = comp.GetSemanticModel(tree); 1787var model = comp.GetSemanticModel(tree); 1857var model = comp.GetSemanticModel(tree); 2004var model = comp.GetSemanticModel(tree); 2031model = comp.GetSemanticModel(tree); 2036model = comp.GetSemanticModel(tree); 2041model = comp.GetSemanticModel(tree); 2047model = comp.GetSemanticModel(tree); 2049model = comp.GetSemanticModel(tree); 2051model = comp.GetSemanticModel(tree); 2186var model = comp.GetSemanticModel(tree); 2315var model = comp.GetSemanticModel(tree); 2363var model = comp.GetSemanticModel(tree); 2531var model = comp.GetSemanticModel(tree); 2569var model = comp.GetSemanticModel(tree); 2606var model = comp.GetSemanticModel(tree); 2642var model = comp.GetSemanticModel(tree); 6216var model = comp.GetSemanticModel(tree); 6242var model = comp.GetSemanticModel(tree);
Semantics\QueryTests.cs (31)
1452var model = compilation.GetSemanticModel(tree); 1661var model = compilation.GetSemanticModel(tree); 1721var model = compilation.GetSemanticModel(tree); 1759var model = compilation.GetSemanticModel(tree); 2175var semanticModel = compilation.GetSemanticModel(tree); 2205var semanticModel = compilation.GetSemanticModel(tree); 2232var semanticModel = compilation.GetSemanticModel(tree); 2270var semanticModel = compilation.GetSemanticModel(tree); 2298var semanticModel = compilation.GetSemanticModel(tree); 2323var semanticModel = compilation.GetSemanticModel(tree); 2355var semanticModel = compilation.GetSemanticModel(tree); 2382var semanticModel = compilation.GetSemanticModel(tree); 2426var model = compilation.GetSemanticModel(tree); 2482var semanticModel = compilation.GetSemanticModel(tree); 2520var semanticModel = compilation.GetSemanticModel(tree); 2546var semanticModel = compilation.GetSemanticModel(tree); 2581var semanticModel = compilation.GetSemanticModel(tree); 2661var semanticModel = compilation.GetSemanticModel(tree); 2689var semanticModel = compilation.GetSemanticModel(tree); 2715var semanticModel = compilation.GetSemanticModel(tree); 2741var semanticModel = compilation.GetSemanticModel(tree); 2896var model = compilation.GetSemanticModel(tree); 2929var model = compilation.GetSemanticModel(tree); 3135var model = compilation.GetSemanticModel(tree); 3163var model = compilation.GetSemanticModel(tree); 3374var model = compilation.GetSemanticModel(tree); 3419var model = compilation.GetSemanticModel(tree); 3463var model = compilation.GetSemanticModel(tree); 3510var model = compilation.GetSemanticModel(tree); 3549var model = compilation.GetSemanticModel(tree); 3597var model = compilation.GetSemanticModel(tree);
Semantics\RawInterpolationTests_Handler.cs (2)
2898var model = comp.GetSemanticModel(tree); 3124var model = comp.GetSemanticModel(tree);
Semantics\ReadOnlyStructsTests.cs (1)
1267var semanticModel = comp.GetSemanticModel(testMethodSyntax.SyntaxTree);
Semantics\RecordStructTests.cs (5)
2592var model = comp.GetSemanticModel(tree); 2627var model = comp.GetSemanticModel(tree); 2661var model = comp.GetSemanticModel(tree); 2696var model = comp.GetSemanticModel(tree); 10771var model = comp.GetSemanticModel(tree);
Semantics\RecordTests.cs (37)
8094var model = comp.GetSemanticModel(tree); 8607var model = comp.GetSemanticModel(tree); 8867var model = comp.GetSemanticModel(tree); 21153var model = comp.GetSemanticModel(tree); 21179model = comp.GetSemanticModel(tree); 21181model = comp.GetSemanticModel(tree); 21183model = comp.GetSemanticModel(tree); 21186model = comp.GetSemanticModel(tree); 21188model = comp.GetSemanticModel(tree); 21190model = comp.GetSemanticModel(tree); 21377var model = comp.GetSemanticModel(tree); 21448var model = comp.GetSemanticModel(tree); 21494var model = comp.GetSemanticModel(tree); 21550var model = comp.GetSemanticModel(tree); 21609var model = comp.GetSemanticModel(tree); 21698var model = comp.GetSemanticModel(tree); 21897var model = comp.GetSemanticModel(tree); 21934var model = comp.GetSemanticModel(tree); 21974var model = comp.GetSemanticModel(tree); 22009var model = comp.GetSemanticModel(tree); 22088var model = comp.GetSemanticModel(tree); 22235var model = comp.GetSemanticModel(tree); 22262model = comp.GetSemanticModel(tree); 22267model = comp.GetSemanticModel(tree); 22272model = comp.GetSemanticModel(tree); 22278model = comp.GetSemanticModel(tree); 22280model = comp.GetSemanticModel(tree); 22282model = comp.GetSemanticModel(tree); 22417var model = comp.GetSemanticModel(tree); 22926var model = comp.GetSemanticModel(tree); 23380var model = comp.GetSemanticModel(tree); 24652var model = comp.GetSemanticModel(tree); 24687var model = comp.GetSemanticModel(tree); 24721var model = comp.GetSemanticModel(tree); 24756var model = comp.GetSemanticModel(tree); 30349var model = comp.GetSemanticModel(tree); 30373var model = comp.GetSemanticModel(tree);
Semantics\RefEscapingTests.cs (3)
49var model = comp.GetSemanticModel(tree); 4420var model = compilation.GetSemanticModel(tree); 4520var model = compilation.GetSemanticModel(tree);
Semantics\RefExtensionMethodsTests.cs (4)
2146var model = comp.GetSemanticModel(tree); 2165var model = comp.GetSemanticModel(tree); 2184var model = comp.GetSemanticModel(tree); 2203var model = comp.GetSemanticModel(tree);
Semantics\RefFieldTests.cs (57)
10574var model = comp.GetSemanticModel(tree); 10648var model = comp.GetSemanticModel(tree); 10770var model = comp.GetSemanticModel(tree); 10939var model = comp.GetSemanticModel(tree); 11487var model = comp.GetSemanticModel(tree); 11567var model = comp.GetSemanticModel(tree); 11636var model = comp.GetSemanticModel(tree); 11704var model = comp.GetSemanticModel(tree); 11886var model = comp.GetSemanticModel(tree); 12073var model = comp.GetSemanticModel(tree); 12299var model = comp.GetSemanticModel(tree); 12482var model = comp.GetSemanticModel(tree); 12657var model = comp.GetSemanticModel(tree); 12712var model = comp.GetSemanticModel(tree); 12771var model = comp.GetSemanticModel(tree); 12814var model = comp.GetSemanticModel(tree); 12843var model = comp.GetSemanticModel(tree); 12868var model = comp.GetSemanticModel(tree); 12888var model = comp.GetSemanticModel(tree); 12910var model = comp.GetSemanticModel(tree); 12945var model = comp.GetSemanticModel(tree); 13009var model = comp.GetSemanticModel(tree); 13085var model = comp.GetSemanticModel(tree); 13156var model = comp.GetSemanticModel(tree); 13220var model = comp.GetSemanticModel(tree); 13861var model = comp.GetSemanticModel(tree); 13903var model = comp.GetSemanticModel(tree); 14028var model = comp.GetSemanticModel(tree); 14104var model = comp.GetSemanticModel(tree); 14349var model = comp.GetSemanticModel(tree); 14557var model = comp.GetSemanticModel(tree); 14583var model = comp.GetSemanticModel(tree); 14638var model = comp.GetSemanticModel(tree); 16056var model = comp.GetSemanticModel(tree); 16097var model = comp.GetSemanticModel(tree); 16137var model = comp.GetSemanticModel(tree); 16235var model = comp.GetSemanticModel(tree); 16283var model = comp.GetSemanticModel(syntaxTree); 17397var model = comp.GetSemanticModel(tree); 22290var model = comp.GetSemanticModel(tree); 22358var model = comp.GetSemanticModel(tree); 23360var model = comp.GetSemanticModel(tree); 23396var model = comp.GetSemanticModel(tree); 23433var model = comp.GetSemanticModel(tree); 24200var model = comp.GetSemanticModel(tree); 26030var model = comp.GetSemanticModel(tree); 26082var model = comp.GetSemanticModel(tree); 26134var model = comp.GetSemanticModel(tree); 26291var model = comp.GetSemanticModel(tree); 26381var model = comp.GetSemanticModel(tree); 26501var model = comp.GetSemanticModel(tree); 26602var model = comp.GetSemanticModel(tree); 26647var model = comp.GetSemanticModel(tree); 26707var model = comp.GetSemanticModel(tree); 26937var model = comp.GetSemanticModel(tree); 26985var model = comp.GetSemanticModel(tree); 28092var model = comp.GetSemanticModel(tree);
Semantics\RefLocalsAndReturnsTests.cs (3)
4814var model = comp.GetSemanticModel(tree); 4858var model = comp.GetSemanticModel(tree); 4897var model = comp.GetSemanticModel(tree);
Semantics\ScriptSemanticsTests.cs (5)
237var model = compilation.GetSemanticModel(tree); 497var model = compilation.GetSemanticModel(tree); 509var model = submission.GetSemanticModel(submission.SyntaxTrees.Single()); 554var model = compilation.GetSemanticModel(tree); 590var model = compilation.GetSemanticModel(tree);
Semantics\SemanticErrorTests.cs (1)
3326var model = compilation.GetSemanticModel(tree);
Semantics\StackAllocInitializerTests.cs (8)
365var model = comp.GetSemanticModel(tree); 441var model = comp.GetSemanticModel(tree); 1027var model = comp.GetSemanticModel(tree); 1129var model = comp.GetSemanticModel(tree); 2341var model = comp.GetSemanticModel(tree); 2447var model = comp.GetSemanticModel(tree); 2547var model = comp.GetSemanticModel(tree); 2631var model = comp.GetSemanticModel(tree);
Semantics\StackAllocSpanExpressionsTests.cs (2)
51var model = comp.GetSemanticModel(tree); 125var model = comp.GetSemanticModel(tree);
Semantics\StructConstructorTests.cs (3)
1049var model = comp.GetSemanticModel(tree); 1144var model = comp.GetSemanticModel(tree); 1241var model = comp.GetSemanticModel(tree);
Semantics\SuppressAccessibilityChecksTests.cs (1)
61semanticModel = semanticModel.Compilation.GetSemanticModel(semanticModel.SyntaxTree);
Semantics\SwitchTests.cs (1)
1153var semanticModel = comp.GetSemanticModel(syntaxTree);
Semantics\SyntaxTreeRootTests.cs (1)
65Assert.Throws<ArgumentException>(() => CSharpCompilation.Create("Woo").GetSemanticModel(arbitraryTree));
Semantics\TargetTypedConditionalOperatorTests.cs (3)
342var model = comp.GetSemanticModel(tree); 667var model = comp.GetSemanticModel(tree); 688var model = comp.GetSemanticModel(tree);
Semantics\TargetTypedDefaultTests.cs (32)
41var model = comp.GetSemanticModel(tree); 141var model = comp.GetSemanticModel(tree); 193var model = comp.GetSemanticModel(tree); 241var model = comp.GetSemanticModel(tree); 278var model = comp.GetSemanticModel(tree); 323var model = comp.GetSemanticModel(tree); 517var model = comp.GetSemanticModel(tree); 563var model = comp.GetSemanticModel(tree); 606var model = comp.GetSemanticModel(tree); 664var model = comp.GetSemanticModel(tree); 745var model = comp.GetSemanticModel(tree); 834var model = comp.GetSemanticModel(tree); 863var model = comp.GetSemanticModel(tree); 1139var model = comp.GetSemanticModel(tree); 1254var model = comp.GetSemanticModel(tree); 1628var model = comp.GetSemanticModel(tree); 1733var model = comp.GetSemanticModel(tree); 1799var model = comp.GetSemanticModel(tree); 1870var model = comp.GetSemanticModel(tree); 1908var model = comp.GetSemanticModel(tree); 2087var model = comp.GetSemanticModel(tree); 2330var model = comp.GetSemanticModel(tree); 2411var model = comp.GetSemanticModel(tree); 2454var model = comp.GetSemanticModel(tree); 2480var model = comp.GetSemanticModel(tree); 3054var model = comp.GetSemanticModel(tree); 3341var model = comp.GetSemanticModel(tree); 3380var model = comp.GetSemanticModel(tree); 3511var model = comp.GetSemanticModel(tree); 3573var model = comp.GetSemanticModel(tree); 3670var model = comp.GetSemanticModel(tree); 3710var model = comp.GetSemanticModel(tree);
Semantics\TopLevelStatementsTests.cs (49)
189var model1 = comp.GetSemanticModel(tree1); 314var model1 = comp.GetSemanticModel(tree1); 352var model2 = comp.GetSemanticModel(tree2); 480var model1 = comp.GetSemanticModel(tree1); 499var model2 = comp.GetSemanticModel(tree2); 532var model1 = comp.GetSemanticModel(tree1); 572var model1 = comp.GetSemanticModel(tree1); 697var model = comp.GetSemanticModel(tree); 870var model1 = comp.GetSemanticModel(tree1); 876var model2 = comp.GetSemanticModel(tree2); 984var model1 = comp.GetSemanticModel(tree1); 1039var model1 = comp.GetSemanticModel(tree1); 1394var model2 = comp.GetSemanticModel(tree2); 1412model2 = comp.GetSemanticModel(tree2); 1510var model1 = comp.GetSemanticModel(tree); 1513var model2 = comp.GetSemanticModel(tree); 1578var model1 = comp.GetSemanticModel(tree); 1585var model2 = comp.GetSemanticModel(tree); 1672var model1 = comp.GetSemanticModel(tree1); 1702var model = comp.GetSemanticModel(tree); 1845var model1 = comp.GetSemanticModel(tree1); 1868var model2 = comp.GetSemanticModel(tree2); 2071var model1 = comp.GetSemanticModel(tree1); 2235var model1 = comp.GetSemanticModel(tree1); 2253var model2 = comp.GetSemanticModel(tree2); 2413var model1 = comp.GetSemanticModel(tree1); 2905var model1 = comp.GetSemanticModel(tree1); 2928var model2 = comp.GetSemanticModel(tree2); 3928var model = comp.GetSemanticModel(tree); 4077var model = comp.GetSemanticModel(tree); 4202var model = comp.GetSemanticModel(tree); 4497var model1 = comp.GetSemanticModel(tree1); 4503var model2 = comp.GetSemanticModel(tree2); 4561var model1 = comp.GetSemanticModel(tree1); 4610var model1 = comp.GetSemanticModel(tree1); 4880var model = comp.GetSemanticModel(tree); 4937var model1 = comp.GetSemanticModel(tree1); 4943var model2 = comp.GetSemanticModel(tree2); 4965var model = comp.GetSemanticModel(tree); 6017var model1 = comp.GetSemanticModel(tree1); 6073var semanticModel = comp.GetSemanticModel(syntaxTree); 6145var semanticModel = comp.GetSemanticModel(syntaxTree); 6222var semanticModel = comp.GetSemanticModel(syntaxTree); 8565var model = comp.GetSemanticModel(tree); 8638var model = comp.GetSemanticModel(tree); 8660var model = comp.GetSemanticModel(tree); 8682var model = comp.GetSemanticModel(tree); 9666var model = compilation.GetSemanticModel(tree); 9691var model = compilation.GetSemanticModel(tree);
Semantics\TryCatchTests.cs (1)
42var model = compilation.GetSemanticModel(tree);
Semantics\TypeOfTests.cs (1)
32var model = compilation.GetSemanticModel(tree);
Semantics\UnsafeTests.cs (31)
2387var model = compilation.GetSemanticModel(tree); 2558var model = compilation.GetSemanticModel(tree); 3463var model = comp.GetSemanticModel(tree); 3540var model = compilation.GetSemanticModel(tree); 4417var model = compilation.GetSemanticModel(tree); 4454var model = compilation.GetSemanticModel(tree); 4483var model = compilation.GetSemanticModel(tree); 4521var model = compilation.GetSemanticModel(tree); 4564var model = compilation.GetSemanticModel(tree); 4695var model = compilation.GetSemanticModel(tree); 5005var model = compilation.GetSemanticModel(tree); 5072var model = compilation.GetSemanticModel(tree); 5318var model = compilation.GetSemanticModel(tree); 5385var model = compilation.GetSemanticModel(tree); 5443var model = compilation.GetSemanticModel(tree); 5503var model = compilation.GetSemanticModel(tree); 5539var model = compilation.GetSemanticModel(tree); 6015var model = compilation.GetSemanticModel(tree); 6069var model = compilation.GetSemanticModel(tree); 6481var model = compilation.GetSemanticModel(tree); 7337var model = compilation.GetSemanticModel(tree); 7378var model = compilation.GetSemanticModel(tree); 7450var model = compilation.GetSemanticModel(tree); 7779var model = compilation.GetSemanticModel(tree); 7841var model = compilation.GetSemanticModel(tree); 7901var model = compilation.GetSemanticModel(tree); 8451var model = compilation.GetSemanticModel(tree); 8952var model = comp.GetSemanticModel(tree); 8983var model = comp.GetSemanticModel(tree); 9023var model = compilation.GetSemanticModel(tree); 9049var model = comp.GetSemanticModel(tree);
Semantics\UsingStatementTests.cs (7)
58var model = compilation.GetSemanticModel(tree); 1338var model = compilation.GetSemanticModel(tree); 1373var model = compilation.GetSemanticModel(tree); 1850var model = compilation.GetSemanticModel(tree); 1862var model = compilation.GetSemanticModel(tree); 1878var model = compilation.GetSemanticModel(tree); 1892var model = compilation.GetSemanticModel(tree);
Semantics\Utf8StringsLiteralsTests.cs (14)
2968var model = comp.GetSemanticModel(tree); 2996var model = comp.GetSemanticModel(tree); 3024var model = comp.GetSemanticModel(tree); 3052var model = comp.GetSemanticModel(tree); 3080var model = comp.GetSemanticModel(tree); 3108var model = comp.GetSemanticModel(tree); 3136var model = comp.GetSemanticModel(tree); 3164var model = comp.GetSemanticModel(tree); 3192var model = comp.GetSemanticModel(tree); 3220var model = comp.GetSemanticModel(tree); 3248var model = comp.GetSemanticModel(tree); 3276var model = comp.GetSemanticModel(tree); 3304var model = comp.GetSemanticModel(tree); 4061var model = comp.GetSemanticModel(tree);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (922)
Compilation\CompilationAPITests.cs (8)
884var bind = comp.GetSemanticModel(syntaxTree: t1); 1389comp.GetSemanticModel(null); 1624comp.RemoveSyntaxTrees(new SyntaxTree[] { t4 }).GetSemanticModel(t4); 1941var model2 = compilation.GetSemanticModel(tree2); 1955var model2 = compilation.GetSemanticModel(tree2); 2841var semanticModel = compilation.GetSemanticModel(syntaxTree); 2876var semanticModel = compilation.GetSemanticModel(syntaxTree); 2908var semanticModel = compilation.GetSemanticModel(syntaxTree);
Compilation\GetImportScopesTests.cs (13)
23var model = comp.GetSemanticModel(tree); 414var model = comp.GetSemanticModel(tree); 433var model = comp.GetSemanticModel(tree); 455var model = comp.GetSemanticModel(tree); 476var model = comp.GetSemanticModel(tree); 496var model = comp.GetSemanticModel(tree); 512var model = comp.GetSemanticModel(tree); 532var model = comp.GetSemanticModel(tree); 563var model = comp.GetSemanticModel(tree); 588var model = comp.GetSemanticModel(tree); 614var model = comp.GetSemanticModel(tree); 643var model = comp.GetSemanticModel(tree); 676var model = comp.GetSemanticModel(tree);
Compilation\GetSemanticInfoBrokenCodeTests.cs (17)
30var model = comp.GetSemanticModel(tree); 49var model = comp.GetSemanticModel(tree); 72var model = comp.GetSemanticModel(tree); 95var model = comp.GetSemanticModel(tree); 108var model = comp.GetSemanticModel(tree); 133var model = comp.GetSemanticModel(tree); 160var model = comp.GetSemanticModel(tree); 177var model = comp.GetSemanticModel(tree); 198var model = comp.GetSemanticModel(tree); 222var model = comp.GetSemanticModel(tree); 243var model = comp.GetSemanticModel(tree); 265var model = comp.GetSemanticModel(tree); 298var model = comp.GetSemanticModel(tree); 316var model = comp.GetSemanticModel(tree); 331var model = comp.GetSemanticModel(tree); 346var model = comp.GetSemanticModel(tree); 361var model = comp.GetSemanticModel(tree);
Compilation\GetSemanticInfoTests.cs (132)
41var model = comp.GetSemanticModel(tree); 71var model = comp.GetSemanticModel(tree); 100var model = comp.GetSemanticModel(tree); 134var model = comp.GetSemanticModel(tree); 163var model = comp.GetSemanticModel(tree); 189var model = comp.GetSemanticModel(tree); 240var model = comp.GetSemanticModel(tree); 295var model = comp.GetSemanticModel(tree); 372var model = comp.GetSemanticModel(tree); 414var model = comp.GetSemanticModel(tree); 441var model = comp.GetSemanticModel(tree); 475var model = comp.GetSemanticModel(tree); 528var model = comp.GetSemanticModel(tree); 595var model = comp.GetSemanticModel(tree); 628var model = comp.GetSemanticModel(tree); 976var model = compilation.GetSemanticModel(tree); 1000var model = compilation.GetSemanticModel(tree); 1023var model = comp.GetSemanticModel(tree); 1045var model = compilation.GetSemanticModel(tree); 1131var model = comp.GetSemanticModel(tree); 1162var model = comp.GetSemanticModel(tree); 1191var model = comp.GetSemanticModel(tree); 1215var model = comp.GetSemanticModel(tree); 1238var model = comp.GetSemanticModel(tree); 1264var model = comp.GetSemanticModel(tree); 1292var model = comp.GetSemanticModel(tree); 1320var model = comp.GetSemanticModel(tree); 1347var model = comp.GetSemanticModel(tree); 1374var model = comp.GetSemanticModel(tree); 1410var model = comp.GetSemanticModel(tree); 1448var model = comp.GetSemanticModel(tree); 1486var model = comp.GetSemanticModel(tree); 1522var model = comp.GetSemanticModel(tree); 1553var model = comp.GetSemanticModel(tree); 1575var model = comp.GetSemanticModel(tree); 1603var model = comp.GetSemanticModel(tree); 1628var model = comp.GetSemanticModel(tree); 1667var model = comp.GetSemanticModel(tree); 1699var model = comp.GetSemanticModel(tree); 1734var model = comp.GetSemanticModel(tree); 1769var model = comp.GetSemanticModel(tree); 1805var model = comp.GetSemanticModel(tree); 1841var model = comp.GetSemanticModel(tree); 1882var model = comp.GetSemanticModel(tree); 1911var model = comp.GetSemanticModel(tree); 1947var model = comp.GetSemanticModel(tree); 1983var model = comp.GetSemanticModel(tree); 2019var model = comp.GetSemanticModel(tree); 2054var model = comp.GetSemanticModel(tree); 2221var model = comp.GetSemanticModel(tree); 2324var model = comp.GetSemanticModel(tree); 2354var model = comp.GetSemanticModel(tree); 2390var model = comp.GetSemanticModel(tree); 2449var model = comp.GetSemanticModel(tree); 2477var model = comp.GetSemanticModel(tree); 2506var model = comp.GetSemanticModel(tree); 2535var model = comp.GetSemanticModel(tree); 2564var model = compilation.GetSemanticModel(tree); 2718var model = comp.GetSemanticModel(tree); 2789var model = comp.GetSemanticModel(tree); 2835var model = comp.GetSemanticModel(tree); 2865var model = comp.GetSemanticModel(tree); 2926var model = comp.GetSemanticModel(tree); 2958var model = comp.GetSemanticModel(tree); 3018var model = comp.GetSemanticModel(tree); 3050var model = comp.GetSemanticModel(tree); 3092var model = comp.GetSemanticModel(tree); 3124var model = comp.GetSemanticModel(tree); 3166var model = comp.GetSemanticModel(tree); 3198var model = comp.GetSemanticModel(tree); 3241var model = comp.GetSemanticModel(tree); 3271var model = comp.GetSemanticModel(tree); 3325var model = comp.GetSemanticModel(tree); 3391var model = comp.GetSemanticModel(tree); 3464var model = compilation.GetSemanticModel(tree); 3518var model = compilation.GetSemanticModel(tree); 3550var model = compilation.GetSemanticModel(tree); 3578var model = compilation.GetSemanticModel(tree); 3605var model = compilation.GetSemanticModel(tree); 3630var model = compilation.GetSemanticModel(tree); 3663var model = compilation.GetSemanticModel(tree); 3699var model = compilation.GetSemanticModel(tree); 3755var model = compilation.GetSemanticModel(tree); 3783var model = compilation.GetSemanticModel(tree); 3816var model = compilation.GetSemanticModel(tree); 3844var model = compilation.GetSemanticModel(tree); 3870var model = compilation.GetSemanticModel(tree); 3910var model = compilation.GetSemanticModel(tree); 3950var model = compilation.GetSemanticModel(tree); 3996var model = compilation.GetSemanticModel(tree); 4036var model = comp.GetSemanticModel(tree); 4113var model = comp.GetSemanticModel(tree); 4168var model = comp.GetSemanticModel(tree); 4209var model = compilation.GetSemanticModel(tree); 4239var model = compilation.GetSemanticModel(tree); 4269var model = compilation.GetSemanticModel(tree); 4290var model = compilation.GetSemanticModel(tree); 4320var model = compilation.GetSemanticModel(tree); 4353var model = compilation.GetSemanticModel(tree); 4374var model = compilation.GetSemanticModel(tree); 4398var model = compilation.GetSemanticModel(tree); 4434var model = compilation.GetSemanticModel(tree); 4488var model = compilation.GetSemanticModel(tree); 4533var model = compilation.GetSemanticModel(tree); 4587var model = compilation.GetSemanticModel(tree); 4639var model = compilation.GetSemanticModel(tree); 4672var model = comp.GetSemanticModel(tree); 4717var model = comp.GetSemanticModel(tree); 4750var model = comp.GetSemanticModel(tree); 4783var model = comp.GetSemanticModel(tree); 4826var model = comp.GetSemanticModel(tree); 4872var model = comp.GetSemanticModel(tree); 4908var model = comp.GetSemanticModel(tree); 5401var model = compilation.GetSemanticModel(tree); 5476var model = comp.GetSemanticModel(tree); 5519var model = comp.GetSemanticModel(tree); 5533var model = comp.GetSemanticModel(tree); 5580var model = comp.GetSemanticModel(tree); 5618var model = comp.GetSemanticModel(tree); 5665var model = comp.GetSemanticModel(tree); 5718var model = comp.GetSemanticModel(tree); 5781var model = comp.GetSemanticModel(tree2); 5820var model1 = comp.GetSemanticModel(tree1); 5821var model2 = comp.GetSemanticModel(tree2); 5822var model3 = comp.GetSemanticModel(tree3); 5864var model1 = comp.GetSemanticModel(tree1); 5865var model2 = comp.GetSemanticModel(tree2); 5866var model3 = comp.GetSemanticModel(tree3); 5912var model = comp.GetSemanticModel(tree); 5985var model = comp.GetSemanticModel(tree); 6009var model = compilation.GetSemanticModel(tree); 6044var model = comp.GetSemanticModel(tree);
Compilation\GetUnusedImportDirectivesTests.cs (4)
91var model = comp.GetSemanticModel(tree) as CSharpSemanticModel; 192var model = comp.GetSemanticModel(tree); 425var model = comp.GetSemanticModel(tree); 453var model = comp.GetSemanticModel(tree);
Compilation\IndexedProperties_BindingTests.cs (1)
138var model = comp.GetSemanticModel(tree);
Compilation\SemanticModelAPITests.cs (130)
41var model = comp.GetSemanticModel(tree); 108var model = comp.GetSemanticModel(tree); 135var model = comp.GetSemanticModel(tree); 176var model = comp.GetSemanticModel(tree); 203var model = comp.GetSemanticModel(tree); 235var model = comp.GetSemanticModel(tree); 252var model1 = comp.GetSemanticModel(tree); 253var model2 = comp.GetSemanticModel(tree); 272var model1 = comp1.GetSemanticModel(tree); 273var model2 = comp2.GetSemanticModel(tree); 291var model1 = comp.GetSemanticModel(tree); 292var model2 = comp.GetSemanticModel(tree); 311var model1 = comp1.GetSemanticModel(tree); 312var model2 = comp2.GetSemanticModel(tree); 330var model1 = comp.GetSemanticModel(tree); 331var model2 = comp.GetSemanticModel(tree); 349var model1 = comp.GetSemanticModel(tree); 350var model2 = comp.GetSemanticModel(tree); 371var model1 = comp1.GetSemanticModel(tree1); 372var model2 = comp2.GetSemanticModel(tree2); 392var model = comp.GetSemanticModel(tree); 419var model = comp.GetSemanticModel(tree); 486var errs = comp.GetSemanticModel(tree).GetDeclarationDiagnostics(); 518var errs = comp.GetSemanticModel(partial1Tree).GetDiagnostics(); 535var model = comp.GetSemanticModel(tree); 561var model = comp.GetSemanticModel(tree); 587var model = comp.GetSemanticModel(tree); 610var model = comp.GetSemanticModel(tree); 645var model = compilation.GetSemanticModel(tree1); 676var model = compilation.GetSemanticModel(tree1); 705var model = compilation.GetSemanticModel(tree1); 727var model = comp.GetSemanticModel(tree); 753var model = comp.GetSemanticModel(tree); 780var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 815var model = comp.GetSemanticModel(tree); 870var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 923var model = comp.GetSemanticModel(tree); 962var model1 = comp.GetSemanticModel(tree1); 963var model2 = comp.GetSemanticModel(tree2); 1003var model1 = comp.GetSemanticModel(tree1); 1004var model2 = comp.GetSemanticModel(tree2); 1040var model = comp.GetSemanticModel(tree); 1071var model = comp.GetSemanticModel(tree); 1112var model = comp.GetSemanticModel(tree); 1156var model = comp.GetSemanticModel(tree); 1192var model = comp.GetSemanticModel(tree); 1230var model = comp.GetSemanticModel(tree); 1263var model = comp2.GetSemanticModel(tree); 1304var model = comp.GetSemanticModel(tree); 1336var model = comp.GetSemanticModel(tree); 1359var model = comp.GetSemanticModel(tree); 1388var model = comp.GetSemanticModel(tree); 1413var model = compilation.GetSemanticModel(tree); 1458var model = compilation.GetSemanticModel(tree); 1504var model = compilation.GetSemanticModel(tree); 1554var model = compilation.GetSemanticModel(tree); 1592var model = compilation.GetSemanticModel(tree); 1672var model = compilation.GetSemanticModel(tree); 1726var model = comp.GetSemanticModel(tree); 1778var model = compilation.GetSemanticModel(tree); 1829var model = compilation.GetSemanticModel(tree); 1879var model = compilation.GetSemanticModel(tree); 1918var model = compilation.GetSemanticModel(tree); 1955var model = compilation.GetSemanticModel(tree); 1992var model = compilation.GetSemanticModel(tree); 2019var model = comp.GetSemanticModel(tree); 2070var parentModel = comp.GetSemanticModel(tree); 2139var parentModel = comp.GetSemanticModel(tree); 2174var model = compilation.GetSemanticModel(tree); 2219var model = compilation.GetSemanticModel(tree); 2259var model = compilation.GetSemanticModel(tree); 2308var model = comp.GetSemanticModel(tree); 2350var model = compilation.GetSemanticModel(tree); 2371var semanticModel = compilation.GetSemanticModel(compilation.SyntaxTrees[0]); 2384var semanticModel = compilation.GetSemanticModel(compilation.SyntaxTrees[0]); 2446var model = compilation.GetSemanticModel(tree); 2488var model = compilation.GetSemanticModel(tree); 2533var model = compilation.GetSemanticModel(tree); 2563var model = compilation.GetSemanticModel(tree); 2635var model = compilation.GetSemanticModel(tree); 2672var model = compilation.GetSemanticModel(tree); 2763var model = compilation.GetSemanticModel(tree); 2798var model = compilation.GetSemanticModel(tree); 2813var model = compilation.GetSemanticModel(tree); 2833var model = compilation.GetSemanticModel(tree); 2864var model = compilation.GetSemanticModel(tree); 2893var model = compilation.GetSemanticModel(tree); 2923var model = (CSharpSemanticModel)compilation.GetSemanticModel(tree); 2963var model = (CSharpSemanticModel)compilation.GetSemanticModel(tree); 3008var model = (CSharpSemanticModel)compilation.GetSemanticModel(tree); 3088var model = (CSharpSemanticModel)compilation.GetSemanticModel(tree); 3125var model = comp.GetSemanticModel(tree); 3155var model = comp.GetSemanticModel(tree); 3190var model = comp.GetSemanticModel(tree); 3220var model = comp.GetSemanticModel(tree); 3257var model = comp.GetSemanticModel(tree); 3298var model = comp.GetSemanticModel(tree); 3339var model = comp.GetSemanticModel(tree); 3373var model = comp.GetSemanticModel(tree); 3415var model = comp.GetSemanticModel(tree); 3456var model = comp.GetSemanticModel(tree); 3497var model = comp.GetSemanticModel(tree); 3522var model = compilation.GetSemanticModel(tree); 3543var model = compilation.GetSemanticModel(tree); 3582var model = comp.GetSemanticModel(tree); 3612var semanticModel = compilation.GetSemanticModel(tree); 3748var model = comp.GetSemanticModel(tree); 3784var model = comp.GetSemanticModel(tree); 3817var model = comp.GetSemanticModel(tree); 3844var model = comp.GetSemanticModel(tree); 3872var model = comp.GetSemanticModel(tree); 3903var model = comp.GetSemanticModel(tree); 4028var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 4056var model = compilation.GetSemanticModel(tree); 4084var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 4105var model = comp.GetSemanticModel(tree); 4142var model = comp.GetSemanticModel(tree); 4185var model = comp.GetSemanticModel(tree); 4209var model = comp.GetSemanticModel(tree); 4237var model = comp.GetSemanticModel(tree); 4275var model = comp.GetSemanticModel(tree); 4327var model = comp.GetSemanticModel(tree); 4370var semanticModel = compilation.GetSemanticModel(tree); 4425var model = comp.GetSemanticModel(syntaxTree); 4459var model = comp.GetSemanticModel(tree); 4474var model = comp.GetSemanticModel(tree); 4538var model = comp.GetSemanticModel(tree); 4612return compilation.GetSemanticModel(tree).GetAliasInfo(node); 4626var model = compilation.GetSemanticModel(tree); 4640var model = compilation.GetSemanticModel(tree);
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (159)
39var model = comp.GetSemanticModel(tree); 61var model = comp.GetSemanticModel(tree); 80var model = compilation.GetSemanticModel(tree); 105var model = compilation.GetSemanticModel(tree); 126var model = compilation.GetSemanticModel(tree); 148var model = compilation.GetSemanticModel(tree); 173var model = compilation.GetSemanticModel(tree); 191var model = compilation.GetSemanticModel(tree); 214var model = compilation.GetSemanticModel(tree); 237var model = compilation.GetSemanticModel(tree); 258var model = compilation.GetSemanticModel(tree); 279var model = compilation.GetSemanticModel(tree); 302var model = compilation.GetSemanticModel(tree); 330var model = (CSharpSemanticModel)compilation.GetSemanticModel(tree); 382var model = compilation.GetSemanticModel(tree); 408var model = compilation.GetSemanticModel(tree); 430var model = compilation.GetSemanticModel(tree); 449var model = compilation.GetSemanticModel(tree); 471var model = compilation.GetSemanticModel(tree); 496var model = compilation.GetSemanticModel(tree); 518var model = compilation.GetSemanticModel(tree); 540var model = compilation.GetSemanticModel(tree); 569var model = compilation.GetSemanticModel(tree); 591var model = compilation.GetSemanticModel(tree); 617var model = compilation.GetSemanticModel(tree); 644var model = compilation.GetSemanticModel(tree); 669var model = compilation.GetSemanticModel(tree); 715var model = compilation.GetSemanticModel(tree); 748var model = compilation.GetSemanticModel(tree); 777var model = compilation.GetSemanticModel(tree); 799var model = compilation.GetSemanticModel(tree); 823var model = compilation.GetSemanticModel(tree); 839var model = compilation.GetSemanticModel(tree); 859var model = compilation.GetSemanticModel(tree); 883var model = compilation.GetSemanticModel(tree); 903var model = compilation.GetSemanticModel(tree); 936var model = compilation.GetSemanticModel(tree); 1006var model = compilation.GetSemanticModel(tree); 1032var model = compilation.GetSemanticModel(tree); 1057var model = compilation.GetSemanticModel(tree); 1086var model = compilation.GetSemanticModel(tree); 1122var model = compilation.GetSemanticModel(tree); 1176var model = compilation.GetSemanticModel(tree); 1208var model = compilation.GetSemanticModel(tree); 1244var model = compilation.GetSemanticModel(tree); 1278var model = compilation.GetSemanticModel(tree); 1328var model = compilation.GetSemanticModel(tree); 1378var model = compilation.GetSemanticModel(tree); 1431var model = compilation.GetSemanticModel(tree); 1480var model = compilation.GetSemanticModel(tree); 1528var model = compilation.GetSemanticModel(tree); 1591var model = compilation.GetSemanticModel(tree); 1625var model = compilation.GetSemanticModel(tree); 1663var model = compilation.GetSemanticModel(tree); 1707var model = compilation.GetSemanticModel(tree); 1811var model = compilation.GetSemanticModel(tree); 1867var model = compilation.GetSemanticModel(tree); 1933var model = compilation.GetSemanticModel(tree); 1973model = compilation.GetSemanticModel(tree); 2004var model = compilation.GetSemanticModel(tree); 2048var model = compilation.GetSemanticModel(tree); 2078var model = compilation.GetSemanticModel(tree); 2165var model = compilation.GetSemanticModel(tree); 2254var model = compilation.GetSemanticModel(tree); 2290var model = compilation.GetSemanticModel(tree); 2327var model = compilation.GetSemanticModel(tree); 2363var model = compilation.GetSemanticModel(tree); 2400var model = compilation.GetSemanticModel(tree); 2429var model = compilation.GetSemanticModel(tree); 2461var model = compilation.GetSemanticModel(tree); 2499var model = compilation.GetSemanticModel(tree); 2536var model = compilation.GetSemanticModel(tree); 2565var model = compilation.GetSemanticModel(tree); 2595var model = compilation.GetSemanticModel(tree); 2620var model = compilation.GetSemanticModel(tree); 2643var model = compilation.GetSemanticModel(tree); 2676var model = compilation.GetSemanticModel(tree); 2703var model = compilation.GetSemanticModel(tree); 2761var model = compilation.GetSemanticModel(tree); 2784var model = compilation.GetSemanticModel(tree); 2811var model = compilation.GetSemanticModel(tree); 2840var model = compilation.GetSemanticModel(tree); 2905var model = compilation.GetSemanticModel(tree); 2935var model = compilation.GetSemanticModel(tree); 2967var model = compilation.GetSemanticModel(tree); 3016var model = compilation.GetSemanticModel(tree); 3043var model = compilation.GetSemanticModel(tree); 3073var model = compilation.GetSemanticModel(tree); 3109var model = comp.GetSemanticModel(tree); 3139var model = compilation.GetSemanticModel(tree); 3175var model = compilation.GetSemanticModel(tree); 3215var model = compilation.GetSemanticModel(tree); 3237var model = compilation.GetSemanticModel(tree); 3264var model = compilation.GetSemanticModel(tree); 3316var model = compilation.GetSemanticModel(tree); 3343var model = compilation.GetSemanticModel(tree); 3369var model = compilation.GetSemanticModel(tree); 3386var model = compilation.GetSemanticModel(tree); 3410var model = compilation.GetSemanticModel(tree); 3431var model = compilation.GetSemanticModel(tree); 3450var model = compilation.GetSemanticModel(tree); 3480var model = compilation.GetSemanticModel(tree); 3498var model = compilation.GetSemanticModel(tree); 3526var model = compilation.GetSemanticModel(tree); 3563var model = compilation.GetSemanticModel(tree); 3584var model = compilation.GetSemanticModel(tree); 3609var model = compilation.GetSemanticModel(tree); 3631var model = compilation.GetSemanticModel(tree); 3667var model = compilation.GetSemanticModel(tree); 3684var model = compilation.GetSemanticModel(tree); 3711var model = compilation.GetSemanticModel(tree); 3739var model = compilation.GetSemanticModel(tree); 3751var model2 = compilation.GetSemanticModel(tree2); 3788var model = compilation.GetSemanticModel(tree); 3806var model = compilation.GetSemanticModel(tree); 3825var model = compilation.GetSemanticModel(tree); 3846var semanticModel = compilation.GetSemanticModel(tree); 3867var modelWeakReference = ObjectReference.CreateFromFactory(() => compilation.GetSemanticModel(tree)); 3874var model2 = compilation.GetSemanticModel(tree); 3900var model = comp.GetSemanticModel(tree); 3921var model = comp.GetSemanticModel(tree); 3967var model = c2.GetSemanticModel(tree2); 3997var model = compilation.GetSemanticModel(tree); 4086var model = compilation.GetSemanticModel(tree); 4125var model = comp.GetSemanticModel(tree); 4143model = comp.GetSemanticModel(tree); 4167var model = compilation.GetSemanticModel(tree); 4245var parentModel = compilation.GetSemanticModel(tree); 4414var model = compilation.GetSemanticModel(tree); 4438var model = compilation.GetSemanticModel(tree); 4469var model = compilation.GetSemanticModel(tree); 4500var model = compilation.GetSemanticModel(tree); 4534var model = compilation.GetSemanticModel(tree); 4576var model = compilation.GetSemanticModel(tree); 4603var model = compilation.GetSemanticModel(tree); 4652var model = compilation.GetSemanticModel(tree); 4692var model = compilation.GetSemanticModel(tree); 4707var model = compilation.GetSemanticModel(tree); 4722var model = compilation.GetSemanticModel(tree); 4746var model = (SemanticModel)compilation.GetSemanticModel(tree); 4772var model = (SemanticModel)compilation.GetSemanticModel(tree); 4800var model = compilation.GetSemanticModel(tree); 4823var model = compilation.GetSemanticModel(tree); 4846var model = compilation.GetSemanticModel(tree); 4869var model = compilation.GetSemanticModel(tree); 4892var model = compilation.GetSemanticModel(tree); 4915var model = compilation.GetSemanticModel(tree); 4938var model = compilation.GetSemanticModel(tree); 4961var model = compilation.GetSemanticModel(tree); 4996var model = compilation.GetSemanticModel(tree); 5042var model = compilation.GetSemanticModel(tree); 5091var model = compilation.GetSemanticModel(tree); 5114var model = compilation.GetSemanticModel(tree); 5131var model = compilation.GetSemanticModel(tree); 5173var model = compilation.GetSemanticModel(tree); 5206var model = comp.GetSemanticModel(tree); 5223var model = comp.GetSemanticModel(tree); 5244var model = comp.GetSemanticModel(tree); 5265var model = comp.GetSemanticModel(tree);
Compilation\SemanticModelGetSemanticInfoTests.cs (24)
1114var model = compilation.GetSemanticModel(tree); 1148model = compilation.GetSemanticModel(tree); 1178model = compilation.GetSemanticModel(tree); 1208model = compilation.GetSemanticModel(tree); 1234model = compilation.GetSemanticModel(tree); 1261model = compilation.GetSemanticModel(tree); 1289model = compilation.GetSemanticModel(tree); 1316model = compilation.GetSemanticModel(tree); 1357model = compilation.GetSemanticModel(tree); 1395model = compilation.GetSemanticModel(tree); 1663var model = compilation.GetSemanticModel(tree); 8267var semanticModel = compilation.GetSemanticModel(tree); 8432var semanticModel = compilation.GetSemanticModel(tree); 8456var semanticModel = compilation.GetSemanticModel(tree); 12124var model = comp.GetSemanticModel(tree); 14485var model = compilation.GetSemanticModel(tree); 14654var model = comp.GetSemanticModel(tree); 14737var model = compilation.GetSemanticModel(tree); 14787var model = compilation.GetSemanticModel(tree); 14883var model = compilation.GetSemanticModel(tree); 14994var model = compilation.GetSemanticModel(tree); 15054var model = compilation.GetSemanticModel(tree); 15372var semanticModel = compilation.GetSemanticModel(tree); 15433var model = compilation.GetSemanticModel(tree);
DocumentationComments\CrefTests.cs (88)
304var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 905var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 1001var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 1100var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 1814var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 2014var model = compilation.GetSemanticModel(crefSyntax.SyntaxTree); 2053var model = compilation.GetSemanticModel(crefSyntax.SyntaxTree); 2107var model = compilation.GetSemanticModel(crefSyntax.SyntaxTree); 2942var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 2964var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 2996var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 3071var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 3096var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 3123var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 3154var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 3177var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 3200var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 3223var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 3247var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 3271var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 3295var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 3319var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 3342var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 3369var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 4556var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 4574var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 4592var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 4609var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 4645var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 4697var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 4753var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 4785var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 4819var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 4847var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 4874var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 4908var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 4935var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 4977var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 5009var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 5044var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 5086var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 5138var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 5175var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 5197var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 5240var model = compilation.GetSemanticModel(tree); 5283var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 5309var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 5335var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 5361var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 5400var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 5423var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 5443var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 5469var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 5491var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 5558var model = compilation.GetSemanticModel(tree); 5595var model = compilation.GetSemanticModel(tree); 5625var model = compilation.GetSemanticModel(tree); 5658var model = compilation.GetSemanticModel(tree); 5696var model = compilation.GetSemanticModel(tree); 5715var model = compilation.GetSemanticModel(tree); 5748var model = compilation.GetSemanticModel(tree); 5791var model = compilation.GetSemanticModel(tree); 5853var model = compilation.GetSemanticModel(cref.SyntaxTree); 5902var model = compilation.GetSemanticModel(cref.SyntaxTree); 5926var model = compilation.GetSemanticModel(cref.SyntaxTree); 5950var model = compilation.GetSemanticModel(cref.SyntaxTree); 5975var model = compilation.GetSemanticModel(cref.SyntaxTree); 5999var model = compilation.GetSemanticModel(cref.SyntaxTree); 6027var model = compilation.GetSemanticModel(cref.SyntaxTree); 6049var model = compilation.GetSemanticModel(typeParameterSyntax.SyntaxTree); 6073var model = compilation.GetSemanticModel(methodNameSyntax.SyntaxTree); 6105var model = compilation.GetSemanticModel(tree); 6140var model = compilation.GetSemanticModel(tree); 6183var model = compilation.GetSemanticModel(tree); 6211var model = compilation.GetSemanticModel(tree); 6241var model = compilation.GetSemanticModel(tree); 6279var model = compilation.GetSemanticModel(tree); 6338var model = compilation.GetSemanticModel(tree); 6425var model = comp.GetSemanticModel(tree); 6463var model = comp.GetSemanticModel(tree); 6496var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 6531var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 6558var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 6580var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 6603var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 6671var model = compilation.GetSemanticModel(tree); 6701var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 6869var model = comp.GetSemanticModel(comp.SyntaxTrees.Single());
DocumentationComments\DocumentationCommentCompilerTests.cs (2)
2476comp.GetSemanticModel(tree1).GetDiagnostics().Verify( 2480comp.GetSemanticModel(tree2).GetDiagnostics().Verify(
DocumentationComments\DocumentationCommentIDTests.cs (4)
30var model = comp.GetSemanticModel(tree); 143var model = comp.GetSemanticModel(tree); 164var model = comp.GetSemanticModel(tree); 308var model = comp.GetSemanticModel(tree);
DocumentationComments\ParameterTests.cs (27)
34var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 57var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 81var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 105var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 134var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 159var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 184var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 205var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 226var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 247var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 272var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 298var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 326var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 349var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 373var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 404var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 431var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 458var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 485var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 512var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 539var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 566var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 594var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 643var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 690var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 742var model = compilation.GetSemanticModel(tree); 797var model = compilation.GetSemanticModel(tree);
SymbolDisplay\SymbolDisplayTests.cs (28)
2725var model = comp.GetSemanticModel(tree); 3282var model = comp.GetSemanticModel(tree); 5287var model = comp.GetSemanticModel(comp.SyntaxTrees.First()); 5313var model = comp.GetSemanticModel(tree); 5753var model = comp.GetSemanticModel(tree); 6300var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 6343var semanticModel = comp.GetSemanticModel(srcTree); 6377var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 6439var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 6472var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 6533var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 6566var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 6611var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 6729var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 6767var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 6805var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 6865var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 6937var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 7197var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 7350var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 7602var model = compilation.GetSemanticModel(tree); 7694var model = compilation.GetSemanticModel(tree); 7754var model = compilation.GetSemanticModel(tree); 7786var model = compilation.GetSemanticModel(tree); 8089var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 8140var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 8499var model = comp.GetSemanticModel(tree); 8555var model = comp.GetSemanticModel(tree);
Symbols\AccessorOverriddenOrHiddenMembersTests.cs (1)
1023var semanticModel = compilation.GetSemanticModel(syntaxTree);
Symbols\AnonymousTypesSemanticsTests.cs (1)
1990Model = compilation.GetSemanticModel(tree),
Symbols\AnonymousTypesSymbolTests.cs (3)
1476var model = compilation.GetSemanticModel(compilation.SyntaxTrees[0]); 1639var model = comp.GetSemanticModel(tree); 1680var model = comp.GetSemanticModel(tree);
Symbols\AssemblyAndNamespaceTests.cs (1)
332var model = compilation.GetSemanticModel(tree);
Symbols\CheckedUserDefinedOperatorsTests.cs (5)
7208var model = compilation1.GetSemanticModel(tree); 7280var model = compilation1.GetSemanticModel(tree); 7351var model = compilation1.GetSemanticModel(tree); 7424var model = compilation1.GetSemanticModel(tree); 7488var model = compilation1.GetSemanticModel(tree);
Symbols\CompilationCreationTests.cs (1)
55var types = expectedSyntaxTrees.Select(tree => compilation.GetSemanticModel(tree).GetDeclaredSymbol(tree.GetCompilationUnitRoot().Members.Single())).ToArray();
Symbols\ConversionTests.cs (4)
388var model = compilation.GetSemanticModel(tree); 1725var model = comp.GetSemanticModel(tree); 1795var model = comp.GetSemanticModel(tree); 1829var model = comp.GetSemanticModel(tree);
Symbols\CovariantReturnTests.cs (1)
378var model = comp.GetSemanticModel(tree);
Symbols\DestructorTests.cs (1)
405var model = compilation.GetSemanticModel(tree);
Symbols\EnumTests.cs (1)
352var model = comp.GetSemanticModel(tree);
Symbols\ExtensionMethodTests.cs (11)
226var gooSymbol = (IMethodSymbol)compilation.GetSemanticModel(syntaxTree).GetSymbolInfo( 2438var model = compilation.GetSemanticModel(tree); 2731var model = compilation.GetSemanticModel(tree); 2957var model = compilation.GetSemanticModel(tree); 3015var model = compilation.GetSemanticModel(tree); 3143var model = comp.GetSemanticModel(tree); 3782var model = compilation.GetSemanticModel(syntaxTree); 3870var model = compilation.GetSemanticModel(tree); 3917var model = compilation.GetSemanticModel(tree); 3962var model = compilation.GetSemanticModel(tree); 4012var model = compilation.GetSemanticModel(tree);
Symbols\FunctionPointerTypeSymbolTests.cs (16)
50var model = comp.GetSemanticModel(syntaxTree); 123var model = comp.GetSemanticModel(syntaxTree); 203var model = comp.GetSemanticModel(syntaxTree); 270var model = comp.GetSemanticModel(syntaxTree); 338var model = comp.GetSemanticModel(syntaxTree); 404var model = comp.GetSemanticModel(syntaxTree); 484var model = comp.GetSemanticModel(syntaxTree); 601var model = comp.GetSemanticModel(syntaxTree); 683var model = comp.GetSemanticModel(syntaxTree); 1146var model = comp.GetSemanticModel(syntaxTree); 1257var model = comp.GetSemanticModel(syntaxTree); 1314var model = compilation.GetSemanticModel(syntaxTree); 1428var model = comp.GetSemanticModel(syntaxTree); 1689var model = comp.GetSemanticModel(syntaxTree); 1800var model = comp.GetSemanticModel(syntaxTree); 1927var model = comp.GetSemanticModel(syntaxTree);
Symbols\ImplicitClassTests.cs (2)
71var model = c.GetSemanticModel(tree); 114var model = comp.GetSemanticModel(tree);
Symbols\IndexerTests.cs (8)
1294var model = comp.GetSemanticModel(tree); 2233var model = comp.GetSemanticModel(tree); 2274var model = comp.GetSemanticModel(tree); 2316var model = comp.GetSemanticModel(tree); 2354var model = comp.GetSemanticModel(tree); 2612var model = comp.GetSemanticModel(tree); 2699var model = comp.GetSemanticModel(tree); 2842var model = comp2.GetSemanticModel(tree);
Symbols\LocalFunctionTests.cs (4)
32var semanticModel = compilation.GetSemanticModel(tree); 53var semanticModel = compilation.GetSemanticModel(tree); 74var semanticModel = compilation.GetSemanticModel(tree); 97var semanticModel = compilation.GetSemanticModel(tree);
Symbols\LookupSymbolsInfoTests.cs (1)
94var model = compilation.GetSemanticModel(tree);
Symbols\Metadata\MetadataTypeTests.cs (2)
370var model = currComp.GetSemanticModel(newTree); 385model = currComp.GetSemanticModel(newTree);
Symbols\MethodEqualityTests.cs (1)
206var model = comp.GetSemanticModel(tree);
Symbols\RelaxedShiftOperatorTests.cs (6)
101var model = compilation1.GetSemanticModel(tree); 145var model = compilation1.GetSemanticModel(tree); 189var model = compilation1.GetSemanticModel(tree); 233var model = compilation1.GetSemanticModel(tree); 277var model = compilation1.GetSemanticModel(tree); 321var model = compilation1.GetSemanticModel(tree);
Symbols\Source\AccessTests.cs (3)
32var errs = comp.GetSemanticModel(tree).GetDeclarationDiagnostics(); 74var errs = comp.GetSemanticModel(tree).GetDeclarationDiagnostics(); 97var errs = comp.GetSemanticModel(tree).GetDeclarationDiagnostics();
Symbols\Source\BaseClassTests.cs (3)
270var model = comp.GetSemanticModel(tree); 307var model = comp.GetSemanticModel(tree); 2030var model = comp.GetSemanticModel(tree);
Symbols\Source\DeclaringSyntaxNodeTests.cs (5)
44SemanticModel model = compilation.GetSemanticModel(tree); 137var model = comp.GetSemanticModel(tree); 152var model = comp.GetSemanticModel(tree); 259var model = comp.GetSemanticModel(tree); 302var model = comp.GetSemanticModel(tree);
Symbols\Source\DelegateTests.cs (3)
736var model = comp.GetSemanticModel(syntaxTree); 764var model = comp.GetSemanticModel(syntaxTree); 826var model = compilation.GetSemanticModel(tree);
Symbols\Source\EnumTests.cs (1)
956var model = compilation.GetSemanticModel(tree);
Symbols\Source\EventTests.cs (3)
303var semanticModel = compVerifier.Compilation.GetSemanticModel(compVerifier.Compilation.SyntaxTrees.Single()); 433var model = compilation.GetSemanticModel(tree); 479var model = compilation.GetSemanticModel(tree);
Symbols\Source\ExternAliasTests.cs (4)
354var model = comp.GetSemanticModel(tree); 406var model = comp3.GetSemanticModel(tree); 432var model = comp3.GetSemanticModel(tree); 476var model = comp.GetSemanticModel(tree);
Symbols\Source\FileModifierTests.cs (9)
2218var model = comp.GetSemanticModel(tree); 2258var model = comp.GetSemanticModel(tree); 2946var model = comp.GetSemanticModel(tree); 2997var model = comp.GetSemanticModel(tree); 3053var model = compilation.GetSemanticModel(tree); 3552var model = comp.GetSemanticModel(tree); 3769var model = comp.GetSemanticModel(tree); 3813var model = comp.GetSemanticModel(tree); 3836var model = comp.GetSemanticModel(tree);
Symbols\Source\MethodTests.cs (1)
2538var model = comp.GetSemanticModel(syntax);
Symbols\Source\NullablePublicAPITests.cs (97)
51var model = comp.GetSemanticModel(syntaxTree); 85var model = comp.GetSemanticModel(syntaxTree); 567var semanticModel = comp.GetSemanticModel(syntaxTree); 942var model = comp.GetSemanticModel(syntaxTree); 999var model = comp.GetSemanticModel(syntaxTree); 1092var model = comp.GetSemanticModel(syntaxTree); 1119var model = comp.GetSemanticModel(syntaxTree); 1207var model = comp.GetSemanticModel(syntaxTree); 1259var model = comp.GetSemanticModel(syntaxTree); 1357var model = comp.GetSemanticModel(syntaxTree); 1437var model = comp.GetSemanticModel(syntaxTree); 1509var model = comp.GetSemanticModel(syntaxTree); 1565var model = comp.GetSemanticModel(syntaxTree); 1622var model = comp.GetSemanticModel(syntaxTree); 1668var model = comp.GetSemanticModel(syntaxTree); 1711var model = comp.GetSemanticModel(syntaxTree); 1850var model = comp.GetSemanticModel(syntaxTree); 1893var model = comp.GetSemanticModel(syntaxTree); 1938var model = comp.GetSemanticModel(syntaxTree); 1985var model = comp.GetSemanticModel(syntaxTree); 2046var model = comp.GetSemanticModel(syntaxTree); 2089var model = comp.GetSemanticModel(syntaxTree); 2132var model = comp.GetSemanticModel(syntaxTree); 2175var model = comp.GetSemanticModel(syntaxTree); 2217var model = comp.GetSemanticModel(syntaxTree); 2247var model = comp.GetSemanticModel(syntaxTree); 2282var model = comp.GetSemanticModel(syntaxTree); 2326var model = comp.GetSemanticModel(syntaxTree); 2367var model = comp.GetSemanticModel(syntaxTree); 2412var model = comp.GetSemanticModel(syntaxTree); 2452var model = comp.GetSemanticModel(syntaxTree); 2500var model = comp.GetSemanticModel(syntaxTree); 2545var model = comp.GetSemanticModel(syntaxTree); 2594var model = comp.GetSemanticModel(syntaxTree); 2628var model = comp.GetSemanticModel(syntaxTree); 2662var model = comp.GetSemanticModel(syntaxTree); 2700var model = comp.GetSemanticModel(syntaxTree); 2736var model = comp.GetSemanticModel(syntaxTree); 2782var model = comp.GetSemanticModel(syntaxTree); 2825var model = comp.GetSemanticModel(syntaxTree); 2874var model = comp.GetSemanticModel(syntaxTree); 2915var model = comp.GetSemanticModel(syntaxTree); 2956var model = comp.GetSemanticModel(syntaxTree); 2998var model = comp.GetSemanticModel(syntaxTree); 3040var model = comp.GetSemanticModel(syntaxTree); 3100var model = comp.GetSemanticModel(syntaxTree); 3147var model = comp.GetSemanticModel(syntaxTree); 3192var model = comp.GetSemanticModel(syntaxTree); 3257var model = comp.GetSemanticModel(syntaxTree); 3309var model = comp.GetSemanticModel(syntaxTree); 3358var model = comp.GetSemanticModel(syntaxTree); 3405var model = comp.GetSemanticModel(syntaxTree); 3450var model = comp.GetSemanticModel(syntaxTree); 3487var model = comp.GetSemanticModel(syntaxTree); 3536var model = comp.GetSemanticModel(syntaxTree); 3597var model = comp.GetSemanticModel(syntaxTree); 3660var model = comp.GetSemanticModel(syntaxTree); 3697var model = comp.GetSemanticModel(tree); 3732var model = comp.GetSemanticModel(tree); 3768var model = comp.GetSemanticModel(syntaxTree); 3807var model = comp.GetSemanticModel(syntaxTree); 3853var model = comp.GetSemanticModel(syntaxTree); 3912var model = comp.GetSemanticModel(syntaxTree); 3977var model = comp.GetSemanticModel(syntaxTree); 4046var model = comp.GetSemanticModel(syntaxTree); 4113var model = comp.GetSemanticModel(syntaxTree); 4176var model = comp.GetSemanticModel(syntaxTree); 4210var model = comp.GetSemanticModel(syntaxTree); 4242var model = comp.GetSemanticModel(syntaxTree); 4271var model = comp.GetSemanticModel(syntaxTree); 4305var model = comp.GetSemanticModel(syntaxTree); 4335var model = comp.GetSemanticModel(tree); 4365var model = comp.GetSemanticModel(tree); 4393var model = comp.GetSemanticModel(tree); 4421var model = comp.GetSemanticModel(tree); 4451var model = comp.GetSemanticModel(tree); 4481var model = comp.GetSemanticModel(tree); 4511var model = comp.GetSemanticModel(tree); 4543var model = comp.GetSemanticModel(tree); 4576var model = comp.GetSemanticModel(tree); 4604var model = comp.GetSemanticModel(tree); 4637var model = comp.GetSemanticModel(tree); 4668var model = comp.GetSemanticModel(tree); 4699var model = comp.GetSemanticModel(tree); 4729var model = comp.GetSemanticModel(tree); 4780var model = comp.GetSemanticModel(syntaxTree); 4815var model = comp.GetSemanticModel(tree); 4901var model = comp.GetSemanticModel(tree); 4935var model = comp.GetSemanticModel(tree); 4966var model = comp.GetSemanticModel(tree); 5009var model = comp.GetSemanticModel(tree); 5055var model = comp.GetSemanticModel(tree); 5075var model = comp.GetSemanticModel(tree); 5079model = comp.GetSemanticModel(tree); 5109var model = comp.GetSemanticModel(tree); 5141var model = comp.GetSemanticModel(tree); 5169var model = comp.GetSemanticModel(tree);
Symbols\Source\UpdatedContainingSymbolAndNullableAnntotationTests.cs (1)
35var model = comp.GetSemanticModel(syntaxTree);
Symbols\Source\UsingAliasTests.cs (23)
45var model = comp.GetSemanticModel(tree); 102var model = comp.GetSemanticModel(tree); 162var model = comp.GetSemanticModel(tree); 217var model = comp.GetSemanticModel(tree); 272var model = comp.GetSemanticModel(tree); 309var model = comp.GetSemanticModel(tree); 355var model = comp.GetSemanticModel(tree); 386var model = comp.GetSemanticModel(tree); 407var model = comp.GetSemanticModel(tree); 426var model = comp.GetSemanticModel(tree); 445var model = comp.GetSemanticModel(tree); 464var model = comp.GetSemanticModel(tree); 483var model = comp.GetSemanticModel(tree); 504var model = comp.GetSemanticModel(tree); 523var alias = comp.GetSemanticModel(syntaxTree).GetDeclaredSymbol(usingAlias); 543var model = comp.GetSemanticModel(syntaxTree); 563var model = comp.GetSemanticModel(syntaxTree); 582var model = comp.GetSemanticModel(syntaxTree); 602var model = comp.GetSemanticModel(syntaxTree); 626var model = comp.GetSemanticModel(syntaxTree); 649var model = comp.GetSemanticModel(syntaxTree); 700var model = compilation.GetSemanticModel(tree); 743var model = compilation.GetSemanticModel(tree);
Symbols\StaticAbstractMembersInInterfacesTests.cs (26)
8452var model = compilation1.GetSemanticModel(tree); 9040var model = compilation1.GetSemanticModel(tree); 9355var model = compilation1.GetSemanticModel(tree); 9754var model = compilation1.GetSemanticModel(tree); 10751var model = compilation1.GetSemanticModel(tree); 10944var model = compilation1.GetSemanticModel(tree); 11134var model = compilation1.GetSemanticModel(tree); 11328var model = compilation1.GetSemanticModel(tree); 11582var model = compilation1.GetSemanticModel(tree); 11959var model = compilation1.GetSemanticModel(tree); 12138var model = compilation1.GetSemanticModel(tree); 13191var model = compilation1.GetSemanticModel(tree); 13277var model = compilation1.GetSemanticModel(tree); 13399var model = compilation1.GetSemanticModel(tree); 14112var model = compilation1.GetSemanticModel(tree); 14737var model = compilation1.GetSemanticModel(tree); 15143var model = compilation1.GetSemanticModel(tree); 15411var model = compilation1.GetSemanticModel(tree); 19583var model = compilation1.GetSemanticModel(tree); 19666var model = compilation1.GetSemanticModel(tree); 19758var model = compilation1.GetSemanticModel(tree); 19847var model = compilation1.GetSemanticModel(tree); 28796var model = compilation1.GetSemanticModel(tree); 30303var model = compilation1.GetSemanticModel(tree); 30494var model = compilation1.GetSemanticModel(tree); 30960var model = compilation1.GetSemanticModel(tree);
Symbols\SymbolEqualityTests.cs (19)
39var model = comp.GetSemanticModel(tree); 82var model = comp.GetSemanticModel(tree); 122var model = comp.GetSemanticModel(tree); 163var model = comp.GetSemanticModel(tree); 414var model = comp.GetSemanticModel(syntaxTree); 452var model = comp.GetSemanticModel(syntaxTree); 483var model = comp.GetSemanticModel(syntaxTree); 526var model = comp.GetSemanticModel(syntaxTree); 557var model = comp.GetSemanticModel(syntaxTree); 593var model = comp.GetSemanticModel(syntaxTree); 628var model = comp.GetSemanticModel(syntaxTree); 677var model = comp.GetSemanticModel(syntaxTree); 729var model = comp.GetSemanticModel(syntaxTree); 779var model = comp.GetSemanticModel(syntaxTree); 830var model = comp.GetSemanticModel(syntaxTree); 891var model = comp.GetSemanticModel(syntaxTree); 936var semanticModel1 = comp.GetSemanticModel(syntaxTree); 937var semanticModel2 = comp.GetSemanticModel(syntaxTree); 960var model = comp.GetSemanticModel(syntaxTree);
Symbols\SymbolExtensionTests.cs (5)
102var model = compilation.GetSemanticModel(tree); 120var model = compilation.GetSemanticModel(tree); 138var model = compilation.GetSemanticModel(tree); 157var model = compilation.GetSemanticModel(tree); 251var model = compilation.GetSemanticModel(tree);
Symbols\TypeTests.cs (3)
1674var model = comp.GetSemanticModel(tree); 1758var model = comp.GetSemanticModel(tree); 1849var model = compilation.GetSemanticModel(tree);
Symbols\UnsignedRightShiftTests.cs (9)
122var model = compilation1.GetSemanticModel(tree); 625var model = compilation1.GetSemanticModel(tree); 1175var model = compilation1.GetSemanticModel(tree); 1583var model = compilation1.GetSemanticModel(tree); 1982var model = compilation1.GetSemanticModel(tree); 2234var model = compilation1.GetSemanticModel(tree); 2376var model = compilation1.GetSemanticModel(tree); 2510var model = compilation1.GetSemanticModel(tree); 2607var model = compilation1.GetSemanticModel(tree);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (9)
CompilationTestUtils.cs (1)
463var model = compilation.GetSemanticModel(tree);
CSharpTestBase.cs (4)
1569return new Tuple<TNode, SemanticModel>(node, compilation.GetSemanticModel(compilation.SyntaxTrees[treeIndex])); 1580return new Tuple<IList<TNode>, SemanticModel>(nodes, compilation.GetSemanticModel(compilation.SyntaxTrees[treeIndex])); 1940var model = compilation.GetSemanticModel(tree); 2013var model = compilation.GetSemanticModel(syntaxNode.SyntaxTree);
SemanticModelTestBase.cs (4)
98var model = compilation.GetSemanticModel(tree); 129var model = compilation.GetSemanticModel(tree); 139var model = compilation.GetSemanticModel(tree); 155var model = compilation.GetSemanticModel(tree);
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (2)
CodeGen\WinMdEventTests.cs (1)
669var model = comp.GetSemanticModel(tree);
CodeGen\WinRTCollectionTests.cs (1)
7421var model = comp.GetSemanticModel(tree);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
CSharpSemanticFacts.cs (1)
373var semanticModel = compilation.GetSemanticModel(syntaxReference.SyntaxTree);
CSharpUseImplicitTypeHelper.cs (1)
202var newSemanticModel = semanticModel.Compilation.ReplaceSyntaxTree(tree, newTree).GetSemanticModel(newTree);
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.cs (1)
4700var semanticModel = compilation.GetSemanticModel(tree);
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (1)
NavigationCommandHandlers\FindImplementingMembersCommandHandler.cs (1)
109var namedTypeSymbol = compilation.GetSemanticModel(syntaxTree).GetDeclaredSymbol(parentTypeNode, cancellationToken: cancellationToken) as INamedTypeSymbol;
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Semantics\SpeculationAnalyzerTestsBase.cs (1)
42var initialModel = initialCompilation.GetSemanticModel(initialTree);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Utilities\SymbolEquivalenceComparerTests.cs (1)
1766var model = compilation.GetSemanticModel(invocation.SyntaxTree);
Microsoft.CodeAnalysis.Features (4)
AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
546lazyModel ??= compilation.GetSemanticModel(root.SyntaxTree);
InitializeParameter\AbstractInitializeMemberFromParameterCodeRefactoringProviderMemberCreation.cs (1)
820var semanticModel = compilation.GetSemanticModel(group.Key);
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (2)
135return model.Compilation.GetSemanticModel(tree); 144return referencedCompilation.GetSemanticModel(tree);
Microsoft.CodeAnalysis.Test.Utilities (4)
Compilation\CompilationExtensions.cs (3)
190SemanticModel model = compilation.GetSemanticModel(node.SyntaxTree); 203SemanticModel model = compilation.GetSemanticModel(tree); 292var semanticModel = compilation.GetSemanticModel(tree);
Compilation\ControlFlowGraphVerifier.cs (1)
349var model = compilation.GetSemanticModel(graph.OriginalOperation.Syntax.SyntaxTree);
Microsoft.CodeAnalysis.UnitTests (1)
Diagnostics\SuppressMessageTargetSymbolResolverTests.cs (1)
1346var model = compilation.GetSemanticModel(syntaxTree);
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
VisualBasicUnnecessaryImportsProvider.vb (1)
79Dim updatedModel = updatedCompilation.GetSemanticModel(updatedSyntaxTree)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (9)
CodeGen\CodeGenEvents.vb (2)
437Dim model = compilation.GetSemanticModel(tree) 567Dim model = compilation.GetSemanticModel(tree)
CodeGen\CodeGenTuples.vb (7)
1501Dim model = comp.GetSemanticModel(tree, ignoreAccessibility:=False) 1855Dim model = compilation.GetSemanticModel(tree) 1910Dim model = comp.GetSemanticModel(tree, ignoreAccessibility:=False) 1970Dim model = comp.GetSemanticModel(tree, ignoreAccessibility:=False) 9007Dim model = comp.GetSemanticModel(tree, ignoreAccessibility:=False) 9220Dim model = comp.GetSemanticModel(tree, ignoreAccessibility:=False) 9270Dim model = comp.GetSemanticModel(tree, ignoreAccessibility:=False)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (18)
Binding\ForEachTests.vb (3)
4595Dim model = verifier.Compilation.GetSemanticModel(tree) 4653Dim model = verifier.Compilation.GetSemanticModel(tree) 4716Dim model = verifier.Compilation.GetSemanticModel(tree)
Diagnostics\CompilationEventTests.vb (1)
208Dim model = compilation.GetSemanticModel(tree)
Diagnostics\DiagnosticAnalyzerTests.vb (1)
1696Dim model = compilation.GetSemanticModel(tree)
Diagnostics\GetDiagnosticsTests.vb (2)
157Dim model = compilation.GetSemanticModel(tree) 212Dim model = compilation.GetSemanticModel(tree)
Semantics\InterpolatedStringTests.vb (7)
374Dim sm = compilation.GetSemanticModel(mainTree) 425Dim sm = compilation.GetSemanticModel(mainTree) 767Dim sm = compilation.GetSemanticModel(mainTree) 818Dim sm = compilation.GetSemanticModel(mainTree) 874Dim sm = compilation.GetSemanticModel(mainTree) 931Dim sm = compilation.GetSemanticModel(mainTree) 989Dim sm = compilation.GetSemanticModel(mainTree)
Semantics\MultiDimensionalTest.vb (1)
1186Dim model = verifier.Compilation.GetSemanticModel(tree)
Semantics\NonTrailingNamedArgumentsTests.vb (3)
63Dim model = verifier.Compilation.GetSemanticModel(tree) 774Dim model = verifier.Compilation.GetSemanticModel(tree) 805Dim model = verifier.Compilation.GetSemanticModel(tree)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (1)
SymbolDisplay\SymbolDisplayTests.vb (1)
5661Dim model = comp.GetSemanticModel(tree)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (10)
BasicTestBase.vb (1)
922Dim semanticModel = compilation.GetSemanticModel(node.SyntaxTree)
CompilationTestUtils.vb (5)
594Dim semanticModel = DirectCast(compilation.GetSemanticModel(tree), VBSemanticModel) 605Dim semanticModel = DirectCast(compilation.GetSemanticModel(node.SyntaxTree), VBSemanticModel) 611Return DirectCast(compilation.GetSemanticModel(tree), VBSemanticModel) 1117Dim bindings = DirectCast(compilation.GetSemanticModel(tree), VBSemanticModel) 1162Dim bindings1 = compilation.GetSemanticModel(tree)
SemanticModelTestBase.vb (4)
97Dim semanticModel = DirectCast(compilation.GetSemanticModel(tree), VBSemanticModel) 104Dim semanticModel = CType(compilation.GetSemanticModel(tree), VBSemanticModel) 121Dim binding = DirectCast(compilation.GetSemanticModel(tree), VBSemanticModel) 130Dim binding = DirectCast(compilation.GetSemanticModel(tree), VBSemanticModel)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
VisualBasicUnnecessaryImportsProvider.vb (1)
79Dim updatedModel = updatedCompilation.GetSemanticModel(updatedSyntaxTree)
Microsoft.CodeAnalysis.Workspaces (5)
SymbolKey.AliasSymbolKey.cs (1)
43var semanticModel = reader.Compilation.GetSemanticModel(syntaxTree);
SymbolKey.AnonymousFunctionOrDelegateSymbolKey.cs (1)
53var semanticModel = reader.Compilation.GetSemanticModel(syntaxTree);
SymbolKey.BodyLevelSymbolKey.cs (1)
123semanticModel = compilation.GetSemanticModel(syntaxTree);
SymbolKey.SymbolKeyReader.cs (1)
745var semanticModel = Compilation.GetSemanticModel(location.SourceTree);
Workspace\Solution\Document.cs (1)
290var result = compilation.GetSemanticModel(syntaxTree);
Microsoft.CodeAnalysis.Workspaces.UnitTests (23)
FindReferencesTests.cs (3)
164var semanticModel = comp.GetSemanticModel(tree); 203var semanticModel = comp.GetSemanticModel(tree); 267var semanticModel = comp.GetSemanticModel(tree);
SymbolKeyTests.cs (20)
295TestRoundTrip(GetAllSymbols(compilation.GetSemanticModel(compilation.SyntaxTrees.Single())), compilation); 548var model = compilation.GetSemanticModel(tree); 584var model = compilation.GetSemanticModel(tree); 606var model = compilation.GetSemanticModel(tree); 631var model = compilation.GetSemanticModel(tree); 649var model = compilation.GetSemanticModel(tree); 667var model = compilation.GetSemanticModel(tree); 687var model = compilation.GetSemanticModel(tree); 710var model = compilation.GetSemanticModel(tree); 753var model = compilation.GetSemanticModel(tree); 767var model = compilation.GetSemanticModel(tree); 910compilation.GetSemanticModel(compilation.SyntaxTrees.Single()), 951compilation1.GetSemanticModel(compilation1.SyntaxTrees.Single()), 988compilation1.GetSemanticModel(compilation1.SyntaxTrees.Single()), 1021compilation1.GetSemanticModel(compilation1.SyntaxTrees.Single()), 1056compilation1.GetSemanticModel(compilation1.SyntaxTrees.Single()), 1103compilation2.GetSemanticModel(compilation2.SyntaxTrees.Single()), 1150compilation2.GetSemanticModel(compilation2.SyntaxTrees.Single()), 1206var semanticModel = compilation1.GetSemanticModel(tree); 1483var semanticModel = compilation.GetSemanticModel(node.SyntaxTree);
Microsoft.VisualStudio.LanguageServices (1)
PullMemberUp\SymbolDependentsBuilder.cs (1)
63Visit(compilation.GetSemanticModel(syntax.SyntaxTree).GetOperation(syntax, _cancellationToken));
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\CSharpCodeModelService.cs (1)
3054var semanticModel = compilation.GetSemanticModel(tree);
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
CodeModel\VisualBasicCodeModelService.vb (1)
3659Dim semanticModel = compilation.GetSemanticModel(tree)
Roslyn.Compilers.VisualBasic.IOperation.UnitTests (1)
IOperation\IOperationTests_IConversionExpression.vb (1)
3371Dim semanticModel = compilation.GetSemanticModel(finalSyntax.SyntaxTree)