3522 references to GetSemanticModel
AnalyzerRunner (1)
DiagnosticAnalyzerRunner.cs (1)
194await compilationWithAnalyzers.GetAnalyzerSemanticDiagnosticsAsync(compilation.GetSemanticModel(tree), null, cancellationToken).ConfigureAwait(false);
Microsoft.Analyzers.Extra (1)
CallAnalysis\Fixers\LegacyLoggingFixer.cs (1)
628var semanticModel = comp.GetSemanticModel(targetClass.SyntaxTree);
Microsoft.Analyzers.Extra.Tests (4)
SyntaxNodeExtensionsTests.cs (4)
53var model = compilation.GetSemanticModel(tree); 85var model = compilation.GetSemanticModel(tree); 148var model = compilation.GetSemanticModel(tree); 178var model = compilation.GetSemanticModel(tree);
Microsoft.AspNetCore.Analyzers (1)
CompilationFeatureDetector.cs (1)
39var semanticModel = compilation.GetSemanticModel(syntaxReferences[j].SyntaxTree);
Microsoft.AspNetCore.App.Analyzers (1)
Infrastructure\RouteUsageCache.cs (1)
49var semanticModel = _compilation.GetSemanticModel(syntaxToken.SyntaxTree);
Microsoft.AspNetCore.Http.RequestDelegateGenerator (1)
StaticRouteHandlerModel\InvocationOperationExtensions.cs (1)
112var targetSemanticModel = semanticModel?.Compilation.GetSemanticModel(expr.SyntaxTree);
Microsoft.AspNetCore.SignalR.Client.SourceGenerator (5)
HubClientProxyGenerator.Parser.cs (3)
208var registerCallbackProviderSemanticModel = _compilation.GetSemanticModel(methodDeclarationSyntax.SyntaxTree); 251var argModel = _compilation.GetSemanticModel(argType.SyntaxTree); 260var argModel = _compilation.GetSemanticModel(als.Arguments[0].Expression.SyntaxTree);
HubServerProxyGenerator.Parser.cs (2)
197var getProxySemanticModel = _compilation.GetSemanticModel(methodDeclarationSyntax.SyntaxTree); 236var argumentModel = _compilation.GetSemanticModel(proxyType.SyntaxTree);
Microsoft.CodeAnalysis (10)
Compilation\Compilation.cs (1)
334/// Unlike the <see cref="GetSemanticModel(SyntaxTree, bool)"/> and <see cref="CommonGetSemanticModel(SyntaxTree, SemanticModelOptions)"/>,
DiagnosticAnalyzer\AnalyzerDriver.cs (3)
1266var model = compilation.GetSemanticModel(location.SourceTree); 1326var model = compilation.GetSemanticModel(tree); 1887var model = compilation.GetSemanticModel(syntaxReference.SyntaxTree);
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (1)
1034var mappedModel = compilation.GetSemanticModel(analysisScope.FilterFileOpt!.Value.SourceTree!);
DiagnosticAnalyzer\CompilerDiagnosticAnalyzer.CompilationAnalyzer.cs (1)
34var semanticModel = _compilation.GetSemanticModel(context.Tree);
DiagnosticAnalyzer\SuppressMessageAttributeState.cs (1)
163var 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 (2)
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
609lazyModel ??= compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.BodyLevelSymbolKey.cs (1)
123semanticModel = compilation.GetSemanticModel(syntaxTree);
Microsoft.CodeAnalysis.CSharp (1)
Compilation\CSharpSemanticModel.cs (1)
24/// cref="Compilation.GetSemanticModel(SyntaxTree, bool)"/>.
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
src\Analyzers\CSharp\Analyzers\UsePrimaryConstructor\CSharpUsePrimaryConstructorDiagnosticAnalyzer.cs (1)
389var semanticModel = compilation.GetSemanticModel(primaryConstructorDeclaration.SyntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SemanticFacts\CSharpSemanticFacts.cs (1)
386var semanticModel = compilation.GetSemanticModel(syntaxReference.SyntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpUseImplicitTypeHelper.cs (1)
202var newSemanticModel = semanticModel.Compilation.ReplaceSyntaxTree(tree, newTree).GetSemanticModel(newTree);
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (4)
SymbolKey\SymbolKeyMetadataVsSourceTests.cs (1)
257var model = comp40.GetSemanticModel(comp40.SyntaxTrees.First());
SymbolKey\SymbolKeyTestBase.cs (2)
253var model = comp.GetSemanticModel(tree); 283var model = _compilation.GetSemanticModel(declarator.SyntaxTree);
SymbolKey\SymbolKeyTests.cs (1)
293var semanticModel = bodyCompilation.GetSemanticModel(tree);
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (1)
Recommendations\RecommenderTests.cs (1)
74var semanticModel = compilation.GetSemanticModel(tree);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (228)
CodeGen\CodeGenAsyncIteratorTests.cs (2)
8740var model = comp.GetSemanticModel(tree); 8806var model = comp.GetSemanticModel(tree);
CodeGen\CodeGenAwaitForeachTests.cs (1)
4238var 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\CodeGenExprLambdaTests.cs (2)
1848var model = comp.GetSemanticModel(tree); 1885var model = comp.GetSemanticModel(tree);
CodeGen\CodeGenFunctionPointersTests.cs (20)
3060var model = comp.GetSemanticModel(syntaxTree); 3112var model = comp.GetSemanticModel(syntaxTree); 3337var model = comp.GetSemanticModel(syntaxTree); 3408var model = comp.GetSemanticModel(syntaxTree); 3455var model = comp.GetSemanticModel(syntaxTree); 3566var model = comp.GetSemanticModel(tree); 3618var model = comp.GetSemanticModel(tree); 3669var model = comp.GetSemanticModel(tree); 3708var model = comp.GetSemanticModel(tree); 4113var model = comp.GetSemanticModel(syntaxTree); 4915var model = comp.GetSemanticModel(syntaxTree); 7413var model = comp.GetSemanticModel(tree); 7515var model = comp.GetSemanticModel(tree); 7571var model = allInCoreLib.GetSemanticModel(tree); 7591model = comp1.GetSemanticModel(tree); 7640var model = allInCoreLib.GetSemanticModel(tree); 7660model = comp1.GetSemanticModel(tree); 7727var model = comp1.GetSemanticModel(tree); 7745model = comp2.GetSemanticModel(tree); 10802var 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)
5407var model = result.Compilation.GetSemanticModel(tree); 5695var model = compilation.GetSemanticModel(tree); 5733var model = compilation.GetSemanticModel(tree);
CodeGen\CodeGenRefLocalTests.cs (3)
4031var model = comp.GetSemanticModel(tree); 4068var model = comp.GetSemanticModel(tree); 4102var model = comp.GetSemanticModel(tree);
CodeGen\CodeGenTupleEqualityTests.cs (36)
359var model = comp.Compilation.GetSemanticModel(tree); 680var model = comp.Compilation.GetSemanticModel(tree); 711var model = comp.Compilation.GetSemanticModel(tree); 768var model = comp.GetSemanticModel(tree); 790var model = comp.GetSemanticModel(tree); 852var model = comp.GetSemanticModel(tree); 900var model = comp.GetSemanticModel(tree); 949var model = comp.GetSemanticModel(tree); 999var model = comp.GetSemanticModel(tree); 1053var model = comp.GetSemanticModel(tree); 1087var model = comp.GetSemanticModel(tree); 1119var model = comp.GetSemanticModel(tree); 1150var model = comp.GetSemanticModel(tree); 1210var model = comp.GetSemanticModel(tree); 1310var model = comp.GetSemanticModel(tree); 1396var model = comp.GetSemanticModel(tree); 1461var model = comp.GetSemanticModel(tree); 1494var model = comp.GetSemanticModel(tree); 1555var model = comp.GetSemanticModel(tree); 1592var model = comp.GetSemanticModel(tree); 1617var model = comp.GetSemanticModel(tree); 1672var model = comp.GetSemanticModel(tree); 1774var model = comp.GetSemanticModel(tree); 1916var model = comp.GetSemanticModel(tree); 2571var model = comp.GetSemanticModel(tree); 2639var model = comp.GetSemanticModel(tree); 3276var model = comp.GetSemanticModel(tree); 3682var model = comp.GetSemanticModel(tree); 3806var model = comp.GetSemanticModel(tree); 3909var model = comp.GetSemanticModel(tree); 4034var model = comp.GetSemanticModel(tree); 4081var model = comp.GetSemanticModel(tree); 4182var model = comp.GetSemanticModel(tree); 4275var model = comp.GetSemanticModel(tree); 5120var model = comp.GetSemanticModel(tree); 5156var model = comp.GetSemanticModel(tree);
CodeGen\CodeGenTupleTest.cs (65)
3217var model = compilation.GetSemanticModel(tree); 3250var model = compilation.GetSemanticModel(tree); 3463var model = compilation.GetSemanticModel(tree); 3634var model = compilation.GetSemanticModel(tree); 3685var model = compilation.GetSemanticModel(tree); 3931var model = compilation.GetSemanticModel(tree); 3988var model = compilation.GetSemanticModel(tree); 4021var model = compilation.GetSemanticModel(tree); 4153var model = compilation.GetSemanticModel(tree); 4838var model = comp.GetSemanticModel(tree); 5074var model = comp.GetSemanticModel(tree); 5118var model = comp.GetSemanticModel(tree); 5159var model = comp.GetSemanticModel(tree); 5203var model = comp.GetSemanticModel(tree); 7496var model = comp.GetSemanticModel(tree); 7529var model = comp.GetSemanticModel(tree); 7566var model = comp.GetSemanticModel(tree); 7629var model = comp.GetSemanticModel(tree); 9853var model = comp.GetSemanticModel(tree); 9904var model = comp.GetSemanticModel(tree); 9946var model = comp.GetSemanticModel(tree); 9992var model = comp.GetSemanticModel(tree); 10058var model = comp.GetSemanticModel(tree); 10097var model = comp.GetSemanticModel(tree); 10131var model = comp.GetSemanticModel(tree); 12691var model = c.GetSemanticModel(tree); 13972var model = c.GetSemanticModel(tree); 14243var model = c.GetSemanticModel(tree); 14431var model = comp.GetSemanticModel(tree); 19061var model = comp.GetSemanticModel(tree); 19100var model = comp.GetSemanticModel(tree); 19139var model = comp.GetSemanticModel(tree); 19178var model = comp.GetSemanticModel(tree); 19228var model = comp.GetSemanticModel(tree); 19290var model = comp.GetSemanticModel(tree); 19393var model = comp.GetSemanticModel(tree); 19424var model = comp.GetSemanticModel(tree); 19478var model = comp.GetSemanticModel(tree); 19536var model = comp.GetSemanticModel(tree); 19659var model = comp.GetSemanticModel(tree); 19703var model = comp.GetSemanticModel(tree); 19734var model = comp.GetSemanticModel(tree); 20356var model = comp.GetSemanticModel(tree); 21349var model = comp.GetSemanticModel(tree); 22854var model = compilation.GetSemanticModel(tree); 24179var model = compilation.GetSemanticModel(tree); 24258var model = comp.GetSemanticModel(tree); 24321var model = comp.GetSemanticModel(tree); 24385var model = comp.GetSemanticModel(tree); 24458var model = comp.GetSemanticModel(tree); 24531var model = comp.GetSemanticModel(tree); 24605var model = comp.GetSemanticModel(tree); 25023var model = comp.GetSemanticModel(tree); 25051var model = comp.GetSemanticModel(tree); 25082var model = comp.GetSemanticModel(tree); 25702var model = comp.GetSemanticModel(tree); 25773var model = comp.GetSemanticModel(tree); 25838var model = comp.GetSemanticModel(tree); 25880var model = comp.GetSemanticModel(tree); 25910var model = comp.GetSemanticModel(tree); 26222var model = comp.GetSemanticModel(tree); 26294var model = comp.GetSemanticModel(tree); 26327var model = comp.GetSemanticModel(tree); 26360var model = comp.GetSemanticModel(tree); 26393var model = comp.GetSemanticModel(tree);
CodeGen\ForeachTest.cs (1)
1686var model = comp.GetSemanticModel(tree);
CodeGen\IndexAndRangeTests.cs (1)
32var model = comp.GetSemanticModel(syntaxTree);
CodeGen\ObjectAndCollectionInitializerTests.cs (2)
1106var model = comp.GetSemanticModel(tree); 3588var model = comp.GetSemanticModel(tree);
CodeGen\PatternTests.cs (3)
5002var model = compilation.GetSemanticModel(tree); 5128var model = compilation.GetSemanticModel(tree); 5277var model = compilation.GetSemanticModel(tree);
Emit\EntryPointTests.cs (1)
1597var model = compilation.GetSemanticModel(compilation.SyntaxTrees[0]);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (28)
CodeGen\IndexAndRangeTests.cs (18)
90var model = comp.GetSemanticModel(tree); 331var model = comp.GetSemanticModel(tree); 418var model = comp.GetSemanticModel(tree); 505var model = comp.GetSemanticModel(tree); 623var model = comp.GetSemanticModel(tree); 1572var model = comp.GetSemanticModel(tree); 1807var model = comp.GetSemanticModel(tree); 2262var model = comp.GetSemanticModel(tree); 2677var model = comp.GetSemanticModel(tree); 2840var model = comp.GetSemanticModel(tree); 3018var model = comp.GetSemanticModel(tree); 3132var model = comp.GetSemanticModel(tree); 3303var model = comp.GetSemanticModel(tree); 3454var model = comp.GetSemanticModel(tree); 3640var model = comp.GetSemanticModel(tree); 3730var model = comp.GetSemanticModel(tree); 3816var model = comp.GetSemanticModel(tree); 3889var model = comp.GetSemanticModel(tree);
Emit\NumericIntPtrTests.cs (10)
698var model = comp.GetSemanticModel(tree); 1916var model = comp.GetSemanticModel(tree); 1968var model = comp.GetSemanticModel(tree); 6008var model = comp.GetSemanticModel(tree); 6244var model = comp.GetSemanticModel(tree); 6617var model = comp.GetSemanticModel(tree); 6851var model = comp.GetSemanticModel(tree); 8125var model = comp.GetSemanticModel(tree); 10546var model = comp.GetSemanticModel(tree); 10685var model = comp.GetSemanticModel(tree);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1117)
Attributes\AttributeTests.cs (10)
709var semanticModel = comp.GetSemanticModel(tree); 750var semanticModel = comp.GetSemanticModel(tree); 815var semanticModel = comp.GetSemanticModel(tree); 856var semanticModel = comp.GetSemanticModel(tree); 897var semanticModel = comp.GetSemanticModel(tree); 936var semanticModel = comp.GetSemanticModel(tree); 5715var model = cm.GetSemanticModel(cm.SyntaxTrees[0]); 7535var semanticModel = compilation.GetSemanticModel(tree); 7576var semanticModel = compilation.GetSemanticModel(tree); 11635var model = comp.GetSemanticModel(tree);
Attributes\AttributeTests_WellKnownAttributes.cs (7)
5766var model = compilation.GetSemanticModel(tree); 9548var model = comp.GetSemanticModel(tree); 9597var model = comp.GetSemanticModel(tree); 9653var model = comp2.GetSemanticModel(tree); 11397var model = comp.GetSemanticModel(tree); 11422var model = comp.GetSemanticModel(tree); 11453var model = comp.GetSemanticModel(tree);
Diagnostics\DiagnosticAnalyzerTests.cs (8)
3346var semanticModel1 = compilation.GetSemanticModel(tree1); 3603var model = compilation.GetSemanticModel(tree); 3683var semanticModel1 = compilation.GetSemanticModel(tree1); 3750var semanticModel = compilation.GetSemanticModel(tree); 3811var semanticModel = compilation.GetSemanticModel(tree); 4044var model = compilation.GetSemanticModel(tree); 4311var semanticModel = compilation.GetSemanticModel(tree); 4436var model = compilation.GetSemanticModel(tree);
Diagnostics\DiagnosticSuppressorTests.cs (1)
717var semanticModel = compilation.GetSemanticModel(tree);
Diagnostics\GetDiagnosticsTests.cs (12)
44var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 79var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 94var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 172var model = compilation.GetSemanticModel(tree1); 221var model = compilation.GetSemanticModel(tree1); 273var model = compilation.GetSemanticModel(tree1); 323var model = compilation.GetSemanticModel(tree); 488compilation.GetSemanticModel(tree1).GetDeclarationDiagnostics().Verify(); 491compilation.GetSemanticModel(tree2).GetDeclarationDiagnostics().Verify(); 779var semanticModel = compilation.GetSemanticModel(syntaxTree); 1058var semanticModel = compilation.GetSemanticModel(syntaxTree); 1516var model1 = compilation.GetSemanticModel(tree1);
FieldKeywordTests.cs (3)
1274var model = comp.GetSemanticModel(tree); 1332var model = comp.GetSemanticModel(tree); 9473var model = comp.GetSemanticModel(tree);
FirstClassSpanTests.cs (3)
2729var model = comp.GetSemanticModel(tree); 2762var model = comp.GetSemanticModel(tree); 4907var model = comp.GetSemanticModel(tree);
FlowAnalysis\FlowTestBase.cs (4)
121var model = comp.GetSemanticModel(tree); 142var model = comp.GetSemanticModel(tree); 174var model = comp.GetSemanticModel(tree); 195var 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 (18)
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); 14120var model = comp.GetSemanticModel(tree); 14143var model = comp.GetSemanticModel(tree);
OverloadResolutionPriorityTests.cs (8)
442var model = comp.GetSemanticModel(tree); 698var model = comp3.GetSemanticModel(tree); 758var model = comp3.GetSemanticModel(tree); 806var model = comp3.GetSemanticModel(tree); 977var model = comp.GetSemanticModel(tree); 2219var model = comp.GetSemanticModel(tree); 2317var model = comp.GetSemanticModel(tree); 2489var model = comp.GetSemanticModel(tree);
RefReadonlyParameterTests.cs (3)
1524var model = comp.GetSemanticModel(tree); 7101var model = comp.GetSemanticModel(tree); 7129var model = comp.GetSemanticModel(tree);
RefStructInterfacesTests.cs (54)
7574var model = comp.GetSemanticModel(tree); 7764var model = comp.GetSemanticModel(tree); 7983var model = comp.GetSemanticModel(tree); 8174var model = comp.GetSemanticModel(tree); 8367var model = comp.GetSemanticModel(tree); 8442var model = comp.GetSemanticModel(tree); 8646var model = comp.GetSemanticModel(tree); 9017var model = comp.GetSemanticModel(tree); 9221var model = comp.GetSemanticModel(tree); 9385var model = comp.GetSemanticModel(tree); 9585var model = comp.GetSemanticModel(tree); 9809var model = comp.GetSemanticModel(tree); 10018var model = comp.GetSemanticModel(tree); 10245var model = comp.GetSemanticModel(tree); 10348var model = comp.GetSemanticModel(tree); 10443var model = comp.GetSemanticModel(tree); 10628var model = comp.GetSemanticModel(tree); 10825var model = comp.GetSemanticModel(tree); 11065var model = comp.GetSemanticModel(tree); 11293var model = comp.GetSemanticModel(tree); 11505var model = comp.GetSemanticModel(tree); 11605var model = comp.GetSemanticModel(tree); 11700var model = comp.GetSemanticModel(tree); 14257var model = comp.GetSemanticModel(tree); 14598var model = comp.GetSemanticModel(tree); 14964var model = comp.GetSemanticModel(tree); 15308var model = comp.GetSemanticModel(tree); 15656var model = comp.GetSemanticModel(tree); 15733var model = comp.GetSemanticModel(tree); 16094var model = comp.GetSemanticModel(tree); 16759var model = comp.GetSemanticModel(tree); 16824var model = comp.GetSemanticModel(tree); 16889var model = comp.GetSemanticModel(tree); 16973var model = comp.GetSemanticModel(tree); 17061var model = comp.GetSemanticModel(tree); 17154var model = comp.GetSemanticModel(tree); 17251var model = comp.GetSemanticModel(tree); 17335var model = comp.GetSemanticModel(tree); 17761var model = comp.GetSemanticModel(tree); 17958var model = comp.GetSemanticModel(tree); 18181var model = comp.GetSemanticModel(tree); 18378var model = comp.GetSemanticModel(tree); 18579var model = comp.GetSemanticModel(tree); 18653var model = comp.GetSemanticModel(tree); 18863var model = comp.GetSemanticModel(tree); 19198var model = comp.GetSemanticModel(tree); 19369var model = comp.GetSemanticModel(tree); 19526var model = comp.GetSemanticModel(tree); 19694var model = comp.GetSemanticModel(tree); 19862var model = comp.GetSemanticModel(tree); 19967var model = comp.GetSemanticModel(tree); 21236var model = comp2.GetSemanticModel(tree); 21304var model = comp.GetSemanticModel(tree); 21706var model = comp.GetSemanticModel(tree);
Semantics\CollectionExpressionTests.cs (41)
200var model = comp.GetSemanticModel(tree); 235var model = comp.GetSemanticModel(tree); 4812var model = comp.GetSemanticModel(tree); 14299var model = comp.GetSemanticModel(tree); 14375var model = comp.GetSemanticModel(tree); 14448var model = comp.GetSemanticModel(tree); 14510var model = comp.GetSemanticModel(tree); 14634var model = comp.GetSemanticModel(tree); 14717var model = comp.GetSemanticModel(tree); 14806var model = comp.GetSemanticModel(tree); 15145var model = comp.GetSemanticModel(tree); 28692var model = comp.GetSemanticModel(tree); 28736var model = comp.GetSemanticModel(tree); 28782var model = comp.GetSemanticModel(tree); 28826var model = comp.GetSemanticModel(tree); 28869var model = comp.GetSemanticModel(tree); 28912var model = comp.GetSemanticModel(tree); 28951var model = comp.GetSemanticModel(tree); 28984var model = comp.GetSemanticModel(tree); 29018var model = comp.GetSemanticModel(tree); 29071var model = comp.GetSemanticModel(tree); 29137var model = comp.GetSemanticModel(tree); 29198var model = comp.GetSemanticModel(tree); 29274var model = comp.GetSemanticModel(tree); 29317var model = comp.GetSemanticModel(tree); 29364var model = comp.GetSemanticModel(tree); 31563var model = comp.GetSemanticModel(tree); 31611var model = comp.GetSemanticModel(tree); 31669var model = comp.GetSemanticModel(tree); 31767var model = comp.GetSemanticModel(tree); 32383var model = comp.GetSemanticModel(tree); 32419var model = comp.GetSemanticModel(tree); 32450var model = comp.GetSemanticModel(tree); 32478var model = comp.GetSemanticModel(tree); 32520var model = comp.GetSemanticModel(tree); 32565var model = comp.GetSemanticModel(tree); 32628var model = comp.GetSemanticModel(tree); 32724var model = comp.GetSemanticModel(tree); 33119var model = comp.GetSemanticModel(tree); 33547var model = compilation.GetSemanticModel(tree); 33588var model = compilation.GetSemanticModel(tree);
Semantics\InlineArrayTests.cs (16)
2357var model = comp.GetSemanticModel(tree); 2392var model = comp.GetSemanticModel(tree); 2426var model = comp.GetSemanticModel(tree); 2506var model = comp.GetSemanticModel(tree); 6031var model = comp.GetSemanticModel(tree); 6197var model = comp.GetSemanticModel(tree); 8116var model = comp.GetSemanticModel(tree); 8833var model = comp.GetSemanticModel(tree); 9201var model = comp.GetSemanticModel(tree); 10545var model = comp.GetSemanticModel(tree); 11289var model = comp.GetSemanticModel(tree); 15206var model = comp.GetSemanticModel(tree); 16493var model = comp.GetSemanticModel(tree); 18581var model = comp.GetSemanticModel(tree); 18907var model = comp.GetSemanticModel(tree); 19244var 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); 19590var model = compilation.GetSemanticModel(tree); 19659var model = compilation.GetSemanticModel(tree); 19689Assert.True(compilation.GetSemanticModel(tree).GetTypeInfo(x1Ref).Type.TypeKind == TypeKind.Error); 19691var model = compilation.GetSemanticModel(tree); 19692VerifyModelForOutVarWithoutDataFlow(compilation.GetSemanticModel(tree), x1Decl, x1Ref); 19732Assert.True(compilation.GetSemanticModel(tree).GetTypeInfo(x1Ref).Type.TypeKind == TypeKind.Error); 19734var model = compilation.GetSemanticModel(tree); 19735VerifyModelForOutVarWithoutDataFlow(compilation.GetSemanticModel(tree), x1Decl, x1Ref); 19768var model = compilation.GetSemanticModel(tree); 19841var model = compilation.GetSemanticModel(tree); 19874var model = compilation.GetSemanticModel(tree); 19907var model = compilation.GetSemanticModel(tree); 19942var model = compilation.GetSemanticModel(tree); 19977var model = compilation.GetSemanticModel(tree); 20015var model = compilation.GetSemanticModel(tree); 20047var model = compilation.GetSemanticModel(tree); 20221var model = compilation.GetSemanticModel(tree); 20226VerifyModelForOutVar(compilation.GetSemanticModel(tree), x1Decl, x1Ref); 20249var model = compilation.GetSemanticModel(tree); 20357var model = compilation.GetSemanticModel(tree); 20363Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(x1Ref[0]).Type.ToTestDisplayString()); 20369Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(x2Ref[0]).Type.ToTestDisplayString()); 20375Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(x3Ref[0]).Type.ToTestDisplayString()); 20381Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(x4Ref[0]).Type.ToTestDisplayString()); 20614var model = compilation.GetSemanticModel(tree); 20617Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(x1Ref).Type.ToTestDisplayString()); 20657var model = compilation.GetSemanticModel(tree); 20662Assert.True(compilation.GetSemanticModel(tree).GetTypeInfo(x4Ref).Type.TypeKind == TypeKind.Error); 20774var model = compilation.GetSemanticModel(tree); 20788VerifyModelForOutVarWithoutDataFlow(compilation.GetSemanticModel(tree), x1Decl, x1Ref); 20827var model = compilation.GetSemanticModel(tree); 20918var model = compilation.GetSemanticModel(tree); 21034var model = compilation.GetSemanticModel(tree); 21129var model = compilation.GetSemanticModel(tree); 21233var model = compilation.GetSemanticModel(tree); 21290var model = compilation.GetSemanticModel(tree); 21358var model = compilation.GetSemanticModel(tree); 21408var model = compilation.GetSemanticModel(tree); 21416model = compilation.GetSemanticModel(tree); 21609var model = compilation.GetSemanticModel(tree); 21768var model = compilation.GetSemanticModel(tree); 21964var model = compilation.GetSemanticModel(tree); 22091var model = compilation.GetSemanticModel(tree); 22189var model = compilation.GetSemanticModel(tree); 22377var model = compilation.GetSemanticModel(tree); 22532var model = compilation.GetSemanticModel(tree); 22611var model = compilation.GetSemanticModel(tree); 22734var model = compilation.GetSemanticModel(tree); 22816var model = compilation.GetSemanticModel(tree); 22900var model = compilation.GetSemanticModel(tree); 22967var model = compilation.GetSemanticModel(tree); 23006var model = compilation.GetSemanticModel(tree); 23162var model = compilation.GetSemanticModel(tree); 23256var model = compilation.GetSemanticModel(tree); 23346var model = compilation.GetSemanticModel(tree); 23394var model = compilation.GetSemanticModel(tree); 23427var model = compilation.GetSemanticModel(tree); 23478var model = compilation.GetSemanticModel(tree); 23622var model = compilation.GetSemanticModel(tree); 23720var model = compilation.GetSemanticModel(tree); 23818var model = compilation.GetSemanticModel(tree); 23960var model = compilation.GetSemanticModel(tree); 24064var model = compilation.GetSemanticModel(tree); 24159var model = compilation.GetSemanticModel(tree); 24247var model = compilation.GetSemanticModel(tree); 24353var model = compilation.GetSemanticModel(tree); 24446var model = compilation.GetSemanticModel(tree); 24477var model = compilation.GetSemanticModel(tree); 24679var model = compilation.GetSemanticModel(tree); 24938var model = compilation.GetSemanticModel(tree); 25129var model = compilation.GetSemanticModel(tree); 25242var model = compilation.GetSemanticModel(tree); 25341var model = compilation.GetSemanticModel(tree); 25520var model = compilation.GetSemanticModel(tree); 25564var model = compilation.GetSemanticModel(tree); 25645var model = compilation.GetSemanticModel(tree); 25689var model = compilation.GetSemanticModel(tree); 25744var model = compilation.GetSemanticModel(tree); 25825var model = compilation.GetSemanticModel(tree); 25885var model = compilation.GetSemanticModel(tree); 25982var model = compilation.GetSemanticModel(tree); 26039var model = compilation.GetSemanticModel(tree); 26106var model = compilation.GetSemanticModel(tree); 26154var model = compilation.GetSemanticModel(tree); 26235var model = compilation.GetSemanticModel(tree); 26282var model = compilation.GetSemanticModel(tree); 26377var model = compilation.GetSemanticModel(tree); 26383Assert.Equal("System.Int32", ((IFieldSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(x1Decl.VariableDesignation())).Type.ToTestDisplayString()); 26425var model = compilation.GetSemanticModel(tree); 26509var model = compilation.GetSemanticModel(tree); 26569var model = compilation.GetSemanticModel(tree); 26653var model = compilation.GetSemanticModel(tree); 26713var model = compilation.GetSemanticModel(tree); 26774var model = compilation.GetSemanticModel(tree); 26844var model = compilation.GetSemanticModel(tree); 26888var model = compilation.GetSemanticModel(tree); 26974var model = compilation.GetSemanticModel(tree); 26980Assert.Equal("System.Int32", ((IFieldSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(x1Decl.VariableDesignation())).Type.ToTestDisplayString()); 27019var model = compilation.GetSemanticModel(tree); 27111var model = compilation.GetSemanticModel(tree); 27165var model = compilation.GetSemanticModel(tree); 27264var model = compilation.GetSemanticModel(tree); 27318var model = compilation.GetSemanticModel(tree); 27387var model = compilation.GetSemanticModel(tree); 27464var model = compilation.GetSemanticModel(tree); 27537var model = compilation.GetSemanticModel(tree); 27641var model = compilation.GetSemanticModel(tree); 27714var model = compilation.GetSemanticModel(tree); 27777var model = compilation.GetSemanticModel(tree); 27854var model = compilation.GetSemanticModel(tree); 27927var model = compilation.GetSemanticModel(tree); 28032var model = compilation.GetSemanticModel(tree); 28105var model = compilation.GetSemanticModel(tree); 28178var model = compilation.GetSemanticModel(tree); 28253var model = compilation.GetSemanticModel(tree); 28307var model = compilation.GetSemanticModel(tree); 28404var model = compilation.GetSemanticModel(tree); 28458var model = compilation.GetSemanticModel(tree); 28525var model = compilation.GetSemanticModel(tree); 28573var model = compilation.GetSemanticModel(tree); 28657var model = compilation.GetSemanticModel(tree); 28718var model = compilation.GetSemanticModel(tree); 28825var model = compilation.GetSemanticModel(tree); 28881var model = compilation.GetSemanticModel(tree); 28976var model = compilation.GetSemanticModel(tree); 29032var model = compilation.GetSemanticModel(tree); 29097var model = compilation.GetSemanticModel(tree); 29183var model = compilation.GetSemanticModel(tree); 29250var model = compilation.GetSemanticModel(tree); 29359var model = compilation.GetSemanticModel(tree); 29426var model = compilation.GetSemanticModel(tree); 29499var model = compilation.GetSemanticModel(tree); 29548var model = compilation.GetSemanticModel(tree); 29646var model = compilation.GetSemanticModel(tree); 29722var model = compilation.GetSemanticModel(tree); 29847var model = compilation.GetSemanticModel(tree); 29923var model = compilation.GetSemanticModel(tree); 30001var model = compilation.GetSemanticModel(tree); 30087var model = compilation.GetSemanticModel(tree); 30148var model = compilation.GetSemanticModel(tree); 30259var model = compilation.GetSemanticModel(tree); 30320var model = compilation.GetSemanticModel(tree); 30384var model = compilation.GetSemanticModel(tree); 30439var model = compilation.GetSemanticModel(tree); 30483var model = compilation.GetSemanticModel(tree); 30527var model = compilation.GetSemanticModel(tree); 30568var model = compilation.GetSemanticModel(tree); 30648var model = compilation.GetSemanticModel(tree); 30717var model = compilation.GetSemanticModel(tree); 30819var model = compilation.GetSemanticModel(tree); 30888var model = compilation.GetSemanticModel(tree); 30952var model = compilation.GetSemanticModel(tree); 31007var model = compilation.GetSemanticModel(tree); 31051var model = compilation.GetSemanticModel(tree); 31095var model = compilation.GetSemanticModel(tree); 31179var model = compilation.GetSemanticModel(tree); 31238var model = compilation.GetSemanticModel(tree); 31352var model = compilation.GetSemanticModel(tree); 31411var model = compilation.GetSemanticModel(tree); 31480var model = compilation.GetSemanticModel(tree); 31535var model = compilation.GetSemanticModel(tree); 31579var model = compilation.GetSemanticModel(tree); 31623var model = compilation.GetSemanticModel(tree); 31664var model = compilation.GetSemanticModel(tree); 31718var model = compilation.GetSemanticModel(tree); 31752var model = compilation.GetSemanticModel(tree); 31805var model = compilation.GetSemanticModel(tree); 31845var model = compilation.GetSemanticModel(tree); 31895var model = compilation.GetSemanticModel(tree); 31929var model = compilation.GetSemanticModel(tree); 31985var model = compilation.GetSemanticModel(tree); 32025var model = compilation.GetSemanticModel(tree); 32070var model = compilation.GetSemanticModel(tree); 32114var model = compilation.GetSemanticModel(tree); 32148var model = compilation.GetSemanticModel(tree); 32182var model = compilation.GetSemanticModel(tree); 32222var model = compilation.GetSemanticModel(tree); 32262var model = compilation.GetSemanticModel(tree); 32280model = compilation.GetSemanticModel(tree); 32317var model = compilation.GetSemanticModel(tree); 32333model = compilation.GetSemanticModel(tree); 32386var model = compilation.GetSemanticModel(tree); 32433var model = compilation.GetSemanticModel(tree); 32472var model = compilation.GetSemanticModel(tree); 32499var model = compilation.GetSemanticModel(tree); 32527var model = compilation.GetSemanticModel(tree); 32555var model = compilation.GetSemanticModel(tree); 32581var model = compilation.GetSemanticModel(tree); 32619var model = compilation.GetSemanticModel(tree); 32655var model = compilation.GetSemanticModel(tree); 32899var model = compilation.GetSemanticModel(tree); 32928var model = comp.Compilation.GetSemanticModel(tree); 33013var model = comp.GetSemanticModel(tree); 33082var model = comp.GetSemanticModel(tree); 33127var model = comp.GetSemanticModel(tree); 33191var model = comp.GetSemanticModel(tree); 33457var model = comp.GetSemanticModel(tree); 33498var model = comp.GetSemanticModel(tree); 33561var model = compilation.GetSemanticModel(tree); 33644var model = compilation.GetSemanticModel(tree); 33732var model = compilation.GetSemanticModel(tree); 33830var model = compilation.GetSemanticModel(tree); 33929var model = compilation.GetSemanticModel(tree); 34027var model = compilation.GetSemanticModel(tree); 34100var model = compilation.GetSemanticModel(tree); 34156var model = compilation.GetSemanticModel(tree); 34222var model = compilation.GetSemanticModel(tree); 34349var model = compilation.GetSemanticModel(tree); 34440var model = compilation.GetSemanticModel(tree); 34547var model = compilation.GetSemanticModel(tree); 34668var model = compilation.GetSemanticModel(tree); 34708var model = compilation.GetSemanticModel(tree); 34784var model = compilation.GetSemanticModel(tree); 34839var model = compilation.GetSemanticModel(tree); 34893var model = compilation.GetSemanticModel(tree); 34951var model = compilation.GetSemanticModel(tree); 35001var model = compilation.GetSemanticModel(tree); 35055var model = compilation.GetSemanticModel(tree); 35095var model = compilation.GetSemanticModel(tree); 35129var model = compilation.GetSemanticModel(tree); 35168var model = compilation.GetSemanticModel(tree); 35212var model = compilation.GetSemanticModel(tree); 35243var model = compilation.GetSemanticModel(tree); 35282var model = compilation.GetSemanticModel(tree); 35314var model = compilation.GetSemanticModel(tree); 35350var model = compilation.GetSemanticModel(tree); 35389var model = compilation.GetSemanticModel(tree); 35419var model = compilation.GetSemanticModel(tree); 35456var model = compilation.GetSemanticModel(tree); 35508var model = compilation.GetSemanticModel(tree); 35513Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(xRef[0]).Type.ToTestDisplayString()); 35613var model = comp.GetSemanticModel(tree); 35648var model = comp.GetSemanticModel(tree); 35727var model = compilation.GetSemanticModel(tree); 35769var model = compilation.GetSemanticModel(tree); 35798var model = compilation.GetSemanticModel(tree); 35844var model = compilation.GetSemanticModel(tree); 35932var model = compilation.GetSemanticModel(tree); 36072var model = compilation.GetSemanticModel(tree); 36180var model = compilation.GetSemanticModel(tree); 36273var model = compilation.GetSemanticModel(tree); 36312var model = comp.GetSemanticModel(tree); 36358var model = comp.GetSemanticModel(tree); 36398var model = comp.GetSemanticModel(tree); 36440var model = comp.GetSemanticModel(tree); 36475var model = comp.GetSemanticModel(tree); 36513var model = comp.GetSemanticModel(tree);
Semantics\ParamsCollectionTests.cs (16)
172var model = comp.GetSemanticModel(tree); 221var model = comp.GetSemanticModel(tree); 337var model = comp.GetSemanticModel(tree); 520var model = comp.GetSemanticModel(tree); 665var model = comp.GetSemanticModel(tree); 1409var model = comp.GetSemanticModel(tree); 2533var model = comp.GetSemanticModel(tree); 2669var model = comp.GetSemanticModel(tree); 2755var model = comp.GetSemanticModel(tree); 2789model = comp.GetSemanticModel(tree); 2953var model = comp.GetSemanticModel(tree); 2984model = comp.GetSemanticModel(tree); 4338var model = comp2.GetSemanticModel(tree); 5892var model = comp.GetSemanticModel(tree); 5974var model = comp.GetSemanticModel(tree); 9071var model = comp.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); 4828var model = compilation.GetSemanticModel(tree); 11364var model = comp.GetSemanticModel(tree); 11388var model = comp.GetSemanticModel(tree); 11409var model = comp.GetSemanticModel(tree); 11466var 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)
3644var model = compilation.GetSemanticModel(tree); 3689var model = compilation.GetSemanticModel(tree); 3719var model = compilation.GetSemanticModel(tree); 4414var 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)
722var model = compilation.GetSemanticModel(tree); 729var model = compilation.GetSemanticModel(tree); 2019var model = (CSharpSemanticModel)compilation.GetSemanticModel(tree); 2060var model = (CSharpSemanticModel)compilation.GetSemanticModel(tree); 2158var model = compilation.GetSemanticModel(tree); 2250var model = compilation.GetSemanticModel(tree); 2294var model = compilation.GetSemanticModel(tree); 2340var model = compilation.GetSemanticModel(tree); 2870var 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 (13)
1009var model = compilation.GetSemanticModel(tree); 4018var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4087var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4160var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4232var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4276var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4323var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4405var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4487var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4569var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4651var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4735var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4827var model = 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)
1514var model = compilation.GetSemanticModel(tree); 1897var model = compilation.GetSemanticModel(tree); 1932var model = compilation.GetSemanticModel(tree); 3251var model = compilation.GetSemanticModel(tree); 3282var model = compilation.GetSemanticModel(tree);
Semantics\PrimaryConstructorTests.cs (42)
1070var model = comp.GetSemanticModel(tree); 1096model = comp.GetSemanticModel(tree); 1098model = comp.GetSemanticModel(tree); 1100model = comp.GetSemanticModel(tree); 1103model = comp.GetSemanticModel(tree); 1105model = comp.GetSemanticModel(tree); 1107model = comp.GetSemanticModel(tree); 1292var model = comp.GetSemanticModel(tree); 1363var model = comp.GetSemanticModel(tree); 1409var model = comp.GetSemanticModel(tree); 1465var model = comp.GetSemanticModel(tree); 1524var model = comp.GetSemanticModel(tree); 1613var model = comp.GetSemanticModel(tree); 1812var model = comp.GetSemanticModel(tree); 1852var model = comp.GetSemanticModel(tree); 1895var model = comp.GetSemanticModel(tree); 1965var model = comp.GetSemanticModel(tree); 2112var model = comp.GetSemanticModel(tree); 2139model = comp.GetSemanticModel(tree); 2144model = comp.GetSemanticModel(tree); 2149model = comp.GetSemanticModel(tree); 2155model = comp.GetSemanticModel(tree); 2157model = comp.GetSemanticModel(tree); 2159model = comp.GetSemanticModel(tree); 2294var model = comp.GetSemanticModel(tree); 2423var model = comp.GetSemanticModel(tree); 2471var model = comp.GetSemanticModel(tree); 2639var model = comp.GetSemanticModel(tree); 2677var model = comp.GetSemanticModel(tree); 2714var model = comp.GetSemanticModel(tree); 2750var model = comp.GetSemanticModel(tree); 6094var model = comp.GetSemanticModel(tree); 6831var model = comp.GetSemanticModel(tree); 6857var model = comp.GetSemanticModel(tree); 19774var model = comp.GetSemanticModel(tree); 20597var semanticModel = comp.GetSemanticModel(tree); 20630var semanticModel = comp.GetSemanticModel(tree); 20674var semanticModel = comp.GetSemanticModel(tree); 20721var semanticModel = comp.GetSemanticModel(tree); 20771var semanticModel = comp.GetSemanticModel(tree); 22194comp.GetSemanticModel(comp.SyntaxTrees[0]).GetDiagnostics().Verify( 22200comp.GetSemanticModel(comp.SyntaxTrees[1]).GetDiagnostics().Verify();
Semantics\RecordTests.cs (38)
8089var model = comp.GetSemanticModel(tree); 8602var model = comp.GetSemanticModel(tree); 8862var model = comp.GetSemanticModel(tree); 21142var model = comp.GetSemanticModel(tree); 21168model = comp.GetSemanticModel(tree); 21170model = comp.GetSemanticModel(tree); 21172model = comp.GetSemanticModel(tree); 21175model = comp.GetSemanticModel(tree); 21177model = comp.GetSemanticModel(tree); 21179model = comp.GetSemanticModel(tree); 21366var model = comp.GetSemanticModel(tree); 21437var model = comp.GetSemanticModel(tree); 21483var model = comp.GetSemanticModel(tree); 21539var model = comp.GetSemanticModel(tree); 21598var model = comp.GetSemanticModel(tree); 21687var model = comp.GetSemanticModel(tree); 21886var model = comp.GetSemanticModel(tree); 21923var model = comp.GetSemanticModel(tree); 21963var model = comp.GetSemanticModel(tree); 21998var model = comp.GetSemanticModel(tree); 22077var model = comp.GetSemanticModel(tree); 22224var model = comp.GetSemanticModel(tree); 22251model = comp.GetSemanticModel(tree); 22256model = comp.GetSemanticModel(tree); 22261model = comp.GetSemanticModel(tree); 22267model = comp.GetSemanticModel(tree); 22269model = comp.GetSemanticModel(tree); 22271model = comp.GetSemanticModel(tree); 22406var model = comp.GetSemanticModel(tree); 22915var model = comp.GetSemanticModel(tree); 23369var model = comp.GetSemanticModel(tree); 24641var model = comp.GetSemanticModel(tree); 24676var model = comp.GetSemanticModel(tree); 24710var model = comp.GetSemanticModel(tree); 24745var model = comp.GetSemanticModel(tree); 28190var model = comp.GetSemanticModel(tree); 30370var model = comp.GetSemanticModel(tree); 30394var model = comp.GetSemanticModel(tree);
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (3)
EndToEndTests.cs (3)
490var model = comp.GetSemanticModel(tree); 610var model = comp.GetSemanticModel(tree); 866var model = comp.GetSemanticModel(tree);
Microsoft.CodeAnalysis.CSharp.Features (4)
EmbeddedLanguages\CSharpTestEmbeddedLanguageClassifier.cs (1)
120var semanticModeWithTestFile = compilationWithTestFile.GetSemanticModel(testFileTree);
InitializeParameter\CSharpInitializeMemberFromPrimaryConstructorParameterCodeRefactoringProvider.cs (1)
280var semanticModel = compilation.GetSemanticModel(group.Key);
src\Analyzers\CSharp\Analyzers\UsePrimaryConstructor\CSharpUsePrimaryConstructorDiagnosticAnalyzer.cs (1)
389var semanticModel = compilation.GetSemanticModel(primaryConstructorDeclaration.SyntaxTree);
UsePatternMatching\CSharpIsAndCastCheckWithoutNameDiagnosticAnalyzer.cs (1)
223return updatedCompilation.GetSemanticModel(updatedSyntaxTree);
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (35)
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 (6)
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); 1161var model = compilation.GetSemanticModel(tree);
IOperation\IOperationTests_IConversionExpression.cs (3)
176var typeInfo = compilation.GetSemanticModel(syntax.SyntaxTree).GetTypeInfo(initializerSyntax); 5290var model = compilation.GetSemanticModel(tree); 5380var semanticModel = compilation.GetSemanticModel(finalSyntax.SyntaxTree);
IOperation\IOperationTests_IFieldReferenceExpression.cs (1)
705var model = comp.GetSemanticModel(syntaxTree);
IOperation\IOperationTests_IFixedStatement.cs (1)
692var model = comp.GetSemanticModel(tree);
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)
1180var semanticModel = compilation.GetSemanticModel(tree);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1046)
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)
1086var model = compilation.GetSemanticModel(compilation.SyntaxTrees[0]); 1163var model = compilation.GetSemanticModel(compilation.SyntaxTrees[0]); 1211var model = compilation.GetSemanticModel(compilation.SyntaxTrees[0]); 1264var model = compilation.GetSemanticModel(compilation.SyntaxTrees[0]);
Semantics\BindingAsyncTests.cs (2)
56var model = compilation.GetSemanticModel(tree); 85var model = compilation.GetSemanticModel(tree);
Semantics\BindingTests.cs (19)
2364var model = comp.GetSemanticModel(tree); 2383var model = comp.GetSemanticModel(tree); 2720var model = compilation.GetSemanticModel(tree); 2776var model = compilation.GetSemanticModel(tree); 2831var model = compilation.GetSemanticModel(tree); 2887var model = compilation.GetSemanticModel(tree); 2924var model = comp.GetSemanticModel(tree); 2966var model = comp.GetSemanticModel(tree); 3035var model = comp.GetSemanticModel(tree); 3115var model = comp.GetSemanticModel(tree); 3188var model = comp.GetSemanticModel(tree); 3273var model = comp.GetSemanticModel(tree); 3378var model = comp.GetSemanticModel(tree); 3730var model = comp.GetSemanticModel(tree); 3911var model = comp.GetSemanticModel(tree); 3984var model = comp.GetSemanticModel(tree); 3997model = comp.GetSemanticModel(tree); 4025var model = comp.GetSemanticModel(tree); 4075model = comp.GetSemanticModel(tree);
Semantics\ColorColorTests.cs (18)
590var model = comp.GetSemanticModel(tree); 635var model = comp.GetSemanticModel(tree); 726var model = comp.GetSemanticModel(tree); 1064var model = comp.GetSemanticModel(tree); 1110var model = comp.GetSemanticModel(tree); 1156var model = comp.GetSemanticModel(tree); 1201var model = comp.GetSemanticModel(tree); 1242var model = comp.GetSemanticModel(tree); 1279var model = comp.GetSemanticModel(tree); 1842var model = comp.GetSemanticModel(tree); 1881var model1 = compilation.GetSemanticModel(tree); 1891var model2 = compilation.GetSemanticModel(tree); 1938var model1 = compilation.GetSemanticModel(tree); 1948var model2 = compilation.GetSemanticModel(tree); 1995var model1 = compilation.GetSemanticModel(tree); 2005var model2 = compilation.GetSemanticModel(tree); 2045var model1 = compilation.GetSemanticModel(tree); 2054var model2 = compilation.GetSemanticModel(tree);
Semantics\ConditionalOperatorTests.cs (4)
1295var model = comp.GetSemanticModel(tree); 1352var model = compilation.GetSemanticModel(tree); 1408var model = compilation.GetSemanticModel(tree); 1453var model = compilation.GetSemanticModel(tree);
Semantics\ConstantTests.cs (4)
2925var constantValue = comp.GetSemanticModel(tree).GetConstantValue(expr); 3520var model = comp.GetSemanticModel(tree); 4080var model = comp.GetSemanticModel(tree); 4101var model = comp.GetSemanticModel(tree);
Semantics\DeconstructionTests.cs (25)
1838var model = comp.Compilation.GetSemanticModel(tree, ignoreAccessibility: false); 3764var model = compilation.GetSemanticModel(tree); 4168var model = comp.GetSemanticModel(tree); 4236var model = comp.GetSemanticModel(tree); 4371var model = comp.GetSemanticModel(tree); 4505var model = comp.GetSemanticModel(tree); 4663var model = comp.GetSemanticModel(tree); 4721var model = comp1.GetSemanticModel(tree); 4757var model = comp.GetSemanticModel(tree); 4835var model = comp.GetSemanticModel(tree); 4940var model = comp.GetSemanticModel(tree); 4986var model = comp.GetSemanticModel(tree); 5044var model = comp.GetSemanticModel(tree); 5185var model = comp.GetSemanticModel(tree); 5329var model = comp.GetSemanticModel(tree); 5476var model = comp.GetSemanticModel(tree); 5653var model = comp.GetSemanticModel(tree); 5763var model = comp.GetSemanticModel(tree); 5876var model = comp.GetSemanticModel(tree); 5985var model = comp.GetSemanticModel(tree); 6028var model = comp.GetSemanticModel(tree); 6068var model = comp.GetSemanticModel(tree); 6110var model = comp.GetSemanticModel(tree); 6150var model = comp.GetSemanticModel(tree); 6553var model = comp.GetSemanticModel(tree);
Semantics\DelegateTypeTests.cs (58)
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); 1210var model = comp.GetSemanticModel(tree); 1246var model = comp.GetSemanticModel(tree); 1331var model = comp.GetSemanticModel(tree); 1371var model = comp.GetSemanticModel(tree); 1414var model = comp.GetSemanticModel(tree); 1458var model = comp.GetSemanticModel(tree); 1553var model = comp.GetSemanticModel(tree); 1633var model = comp.GetSemanticModel(tree); 1683var model = comp.GetSemanticModel(tree); 1733var model = comp.GetSemanticModel(tree); 1783var model = comp.GetSemanticModel(tree); 1833var model = comp.GetSemanticModel(tree); 1883var model = comp.GetSemanticModel(tree); 1933var model = comp.GetSemanticModel(tree); 1979var model = comp.GetSemanticModel(tree); 2027var model = comp.GetSemanticModel(tree); 2081var model = comp.GetSemanticModel(tree); 2146var model = comp.GetSemanticModel(tree); 2208var model = comp.GetSemanticModel(tree); 2267var model = comp.GetSemanticModel(tree); 2316var model = comp.GetSemanticModel(tree); 2355var model = comp.GetSemanticModel(tree); 2398var model = comp.GetSemanticModel(tree); 2450var model = comp.GetSemanticModel(tree); 2491var model = comp.GetSemanticModel(tree); 2539var model = comp.GetSemanticModel(tree); 2591var model = comp.GetSemanticModel(tree); 2637var model = comp.GetSemanticModel(tree); 2685var model = comp.GetSemanticModel(tree); 2732var model = comp.GetSemanticModel(tree); 2778var model = comp.GetSemanticModel(tree); 2829var model = comp.GetSemanticModel(tree); 2857var model = comp.GetSemanticModel(tree); 2888var model = comp.GetSemanticModel(tree); 2916var model = comp.GetSemanticModel(tree); 2947var model = comp.GetSemanticModel(tree); 2980var model = comp.GetSemanticModel(tree); 3011var model = comp.GetSemanticModel(tree); 3042var model = comp.GetSemanticModel(tree); 3077var model = comp.GetSemanticModel(tree); 3560var model = comp.GetSemanticModel(tree); 3602var model = comp.GetSemanticModel(tree); 8027var model = comp.GetSemanticModel(tree); 8050var model = comp.GetSemanticModel(tree); 10385var model = comp.GetSemanticModel(tree); 11083var model = comp.GetSemanticModel(tree); 11169var model = comp.GetSemanticModel(tree); 12109var model = comp.GetSemanticModel(syntaxTree); 14699var model = comp.GetSemanticModel(tree); 14746var model = comp.GetSemanticModel(tree); 19758var model = comp.GetSemanticModel(tree); 19800var model = comp.GetSemanticModel(tree);
Semantics\DynamicTests.cs (115)
3858var model = verifier.Compilation.GetSemanticModel(tree); 3891var model = verifier.Compilation.GetSemanticModel(tree); 3919var model = verifier.Compilation.GetSemanticModel(tree); 3947var model = verifier.Compilation.GetSemanticModel(tree); 3998var model = verifier.Compilation.GetSemanticModel(tree); 4977var model = comp1.GetSemanticModel(tree); 5060model = comp3.GetSemanticModel(tree); 5101var model = comp1.GetSemanticModel(tree); 5183model = comp3.GetSemanticModel(tree); 5224var model = comp1.GetSemanticModel(tree); 5307model = comp3.GetSemanticModel(tree); 5342var model = comp1.GetSemanticModel(tree); 5383var model = comp1.GetSemanticModel(tree); 5427var model = comp1.GetSemanticModel(tree); 5471var model = comp1.GetSemanticModel(tree); 5515var model = comp1.GetSemanticModel(tree); 5579var model = comp.GetSemanticModel(tree); 5617var model = comp.GetSemanticModel(tree); 5656var model = comp.GetSemanticModel(tree); 5692var model = comp.GetSemanticModel(tree); 5733var model = comp1.GetSemanticModel(tree); 5778var model = comp1.GetSemanticModel(tree); 5823var model = comp1.GetSemanticModel(tree); 5868var model = comp1.GetSemanticModel(tree); 5936var model = comp.GetSemanticModel(tree); 5975var model = comp.GetSemanticModel(tree); 6023var model = comp.GetSemanticModel(tree); 6105model = comp3.GetSemanticModel(tree); 6146var model = comp.GetSemanticModel(tree); 6228model = comp3.GetSemanticModel(tree); 6266var model = comp.GetSemanticModel(tree); 6348model = comp3.GetSemanticModel(tree); 6378var model = comp1.GetSemanticModel(tree); 6420var model = comp1.GetSemanticModel(tree); 6467var model = comp1.GetSemanticModel(tree); 6511var model = comp1.GetSemanticModel(tree); 6553var model = comp.GetSemanticModel(tree); 6607var model = comp.GetSemanticModel(tree); 6672var model = comp.GetSemanticModel(tree); 6737model = comp3.GetSemanticModel(tree); 6781var model = comp.GetSemanticModel(tree); 6846model = comp3.GetSemanticModel(tree); 6891var model = comp.GetSemanticModel(tree); 6957model = comp3.GetSemanticModel(tree); 6992var model = comp.GetSemanticModel(tree); 7060var model = comp.GetSemanticModel(tree); 7119model = comp3.GetSemanticModel(tree); 7163var model = comp.GetSemanticModel(tree); 7231model = comp3.GetSemanticModel(tree); 7276var model = comp.GetSemanticModel(tree); 7347model = comp3.GetSemanticModel(tree); 7392var model = comp.GetSemanticModel(tree); 7464model = comp3.GetSemanticModel(tree); 7505var model = comp.GetSemanticModel(tree); 7582var model = comp.GetSemanticModel(tree); 7643model = comp3.GetSemanticModel(tree); 7687var model = comp.GetSemanticModel(tree); 7749model = comp3.GetSemanticModel(tree); 7793var model = comp.GetSemanticModel(tree); 7855model = comp3.GetSemanticModel(tree); 7896var model = comp.GetSemanticModel(tree); 7968var model = comp.GetSemanticModel(tree); 8030model = comp3.GetSemanticModel(tree); 8074var model = comp.GetSemanticModel(tree); 8136model = comp3.GetSemanticModel(tree); 8179var model = comp.GetSemanticModel(tree); 8240model = comp3.GetSemanticModel(tree); 8284var model = comp.GetSemanticModel(tree); 8349model = comp3.GetSemanticModel(tree); 8393var model = comp.GetSemanticModel(tree); 8458model = comp3.GetSemanticModel(tree); 8502var model = comp.GetSemanticModel(tree); 8567model = comp3.GetSemanticModel(tree); 8612var model = comp.GetSemanticModel(tree); 8678model = comp3.GetSemanticModel(tree); 8725var model = comp.GetSemanticModel(tree); 8794var model = comp.GetSemanticModel(tree); 8862var model = comp.GetSemanticModel(tree); 8924var model = comp.GetSemanticModel(tree); 9014var model = comp.GetSemanticModel(tree); 9105var model = comp.GetSemanticModel(tree); 9195var model = comp.GetSemanticModel(tree); 9251var model = comp.GetSemanticModel(tree); 9312var model = comp.GetSemanticModel(tree); 9433var model = comp.GetSemanticModel(tree); 9553var model = comp.GetSemanticModel(tree); 9667var model = comp.GetSemanticModel(tree); 9778var model = comp.GetSemanticModel(tree); 9889var model = comp.GetSemanticModel(tree); 10010var model = comp.GetSemanticModel(tree); 10093model = comp3.GetSemanticModel(tree); 10138var model = comp.GetSemanticModel(tree); 10221model = comp3.GetSemanticModel(tree); 10266var model = comp.GetSemanticModel(tree); 10349model = comp3.GetSemanticModel(tree); 10420var model = comp.GetSemanticModel(tree); 10501model = comp3.GetSemanticModel(tree); 10554var model = comp.GetSemanticModel(tree); 10648model = comp3.GetSemanticModel(tree); 10702var model = comp.GetSemanticModel(tree); 10798model = comp3.GetSemanticModel(tree); 10972var model = comp.GetSemanticModel(tree); 11064model = comp3.GetSemanticModel(tree); 11101var model = comp.GetSemanticModel(tree); 11185var model = comp.GetSemanticModel(tree); 11263var model = comp.GetSemanticModel(tree); 11318var model = comp1.GetSemanticModel(tree); 11371var model = comp1.GetSemanticModel(tree); 11417var model = comp1.GetSemanticModel(tree); 11451var model = comp1.GetSemanticModel(tree); 11495var model = comp.GetSemanticModel(tree); 11536var model = comp1.GetSemanticModel(tree); 11585var model = comp.GetSemanticModel(tree); 11637var model = comp.GetSemanticModel(tree); 11681var model = comp1.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 (7)
2127var model = comp.GetSemanticModel(tree); 2179var model = comp.GetSemanticModel(tree); 2883var model = comp.GetSemanticModel(tree); 3261var treeModel = (SyntaxTreeSemanticModel)comp.GetSemanticModel(tree); 3325var model = comp.GetSemanticModel(tree); 3359var model = comp.GetSemanticModel(tree); 3422var model = compilation.GetSemanticModel(tree);
Semantics\FunctionPointerTests.cs (45)
199var model = comp.GetSemanticModel(tree); 291var model = comp.GetSemanticModel(tree); 349var model = comp.GetSemanticModel(tree); 400var model = comp.GetSemanticModel(tree); 452var model = comp.GetSemanticModel(tree); 500var model = comp.GetSemanticModel(tree); 598var model = comp.GetSemanticModel(tree); 837var model = comp.GetSemanticModel(tree); 880var model = comp.GetSemanticModel(tree); 940var model = comp.GetSemanticModel(tree); 976var model = comp.GetSemanticModel(tree); 1044var model = comp.GetSemanticModel(tree); 1124var model = comp.GetSemanticModel(tree); 1269var model = comp.GetSemanticModel(tree); 1364var model = comp.GetSemanticModel(tree); 1505var model = comp.GetSemanticModel(tree); 1562var model = comp.GetSemanticModel(tree); 1613var model = comp.GetSemanticModel(tree); 1661var model = comp.GetSemanticModel(tree); 1694var model = comp.GetSemanticModel(tree); 1727var model = comp.GetSemanticModel(tree); 1773var model = comp.GetSemanticModel(tree); 1821var model = comp.GetSemanticModel(tree); 1854var model = comp.GetSemanticModel(tree); 1887var model = comp.GetSemanticModel(tree); 1934var model = comp.GetSemanticModel(tree); 2053var model = comp.GetSemanticModel(tree); 2086var model = comp.GetSemanticModel(tree); 2223var model = comp.GetSemanticModel(tree); 2280var model = comp.GetSemanticModel(tree); 2353var model = comp.GetSemanticModel(tree); 2427var model = comp.GetSemanticModel(tree); 2495var model = comp.GetSemanticModel(tree); 2592var model = comp.GetSemanticModel(tree); 2665var model = comp.GetSemanticModel(tree); 3176var model = comp.GetSemanticModel(tree); 3295var model = comp.GetSemanticModel(tree); 3374var model = comp.GetSemanticModel(syntaxTree); 3431var model = comp.GetSemanticModel(syntaxTree); 3473var model = comp.GetSemanticModel(syntaxTree); 3526var model = comp.GetSemanticModel(syntaxTree); 3580var model = comp.GetSemanticModel(syntaxTree); 3675var model = comp.GetSemanticModel(syntaxTree); 3803var model = comp.GetSemanticModel(syntaxTree); 3948var 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)
65var model = comp.GetSemanticModel(tree); 91var 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)
3190var model = comp.GetSemanticModel(tree); 4141var 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\InterceptorsTests.cs (1)
163var model = comp.GetSemanticModel(source);
Semantics\InterpolationTests.cs (2)
4598var model = comp.GetSemanticModel(tree); 4824var model = comp.GetSemanticModel(tree);
Semantics\IteratorTests.cs (3)
463var model = comp.GetSemanticModel(tree); 613var model = comp.GetSemanticModel(tree); 651var model = comp.GetSemanticModel(tree);
Semantics\LambdaDiscardParametersTests.cs (1)
385var model = comp.GetSemanticModel(tree);
Semantics\LambdaTests.cs (63)
839var model = comp.GetSemanticModel(tree); 939var model = compilation.GetSemanticModel(tree); 1031var model = compilation.GetSemanticModel(tree); 1085var model = compilation.GetSemanticModel(tree); 1120var model = compilation.GetSemanticModel(tree); 1176var model = comp.GetSemanticModel(tree); 1204var model = comp.GetSemanticModel(tree); 1236var model = comp.GetSemanticModel(tree); 1517var semanticModel = compilation.GetSemanticModel(tree); 1552var semanticModel = compilation.GetSemanticModel(tree); 1586var semanticModel = compilation.GetSemanticModel(tree); 1618var semanticModel = compilation.GetSemanticModel(tree); 1977var model = compilation.GetSemanticModel(tree); 2119var sm = compilation.GetSemanticModel(tree); 2165var sm = compilation.GetSemanticModel(tree); 2211var sm = compilation.GetSemanticModel(tree); 2257var sm = compilation.GetSemanticModel(tree); 2303var sm = compilation.GetSemanticModel(tree); 2333var sm = compilation.GetSemanticModel(tree); 2360var sm = compilation.GetSemanticModel(tree); 2414var sm = compilation.GetSemanticModel(tree); 2460var sm = compilation.GetSemanticModel(tree); 2506var sm = compilation.GetSemanticModel(tree); 2539var sm = compilation.GetSemanticModel(tree); 2572var sm = compilation.GetSemanticModel(tree); 2609var sm = compilation.GetSemanticModel(tree); 2661var sm = compilation.GetSemanticModel(tree); 2999var model = comp.GetSemanticModel(tree); 3006model = comp.GetSemanticModel(tree); 3015model = comp.GetSemanticModel(tree); 3041var model = comp.GetSemanticModel(tree); 3048model = comp.GetSemanticModel(tree); 3053model = comp.GetSemanticModel(tree); 3611var model = comp.GetSemanticModel(tree); 3892var model = comp.GetSemanticModel(tree); 3936var model = comp.GetSemanticModel(tree); 3976var model = comp.GetSemanticModel(tree); 4092var model = comp.GetSemanticModel(tree); 4121var model = comp.GetSemanticModel(tree); 4156var model = comp.GetSemanticModel(tree); 4184var model = comp.GetSemanticModel(tree); 4211var model = comp.GetSemanticModel(tree); 4786var model = comp.GetSemanticModel(tree); 4871var model = comp.GetSemanticModel(tree); 4926var model = comp.GetSemanticModel(tree); 4953var model = comp.GetSemanticModel(tree); 4981var model = comp.GetSemanticModel(tree); 5027var model = comp.GetSemanticModel(tree); 5635var model = comp.GetSemanticModel(tree); 6508var model = comp.GetSemanticModel(tree); 6818var model = comp.GetSemanticModel(tree); 6847var model = comp.GetSemanticModel(tree); 6896var model = comp.GetSemanticModel(tree); 7012var model = comp.GetSemanticModel(syntaxTree); 7106var model = comp.GetSemanticModel(syntaxTree); 7635var model = comp.GetSemanticModel(tree); 8009var model = comp.GetSemanticModel(tree); 8057var model = comp.GetSemanticModel(tree); 8081var model = comp.GetSemanticModel(tree); 8117var model = comp.GetSemanticModel(tree); 8229var model = comp.GetSemanticModel(tree); 8359var model = comp.GetSemanticModel(tree); 8392var model = comp.GetSemanticModel(tree);
Semantics\LocalFunctionTests.cs (46)
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); 2586var model = comp.GetSemanticModel(tree); 4685var model = compilation.GetSemanticModel(tree); 4723var model = compilation.GetSemanticModel(tree); 4960var model = compilation.GetSemanticModel(tree); 5103var model = comp.GetSemanticModel(tree); 6359var model = comp.GetSemanticModel(tree); 6380var model = comp.GetSemanticModel(tree); 6408var model = comp.GetSemanticModel(tree); 6444var model = comp.GetSemanticModel(tree); 6488var model = comp.GetSemanticModel(tree); 6535var model = comp.GetSemanticModel(tree); 7037var model = comp.GetSemanticModel(tree); 7097var model = comp.GetSemanticModel(tree); 7346var parentModel = comp.GetSemanticModel(tree); 7431var parentModel = comp.GetSemanticModel(tree); 7496var parentModel = comp.GetSemanticModel(tree); 7520parentModel = comp.GetSemanticModel(tree); 7570var parentModel = comp.GetSemanticModel(tree); 7638var model = comp.GetSemanticModel(tree); 8683var model = comp.GetSemanticModel(tree); 8736var model = comp.GetSemanticModel(tree); 8778var model = comp.GetSemanticModel(tree); 8926var parentModel = comp.GetSemanticModel(tree); 9430var parentModel = comp.GetSemanticModel(tree); 9551var model = comp.GetSemanticModel(tree); 9748var parentModel = comp.GetSemanticModel(tree); 10171var model = comp.GetSemanticModel(tree); 10383var semanticModel = compilation.GetSemanticModel(tree); 10427var model = comp.GetSemanticModel(tree);
Semantics\LockTests.cs (7)
43var model = compilation.GetSemanticModel(tree); 487var model = compilation.GetSemanticModel(tree); 549var model = compilation.GetSemanticModel(tree); 573var model = compilation.GetSemanticModel(tree); 603var model = compilation.GetSemanticModel(tree); 627var model = compilation.GetSemanticModel(tree); 697var 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)
700var model = comp.GetSemanticModel(tree); 755var model = comp.GetSemanticModel(tree); 801var model = comp.GetSemanticModel(tree); 1045var model = comp.GetSemanticModel(tree); 1075var model = comp.GetSemanticModel(tree); 1117var model = compilation.GetSemanticModel(tree); 1158var model = compilation.GetSemanticModel(tree); 1199var model = compilation.GetSemanticModel(tree);
Semantics\NameOfTests.cs (13)
691var model = compilation.GetSemanticModel(tree); 717var model = compilation.GetSemanticModel(tree); 752var model = compilation.GetSemanticModel(tree); 799var model = compilation.GetSemanticModel(tree); 836var model = compilation.GetSemanticModel(tree); 872var model = compilation.GetSemanticModel(tree); 918var model = compilation.GetSemanticModel(tree); 951var model = compilation.GetSemanticModel(tree); 991var model = comp.GetSemanticModel(tree); 1063var model = comp.GetSemanticModel(tree); 1145var model = comp.GetSemanticModel(tree); 1226var model = comp.GetSemanticModel(tree); 1428var 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); 6060var model = comp.GetSemanticModel(tree); 6108var model = comp.GetSemanticModel(tree); 9494var model = comp.GetSemanticModel(tree); 9729var model = comp.GetSemanticModel(tree); 10103var model = comp.GetSemanticModel(tree); 10330var model = comp.GetSemanticModel(tree); 12380var model = comp.GetSemanticModel(tree);
Semantics\NonTrailingNamedArgumentsTests.cs (15)
44var model = verifier.Compilation.GetSemanticModel(tree); 366var model = comp.GetSemanticModel(tree); 392var model = verifier.Compilation.GetSemanticModel(tree); 422var model = comp.GetSemanticModel(tree); 454var model = comp.GetSemanticModel(tree); 483var model = comp.GetSemanticModel(tree); 533var model = comp.GetSemanticModel(tree); 568var model = comp.GetSemanticModel(tree); 597var model = comp.GetSemanticModel(tree); 651var model = comp.GetSemanticModel(tree); 678var model = comp.GetSemanticModel(tree); 709var model = comp.GetSemanticModel(tree); 743var model = verifier.Compilation.GetSemanticModel(tree); 775var model = verifier.Compilation.GetSemanticModel(tree); 982var 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)
1752var model = comp.GetSemanticModel(tree); 1786var model = comp.GetSemanticModel(tree); 1839var model = comp.GetSemanticModel(tree); 1866var model = comp.GetSemanticModel(tree); 1891var model = comp.GetSemanticModel(tree); 1961var model = comp.GetSemanticModel(tree); 2274var model = comp.GetSemanticModel(tree); 2313var model = comp.GetSemanticModel(tree); 2346var model = comp.GetSemanticModel(tree); 2379var model = comp.GetSemanticModel(tree); 2478var model = comp.GetSemanticModel(tree); 3333var sm = compilation.GetSemanticModel(tree); 3692var model = comp.GetSemanticModel(tree); 5170var model = comp.GetSemanticModel(syntaxTree); 10533var model = compilation.GetSemanticModel(tree); 13510var model = compilation.GetSemanticModel(tree); 34982var model = compilation.GetSemanticModel(tree); 34999var model = compilation.GetSemanticModel(tree); 59016var model = comp.GetSemanticModel(tree); 59050var model = comp.GetSemanticModel(tree); 59078var model = comp.GetSemanticModel(tree); 59110var model = comp.GetSemanticModel(tree); 59139var model = comp.GetSemanticModel(tree); 59172var model = comp.GetSemanticModel(tree); 59204var model = comp.GetSemanticModel(tree); 59237var model = comp.GetSemanticModel(tree); 59271var model = comp.GetSemanticModel(tree); 59297var model = comp.GetSemanticModel(tree); 59326var model = comp.GetSemanticModel(tree); 59355var model = comp.GetSemanticModel(tree); 62839var model = comp.GetSemanticModel(syntaxTree); 65888var model1 = comp1.GetSemanticModel(tree1); 71251var model = comp.GetSemanticModel(tree); 71287var model = comp.GetSemanticModel(tree); 71328var model = comp.GetSemanticModel(tree); 71365var model = comp.GetSemanticModel(tree); 71402var model = comp.GetSemanticModel(tree); 71437var model = comp.GetSemanticModel(tree); 71470var model = comp.GetSemanticModel(tree); 71507var model = comp.GetSemanticModel(tree); 71873var model = comp.GetSemanticModel(tree); 71920var model = comp.GetSemanticModel(tree); 71959var model = comp.GetSemanticModel(tree); 73760var model = comp.GetSemanticModel(tree); 81258var model = comp.GetSemanticModel(tree); 94280var model = comp.GetSemanticModel(syntaxTree); 97755var model = comp.GetSemanticModel(tree); 99084var model = comp.GetSemanticModel(tree); 111768var model = comp.GetSemanticModel(tree); 111822var model = comp.GetSemanticModel(tree); 113191var model = comp.GetSemanticModel(tree); 113592var model = comp.GetSemanticModel(tree); 113623var model = comp.GetSemanticModel(tree); 113801var model = comp.GetSemanticModel(tree); 114026var model = comp.GetSemanticModel(tree); 146451var model = comp.GetSemanticModel(tree); 154800var model = comp.GetSemanticModel(tree); 154868var model = comp.GetSemanticModel(tree); 160689var model = comp.GetSemanticModel(tree); 161239var model = comp.GetSemanticModel(syntaxTree); 161285var 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 (17)
3469var semanticModel = compilation.GetSemanticModel(tree); 3517var semanticModel = compilation.GetSemanticModel(tree); 3574var semanticModel = compilation.GetSemanticModel(tree); 3610var semanticModel = compilation.GetSemanticModel(tree); 3647var semanticModel = compilation.GetSemanticModel(tree); 3688var semanticModel = compilation.GetSemanticModel(tree); 3738var semanticModel = compilation.GetSemanticModel(tree); 3782var semanticModel = compilation.GetSemanticModel(tree); 3813var model = comp.GetSemanticModel(syntax); 3836var model = comp.GetSemanticModel(syntax); 3860var model = comp.GetSemanticModel(syntax); 3933var semanticModel = compilation.GetSemanticModel(tree); 4015var semanticModel = compilation.GetSemanticModel(tree); 4057var semanticModel = compilation.GetSemanticModel(tree); 4135var semanticModel = compilation.GetSemanticModel(tree); 4225var model = comp.GetSemanticModel(tree); 4279var model = comp.GetSemanticModel(tree);
Semantics\OperatorTests.cs (22)
45var semanticModel = compilation.GetSemanticModel(tree); 2983var model = compilation.GetSemanticModel(tree); 6937var model = comp.GetSemanticModel(tree); 7054var model = comp.GetSemanticModel(tree); 7209var model = comp.GetSemanticModel(tree); 7331var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 7486var semanticModel = compilation.GetSemanticModel(tree); 7702var semanticModel = compilation.GetSemanticModel(tree); 7717semanticModel = compilation.GetSemanticModel(tree); 7855var semanticModel = compilation.GetSemanticModel(tree); 8015var semanticModel = compilation.GetSemanticModel(tree); 8552var semanticModel = compilation.GetSemanticModel(tree); 8587var semanticModel = compilation.GetSemanticModel(tree); 8600semanticModel = compilation.GetSemanticModel(tree); 8631var semanticModel = compilation.GetSemanticModel(tree); 8648semanticModel = compilation.GetSemanticModel(tree); 8681var semanticModel = compilation.GetSemanticModel(tree); 8698semanticModel = compilation.GetSemanticModel(tree); 8755var semanticModel = compilation.GetSemanticModel(tree); 8814var model = (CSharpSemanticModel)compilation.GetSemanticModel(tree); 11340var type = (ITypeSymbol)compilation.GetSemanticModel(tree).GetTypeInfo(negNode).Type; 11416var model = comp.GetSemanticModel(tree);
Semantics\OverloadResolutionPerfTests.cs (2)
981var model = comp.GetSemanticModel(tree); 1059var model = comp.GetSemanticModel(tree);
Semantics\OverloadResolutionTests.cs (9)
7147var model = comp.GetSemanticModel(tree); 7257var model = comp.GetSemanticModel(tree); 7431var model = comp.GetSemanticModel(tree); 7472var model = comp.GetSemanticModel(tree); 9069var model = compilation.GetSemanticModel(tree); 9417var model = comp.GetSemanticModel(tree); 11762var model = comp.GetSemanticModel(tree); 11811var model = comp.GetSemanticModel(tree); 11861var 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)
2899var model = comp.GetSemanticModel(tree); 3125var model = comp.GetSemanticModel(tree);
Semantics\ReadOnlyStructsTests.cs (1)
1267var semanticModel = comp.GetSemanticModel(testMethodSyntax.SyntaxTree);
Semantics\RecordStructTests.cs (6)
2592var model = comp.GetSemanticModel(tree); 2627var model = comp.GetSemanticModel(tree); 2661var model = comp.GetSemanticModel(tree); 2696var model = comp.GetSemanticModel(tree); 3246var model = comp.GetSemanticModel(tree); 10769var model = comp.GetSemanticModel(tree);
Semantics\RefEscapingTests.cs (3)
49var model = comp.GetSemanticModel(tree); 5715var model = compilation.GetSemanticModel(tree); 5815var 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)
11024var model = comp.GetSemanticModel(tree); 11098var model = comp.GetSemanticModel(tree); 11220var model = comp.GetSemanticModel(tree); 11388var model = comp.GetSemanticModel(tree); 11980var model = comp.GetSemanticModel(tree); 12060var model = comp.GetSemanticModel(tree); 12129var model = comp.GetSemanticModel(tree); 12197var model = comp.GetSemanticModel(tree); 12379var model = comp.GetSemanticModel(tree); 12566var model = comp.GetSemanticModel(tree); 12792var model = comp.GetSemanticModel(tree); 12975var model = comp.GetSemanticModel(tree); 13150var model = comp.GetSemanticModel(tree); 13205var model = comp.GetSemanticModel(tree); 13264var model = comp.GetSemanticModel(tree); 13307var model = comp.GetSemanticModel(tree); 13336var model = comp.GetSemanticModel(tree); 13361var model = comp.GetSemanticModel(tree); 13381var model = comp.GetSemanticModel(tree); 13403var model = comp.GetSemanticModel(tree); 13438var model = comp.GetSemanticModel(tree); 13502var model = comp.GetSemanticModel(tree); 13578var model = comp.GetSemanticModel(tree); 13649var model = comp.GetSemanticModel(tree); 13713var model = comp.GetSemanticModel(tree); 14354var model = comp.GetSemanticModel(tree); 14396var model = comp.GetSemanticModel(tree); 14521var model = comp.GetSemanticModel(tree); 14597var model = comp.GetSemanticModel(tree); 14842var model = comp.GetSemanticModel(tree); 15050var model = comp.GetSemanticModel(tree); 15076var model = comp.GetSemanticModel(tree); 15131var model = comp.GetSemanticModel(tree); 16549var model = comp.GetSemanticModel(tree); 16590var model = comp.GetSemanticModel(tree); 16629var model = comp.GetSemanticModel(tree); 16725var model = comp.GetSemanticModel(tree); 16773var model = comp.GetSemanticModel(syntaxTree); 17945var model = comp.GetSemanticModel(tree); 22830var model = comp.GetSemanticModel(tree); 22898var model = comp.GetSemanticModel(tree); 23900var model = comp.GetSemanticModel(tree); 23936var model = comp.GetSemanticModel(tree); 23973var model = comp.GetSemanticModel(tree); 24740var model = comp.GetSemanticModel(tree); 26785var model = comp.GetSemanticModel(tree); 26837var model = comp.GetSemanticModel(tree); 26889var model = comp.GetSemanticModel(tree); 27046var model = comp.GetSemanticModel(tree); 27136var model = comp.GetSemanticModel(tree); 27256var model = comp.GetSemanticModel(tree); 27357var model = comp.GetSemanticModel(tree); 27402var model = comp.GetSemanticModel(tree); 27462var model = comp.GetSemanticModel(tree); 27692var model = comp.GetSemanticModel(tree); 27740var model = comp.GetSemanticModel(tree); 28830var model = comp.GetSemanticModel(tree);
Semantics\RefLocalsAndReturnsTests.cs (3)
5209var model = comp.GetSemanticModel(tree); 5253var model = comp.GetSemanticModel(tree); 5292var 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)
3324var model = compilation.GetSemanticModel(tree);
Semantics\StackAllocInitializerTests.cs (9)
365var model = comp.GetSemanticModel(tree); 441var model = comp.GetSemanticModel(tree); 1043var model = comp.GetSemanticModel(tree); 1145var model = comp.GetSemanticModel(tree); 2357var model = comp.GetSemanticModel(tree); 2463var model = comp.GetSemanticModel(tree); 2563var model = comp.GetSemanticModel(tree); 2647var model = comp.GetSemanticModel(tree); 2717var 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); 1406var model2 = comp.GetSemanticModel(tree2); 1424model2 = comp.GetSemanticModel(tree2); 1522var model1 = comp.GetSemanticModel(tree); 1525var model2 = comp.GetSemanticModel(tree); 1590var model1 = comp.GetSemanticModel(tree); 1597var model2 = comp.GetSemanticModel(tree); 1684var model1 = comp.GetSemanticModel(tree1); 1714var model = comp.GetSemanticModel(tree); 1857var model1 = comp.GetSemanticModel(tree1); 1880var model2 = comp.GetSemanticModel(tree2); 2083var model1 = comp.GetSemanticModel(tree1); 2247var model1 = comp.GetSemanticModel(tree1); 2265var model2 = comp.GetSemanticModel(tree2); 2425var model1 = comp.GetSemanticModel(tree1); 2917var model1 = comp.GetSemanticModel(tree1); 2940var model2 = comp.GetSemanticModel(tree2); 3940var model = comp.GetSemanticModel(tree); 4089var model = comp.GetSemanticModel(tree); 4214var model = comp.GetSemanticModel(tree); 4509var model1 = comp.GetSemanticModel(tree1); 4515var model2 = comp.GetSemanticModel(tree2); 4573var model1 = comp.GetSemanticModel(tree1); 4622var model1 = comp.GetSemanticModel(tree1); 4892var model = comp.GetSemanticModel(tree); 4949var model1 = comp.GetSemanticModel(tree1); 4955var model2 = comp.GetSemanticModel(tree2); 4977var model = comp.GetSemanticModel(tree); 6029var model1 = comp.GetSemanticModel(tree1); 6085var semanticModel = comp.GetSemanticModel(syntaxTree); 6157var semanticModel = comp.GetSemanticModel(syntaxTree); 6234var semanticModel = comp.GetSemanticModel(syntaxTree); 8577var model = comp.GetSemanticModel(tree); 8650var model = comp.GetSemanticModel(tree); 8672var model = comp.GetSemanticModel(tree); 8694var model = comp.GetSemanticModel(tree); 9678var model = compilation.GetSemanticModel(tree); 9703var model = compilation.GetSemanticModel(tree);
Semantics\TryCatchTests.cs (1)
43var model = compilation.GetSemanticModel(tree);
Semantics\TypeOfTests.cs (1)
32var model = compilation.GetSemanticModel(tree);
Semantics\UnsafeTests.cs (31)
5199var model = compilation.GetSemanticModel(tree); 5381var model = compilation.GetSemanticModel(tree); 6301var model = comp.GetSemanticModel(tree); 6378var model = compilation.GetSemanticModel(tree); 7255var model = compilation.GetSemanticModel(tree); 7292var model = compilation.GetSemanticModel(tree); 7321var model = compilation.GetSemanticModel(tree); 7359var model = compilation.GetSemanticModel(tree); 7402var model = compilation.GetSemanticModel(tree); 7533var model = compilation.GetSemanticModel(tree); 7843var model = compilation.GetSemanticModel(tree); 7910var model = compilation.GetSemanticModel(tree); 8156var model = compilation.GetSemanticModel(tree); 8223var model = compilation.GetSemanticModel(tree); 8281var model = compilation.GetSemanticModel(tree); 8341var model = compilation.GetSemanticModel(tree); 8377var model = compilation.GetSemanticModel(tree); 8853var model = compilation.GetSemanticModel(tree); 8907var model = compilation.GetSemanticModel(tree); 9319var model = compilation.GetSemanticModel(tree); 10175var model = compilation.GetSemanticModel(tree); 10216var model = compilation.GetSemanticModel(tree); 10288var model = compilation.GetSemanticModel(tree); 10624var model = compilation.GetSemanticModel(tree); 10686var model = compilation.GetSemanticModel(tree); 10746var model = compilation.GetSemanticModel(tree); 11303var model = compilation.GetSemanticModel(tree); 11804var model = comp.GetSemanticModel(tree); 11835var model = comp.GetSemanticModel(tree); 11875var model = compilation.GetSemanticModel(tree); 11901var model = comp.GetSemanticModel(tree);
Semantics\UsingStatementTests.cs (7)
58var model = compilation.GetSemanticModel(tree); 1339var model = compilation.GetSemanticModel(tree); 1374var model = compilation.GetSemanticModel(tree); 1851var model = compilation.GetSemanticModel(tree); 1863var model = compilation.GetSemanticModel(tree); 1879var model = compilation.GetSemanticModel(tree); 1893var model = compilation.GetSemanticModel(tree);
Semantics\Utf8StringsLiteralsTests.cs (14)
2969var model = comp.GetSemanticModel(tree); 2997var model = comp.GetSemanticModel(tree); 3025var model = comp.GetSemanticModel(tree); 3053var model = comp.GetSemanticModel(tree); 3081var model = comp.GetSemanticModel(tree); 3109var model = comp.GetSemanticModel(tree); 3137var model = comp.GetSemanticModel(tree); 3165var model = comp.GetSemanticModel(tree); 3193var model = comp.GetSemanticModel(tree); 3221var model = comp.GetSemanticModel(tree); 3249var model = comp.GetSemanticModel(tree); 3277var model = comp.GetSemanticModel(tree); 3305var model = comp.GetSemanticModel(tree); 4079var model = comp.GetSemanticModel(tree);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (953)
Compilation\CompilationAPITests.cs (8)
883var bind = comp.GetSemanticModel(syntaxTree: t1); 1388comp.GetSemanticModel(null); 1623comp.RemoveSyntaxTrees(new SyntaxTree[] { t4 }).GetSemanticModel(t4); 1940var model2 = compilation.GetSemanticModel(tree2); 1954var model2 = compilation.GetSemanticModel(tree2); 2840var semanticModel = compilation.GetSemanticModel(syntaxTree); 2875var semanticModel = compilation.GetSemanticModel(syntaxTree); 2907var 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 (137)
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); 4645var model = compilation.GetSemanticModel(tree); 4662var model = compilation.GetSemanticModel(tree); 4677var model = compilation.GetSemanticModel(tree); 4693var model = compilation.GetSemanticModel(tree); 4709var model = compilation.GetSemanticModel(tree); 4728var model = compilation.GetSemanticModel(tree); 4744var model = compilation.GetSemanticModel(tree); 4753var model = compilation.GetSemanticModel(tree);
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (167)
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); 4744var model = compilation.GetSemanticModel(tree); 4770var model = compilation.GetSemanticModel(tree); 4798var model = compilation.GetSemanticModel(tree); 4821var model = compilation.GetSemanticModel(tree); 4844var model = compilation.GetSemanticModel(tree); 4867var model = compilation.GetSemanticModel(tree); 4890var model = compilation.GetSemanticModel(tree); 4913var model = compilation.GetSemanticModel(tree); 4936var model = compilation.GetSemanticModel(tree); 4959var model = compilation.GetSemanticModel(tree); 4994var model = compilation.GetSemanticModel(tree); 5040var model = compilation.GetSemanticModel(tree); 5089var model = compilation.GetSemanticModel(tree); 5112var model = compilation.GetSemanticModel(tree); 5129var model = compilation.GetSemanticModel(tree); 5171var model = compilation.GetSemanticModel(tree); 5204var model = comp.GetSemanticModel(tree); 5221var model = comp.GetSemanticModel(tree); 5242var model = comp.GetSemanticModel(tree); 5263var model = comp.GetSemanticModel(tree); 5301var model = comp.GetSemanticModel(tree); 5352var model = comp.GetSemanticModel(tree); 5396var model = comp.GetSemanticModel(tree); 5444var model = comp.GetSemanticModel(tree); 5487var model = comp.GetSemanticModel(tree); 5538var model = comp.GetSemanticModel(tree); 5582var model = comp.GetSemanticModel(tree); 5630var 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 (90)
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()); 6744var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 6894var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 7063var model = comp.GetSemanticModel(comp.SyntaxTrees.Single());
DocumentationComments\DocumentationCommentCompilerTests.cs (2)
3166comp.GetSemanticModel(tree1).GetDiagnostics().Verify( 3170comp.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); 789var model = compilation.GetSemanticModel(tree);
SymbolDisplay\SymbolDisplayTests.cs (28)
2861var model = comp.GetSemanticModel(tree); 3418var model = comp.GetSemanticModel(tree); 5423var model = comp.GetSemanticModel(comp.SyntaxTrees.First()); 5449var model = comp.GetSemanticModel(tree); 5889var model = comp.GetSemanticModel(tree); 6436var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 6479var semanticModel = comp.GetSemanticModel(srcTree); 6513var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 6575var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 6608var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 6669var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 6702var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 6747var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 6865var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 6903var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 6941var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 7001var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 7073var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 7333var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 7486var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 7738var model = compilation.GetSemanticModel(tree); 7830var model = compilation.GetSemanticModel(tree); 7890var model = compilation.GetSemanticModel(tree); 7922var model = compilation.GetSemanticModel(tree); 8225var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 8276var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 8702var model = comp.GetSemanticModel(tree); 8758var model = comp.GetSemanticModel(tree);
Symbols\AccessorOverriddenOrHiddenMembersTests.cs (1)
1023var semanticModel = compilation.GetSemanticModel(syntaxTree);
Symbols\AnonymousTypesSemanticsTests.cs (1)
2077Model = 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)
389var model = compilation.GetSemanticModel(tree); 1726var model = comp.GetSemanticModel(tree); 1796var model = comp.GetSemanticModel(tree); 1830var model = comp.GetSemanticModel(tree);
Symbols\CorLibrary\CorTypes.cs (2)
295var model = comp.GetSemanticModel(tree); 360var model = comp1.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( 2432var model = compilation.GetSemanticModel(tree); 2725var model = compilation.GetSemanticModel(tree); 2951var model = compilation.GetSemanticModel(tree); 3009var model = compilation.GetSemanticModel(tree); 3137var model = comp.GetSemanticModel(tree); 3776var model = compilation.GetSemanticModel(syntaxTree); 3864var model = compilation.GetSemanticModel(tree); 3911var model = compilation.GetSemanticModel(tree); 3956var model = compilation.GetSemanticModel(tree); 4006var 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); 1425var model = comp.GetSemanticModel(syntaxTree); 1683var model = comp.GetSemanticModel(syntaxTree); 1794var model = comp.GetSemanticModel(syntaxTree); 1924var model = comp.GetSemanticModel(syntaxTree);
Symbols\GenericConstraintTests.cs (2)
7392var model = comp.GetSemanticModel(tree); 7417var model = comp.GetSemanticModel(tree);
Symbols\ImplicitClassTests.cs (2)
71var model = c.GetSemanticModel(tree); 114var model = comp.GetSemanticModel(tree);
Symbols\IndexerTests.cs (8)
1295var model = comp.GetSemanticModel(tree); 2234var model = comp.GetSemanticModel(tree); 2275var model = comp.GetSemanticModel(tree); 2317var model = comp.GetSemanticModel(tree); 2355var model = comp.GetSemanticModel(tree); 2613var model = comp.GetSemanticModel(tree); 2700var model = comp.GetSemanticModel(tree); 2843var model = comp2.GetSemanticModel(tree);
Symbols\LocalFunctionTests.cs (4)
33var semanticModel = compilation.GetSemanticModel(tree); 54var semanticModel = compilation.GetSemanticModel(tree); 75var semanticModel = compilation.GetSemanticModel(tree); 98var semanticModel = compilation.GetSemanticModel(tree);
Symbols\LookupSymbolsInfoTests.cs (1)
94var model = compilation.GetSemanticModel(tree);
Symbols\Metadata\MetadataTypeTests.cs (2)
371var model = currComp.GetSemanticModel(newTree); 386model = 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\RequiredMembersTests.cs (1)
6952var model = comp.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); 763var model = comp.GetSemanticModel(syntaxTree); 825var 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 (10)
2595var model = comp.GetSemanticModel(tree); 2635var model = comp.GetSemanticModel(tree); 3504var model = comp.GetSemanticModel(tree); 3555var model = comp.GetSemanticModel(tree); 3611var model = compilation.GetSemanticModel(tree); 3978var model = comp.GetSemanticModel(tree); 4122var model = comp.GetSemanticModel(tree); 4409var model = comp.GetSemanticModel(tree); 4453var model = comp.GetSemanticModel(tree); 4476var model = comp.GetSemanticModel(tree);
Symbols\Source\MethodTests.cs (2)
2538var model = comp.GetSemanticModel(syntax); 2569var model = comp.GetSemanticModel(syntax);
Symbols\Source\NullablePublicAPITests.cs (104)
53var model = comp.GetSemanticModel(syntaxTree); 87var model = comp.GetSemanticModel(syntaxTree); 569var semanticModel = comp.GetSemanticModel(syntaxTree); 944var model = comp.GetSemanticModel(syntaxTree); 1001var model = comp.GetSemanticModel(syntaxTree); 1094var model = comp.GetSemanticModel(syntaxTree); 1121var model = comp.GetSemanticModel(syntaxTree); 1209var model = comp.GetSemanticModel(syntaxTree); 1261var model = comp.GetSemanticModel(syntaxTree); 1359var model = comp.GetSemanticModel(syntaxTree); 1439var model = comp.GetSemanticModel(syntaxTree); 1511var model = comp.GetSemanticModel(syntaxTree); 1567var model = comp.GetSemanticModel(syntaxTree); 1624var model = comp.GetSemanticModel(syntaxTree); 1667var model = comp.GetSemanticModel(syntaxTree); 1710var model = comp.GetSemanticModel(syntaxTree); 1849var model = comp.GetSemanticModel(syntaxTree); 1892var model = comp.GetSemanticModel(syntaxTree); 1937var model = comp.GetSemanticModel(syntaxTree); 1984var model = comp.GetSemanticModel(syntaxTree); 2045var model = comp.GetSemanticModel(syntaxTree); 2088var model = comp.GetSemanticModel(syntaxTree); 2131var model = comp.GetSemanticModel(syntaxTree); 2174var model = comp.GetSemanticModel(syntaxTree); 2216var model = comp.GetSemanticModel(syntaxTree); 2246var model = comp.GetSemanticModel(syntaxTree); 2281var model = comp.GetSemanticModel(syntaxTree); 2325var model = comp.GetSemanticModel(syntaxTree); 2366var model = comp.GetSemanticModel(syntaxTree); 2411var model = comp.GetSemanticModel(syntaxTree); 2451var model = comp.GetSemanticModel(syntaxTree); 2499var model = comp.GetSemanticModel(syntaxTree); 2544var model = comp.GetSemanticModel(syntaxTree); 2593var model = comp.GetSemanticModel(syntaxTree); 2627var model = comp.GetSemanticModel(syntaxTree); 2661var model = comp.GetSemanticModel(syntaxTree); 2699var model = comp.GetSemanticModel(syntaxTree); 2735var model = comp.GetSemanticModel(syntaxTree); 2781var model = comp.GetSemanticModel(syntaxTree); 2824var model = comp.GetSemanticModel(syntaxTree); 2873var model = comp.GetSemanticModel(syntaxTree); 2914var model = comp.GetSemanticModel(syntaxTree); 2955var model = comp.GetSemanticModel(syntaxTree); 2997var model = comp.GetSemanticModel(syntaxTree); 3039var model = comp.GetSemanticModel(syntaxTree); 3099var model = comp.GetSemanticModel(syntaxTree); 3146var model = comp.GetSemanticModel(syntaxTree); 3191var model = comp.GetSemanticModel(syntaxTree); 3256var model = comp.GetSemanticModel(syntaxTree); 3308var model = comp.GetSemanticModel(syntaxTree); 3357var model = comp.GetSemanticModel(syntaxTree); 3404var model = comp.GetSemanticModel(syntaxTree); 3449var model = comp.GetSemanticModel(syntaxTree); 3486var model = comp.GetSemanticModel(syntaxTree); 3535var model = comp.GetSemanticModel(syntaxTree); 3596var model = comp.GetSemanticModel(syntaxTree); 3659var model = comp.GetSemanticModel(syntaxTree); 3696var model = comp.GetSemanticModel(tree); 3731var model = comp.GetSemanticModel(tree); 3767var model = comp.GetSemanticModel(syntaxTree); 3806var model = comp.GetSemanticModel(syntaxTree); 3852var model = comp.GetSemanticModel(syntaxTree); 3911var model = comp.GetSemanticModel(syntaxTree); 3976var model = comp.GetSemanticModel(syntaxTree); 4045var model = comp.GetSemanticModel(syntaxTree); 4112var model = comp.GetSemanticModel(syntaxTree); 4175var model = comp.GetSemanticModel(syntaxTree); 4209var model = comp.GetSemanticModel(syntaxTree); 4241var model = comp.GetSemanticModel(syntaxTree); 4270var model = comp.GetSemanticModel(syntaxTree); 4304var model = comp.GetSemanticModel(syntaxTree); 4334var model = comp.GetSemanticModel(tree); 4364var model = comp.GetSemanticModel(tree); 4392var model = comp.GetSemanticModel(tree); 4420var model = comp.GetSemanticModel(tree); 4450var model = comp.GetSemanticModel(tree); 4480var model = comp.GetSemanticModel(tree); 4510var model = comp.GetSemanticModel(tree); 4542var model = comp.GetSemanticModel(tree); 4575var model = comp.GetSemanticModel(tree); 4603var model = comp.GetSemanticModel(tree); 4636var model = comp.GetSemanticModel(tree); 4667var model = comp.GetSemanticModel(tree); 4698var model = comp.GetSemanticModel(tree); 4728var model = comp.GetSemanticModel(tree); 4779var model = comp.GetSemanticModel(syntaxTree); 4814var model = comp.GetSemanticModel(tree); 4900var model = comp.GetSemanticModel(tree); 4934var model = comp.GetSemanticModel(tree); 4965var model = comp.GetSemanticModel(tree); 5008var model = comp.GetSemanticModel(tree); 5047var model = comp.GetSemanticModel(tree); 5067var model = comp.GetSemanticModel(tree); 5071model = comp.GetSemanticModel(tree); 5101var model = comp.GetSemanticModel(tree); 5133var model = comp.GetSemanticModel(tree); 5161var model = comp.GetSemanticModel(tree); 5252var model = comp.GetSemanticModel(tree); 5275var model = comp.GetSemanticModel(tree); 5307var model = comp.GetSemanticModel(tree); 5330var model = comp.GetSemanticModel(tree); 5352var model = comp.GetSemanticModel(tree); 5397var model = comp.GetSemanticModel(tree); 5454var model = comp.GetSemanticModel(tree);
Symbols\Source\UpdatedContainingSymbolAndNullableAnntotationTests.cs (1)
35var model = comp.GetSemanticModel(syntaxTree);
Symbols\Source\UsingAliasTests.cs (23)
46var model = comp.GetSemanticModel(tree); 103var model = comp.GetSemanticModel(tree); 163var model = comp.GetSemanticModel(tree); 218var model = comp.GetSemanticModel(tree); 273var model = comp.GetSemanticModel(tree); 310var model = comp.GetSemanticModel(tree); 356var model = comp.GetSemanticModel(tree); 387var model = comp.GetSemanticModel(tree); 408var model = comp.GetSemanticModel(tree); 427var model = comp.GetSemanticModel(tree); 446var model = comp.GetSemanticModel(tree); 465var model = comp.GetSemanticModel(tree); 484var model = comp.GetSemanticModel(tree); 505var model = comp.GetSemanticModel(tree); 524var alias = comp.GetSemanticModel(syntaxTree).GetDeclaredSymbol(usingAlias); 544var model = comp.GetSemanticModel(syntaxTree); 564var model = comp.GetSemanticModel(syntaxTree); 583var model = comp.GetSemanticModel(syntaxTree); 603var model = comp.GetSemanticModel(syntaxTree); 627var model = comp.GetSemanticModel(syntaxTree); 650var model = comp.GetSemanticModel(syntaxTree); 701var model = compilation.GetSemanticModel(tree); 744var 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); 13179var model = compilation1.GetSemanticModel(tree); 13265var model = compilation1.GetSemanticModel(tree); 13387var model = compilation1.GetSemanticModel(tree); 14088var model = compilation1.GetSemanticModel(tree); 14713var model = compilation1.GetSemanticModel(tree); 15119var model = compilation1.GetSemanticModel(tree); 15387var model = compilation1.GetSemanticModel(tree); 19559var model = compilation1.GetSemanticModel(tree); 19642var model = compilation1.GetSemanticModel(tree); 19734var model = compilation1.GetSemanticModel(tree); 19823var model = compilation1.GetSemanticModel(tree); 28772var model = compilation1.GetSemanticModel(tree); 30279var model = compilation1.GetSemanticModel(tree); 30470var model = compilation1.GetSemanticModel(tree); 30936var 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)
1677var model = comp.GetSemanticModel(tree); 1761var model = comp.GetSemanticModel(tree); 1852var 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.Syntax.UnitTests (1)
Syntax\FieldAndValueKeywordTests.cs (1)
1276var model = comp.GetSemanticModel(syntaxTree);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (9)
CompilationTestUtils.cs (1)
463var model = compilation.GetSemanticModel(tree);
CSharpTestBase.cs (4)
1651return new Tuple<TNode, SemanticModel>(node, compilation.GetSemanticModel(compilation.SyntaxTrees[treeIndex])); 1662return new Tuple<IList<TNode>, SemanticModel>(nodes, compilation.GetSemanticModel(compilation.SyntaxTrees[treeIndex])); 2027var model = compilation.GetSemanticModel(tree); 2100var 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)
670var model = comp.GetSemanticModel(tree);
CodeGen\WinRTCollectionTests.cs (1)
7422var model = comp.GetSemanticModel(tree);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SemanticFacts\CSharpSemanticFacts.cs (1)
386var semanticModel = compilation.GetSemanticModel(syntaxReference.SyntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpUseImplicitTypeHelper.cs (1)
202var newSemanticModel = semanticModel.Compilation.ReplaceSyntaxTree(tree, newTree).GetSemanticModel(newTree);
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.cs (1)
4991var semanticModel = compilation.GetSemanticModel(tree);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Semantics\SpeculationAnalyzerTestsBase.cs (1)
42var initialModel = initialCompilation.GetSemanticModel(initialTree);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Utilities\SymbolEquivalenceComparerTests.cs (1)
1895var model = compilation.GetSemanticModel(invocation.SyntaxTree);
Microsoft.CodeAnalysis.Features.UnitTests (3)
FindUsages\DefinitionItemFactoryTests.cs (3)
1450var model = compilation.GetSemanticModel(tree); 1516var model = compilation.GetSemanticModel(tree); 1587var model = compilation.GetSemanticModel(tree);
Microsoft.CodeAnalysis.Test.Utilities (4)
Compilation\CompilationExtensions.cs (3)
190SemanticModel model = compilation.GetSemanticModel(node.SyntaxTree); 203SemanticModel model = compilation.GetSemanticModel(tree); 289var semanticModel = compilation.GetSemanticModel(tree);
Compilation\ControlFlowGraphVerifier.cs (1)
349var model = compilation.GetSemanticModel(graph.OriginalOperation.Syntax.SyntaxTree);
Microsoft.CodeAnalysis.UnitTests (2)
Diagnostics\SuppressMessageTargetSymbolResolverTests.cs (1)
1346var model = compilation.GetSemanticModel(syntaxTree);
Symbols\DocumentationCommentIdTests.cs (1)
175var semanticModel = comp.GetSemanticModel(tree);
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Helpers\RemoveUnnecessaryImports\VisualBasicUnnecessaryImportsProvider.vb (1)
79Dim updatedModel = updatedCompilation.GetSemanticModel(updatedSyntaxTree)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.vb (1)
1696Dim model = compilation.GetSemanticModel(tree)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (4)
BasicTestBase.vb (1)
922Dim semanticModel = compilation.GetSemanticModel(node.SyntaxTree)
CompilationTestUtils.vb (3)
607Dim semanticModel = DirectCast(compilation.GetSemanticModel(tree), VBSemanticModel) 1130Dim bindings = DirectCast(compilation.GetSemanticModel(tree), VBSemanticModel) 1175Dim bindings1 = compilation.GetSemanticModel(tree)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Helpers\RemoveUnnecessaryImports\VisualBasicUnnecessaryImportsProvider.vb (1)
79Dim updatedModel = updatedCompilation.GetSemanticModel(updatedSyntaxTree)
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.BodyLevelSymbolKey.cs (1)
123semanticModel = compilation.GetSemanticModel(syntaxTree);
Microsoft.CodeAnalysis.Workspaces.UnitTests (23)
FindReferencesTests.cs (3)
181var semanticModel = comp.GetSemanticModel(tree); 220var semanticModel = comp.GetSemanticModel(tree); 284var semanticModel = comp.GetSemanticModel(tree);
SymbolKeyTests.cs (20)
318TestRoundTrip(GetAllSymbols(compilation.GetSemanticModel(compilation.SyntaxTrees.Single())), compilation); 619var model = compilation.GetSemanticModel(tree); 655var model = compilation.GetSemanticModel(tree); 677var model = compilation.GetSemanticModel(tree); 702var model = compilation.GetSemanticModel(tree); 720var model = compilation.GetSemanticModel(tree); 738var model = compilation.GetSemanticModel(tree); 758var model = compilation.GetSemanticModel(tree); 781var model = compilation.GetSemanticModel(tree); 824var model = compilation.GetSemanticModel(tree); 838var model = compilation.GetSemanticModel(tree); 981compilation.GetSemanticModel(compilation.SyntaxTrees.Single()), 1022compilation1.GetSemanticModel(compilation1.SyntaxTrees.Single()), 1059compilation1.GetSemanticModel(compilation1.SyntaxTrees.Single()), 1092compilation1.GetSemanticModel(compilation1.SyntaxTrees.Single()), 1127compilation1.GetSemanticModel(compilation1.SyntaxTrees.Single()), 1174compilation2.GetSemanticModel(compilation2.SyntaxTrees.Single()), 1221compilation2.GetSemanticModel(compilation2.SyntaxTrees.Single()), 1277var semanticModel = compilation1.GetSemanticModel(tree); 1561var semanticModel = compilation.GetSemanticModel(node.SyntaxTree);
Microsoft.Extensions.Logging.Generators (1)
LoggerMessageGenerator.Parser.cs (1)
78SemanticModel sm = _compilation.GetSemanticModel(syntaxTree);
Microsoft.Gen.ComplianceReports (1)
Parser.cs (1)
43sm ??= _compilation.GetSemanticModel(typeSyntax.SyntaxTree);
Microsoft.Gen.ContextualOptions (2)
ContextReceiver.cs (1)
47.SelectMany(declarations => declarations.Select(declaration => (symbol: compilation.GetSemanticModel(declarations.Key).GetDeclaredSymbol(declaration), declaration)))
ContextualOptionsGenerator.cs (1)
39.SelectMany(declarations => declarations.Select(declaration => (symbol: compilation.GetSemanticModel(declarations.Key).GetDeclaredSymbol(declaration), declaration)))
Microsoft.Gen.Logging (1)
Parsing\Parser.cs (1)
54SemanticModel? sm = _compilation.GetSemanticModel(syntaxTree);
Microsoft.Gen.Metrics (1)
Parser.cs (1)
84semanticModel ??= _compilation.GetSemanticModel(typeDeclaration.SyntaxTree);
Microsoft.Gen.MetricsReports (1)
src\Generators\Microsoft.Gen.Metrics\Parser.cs (1)
84semanticModel ??= _compilation.GetSemanticModel(typeDeclaration.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)
3050var semanticModel = compilation.GetSemanticModel(tree);
Mvc.Api.Analyzers.Test (4)
ActualApiResponseMetadataFactoryTest.cs (4)
79var returnOperation = (IReturnOperation)compilation.GetSemanticModel(syntaxTree).GetOperation(returnStatement); 375var methodOperation = (IMethodBodyBaseOperation)compilation.GetSemanticModel(syntaxTree).GetOperation(methodSyntax); 396var returnOperation = (IReturnOperation)compilation.GetSemanticModel(syntaxTree).GetOperation(returnStatement); 415var returnOperation = (IReturnOperation)compilation.GetSemanticModel(syntaxTree).GetOperation(returnStatement);
System.Private.CoreLib.Generators (1)
IntrinsicsInSystemPrivateCoreLibAnalyzer.cs (1)
299model = model.Compilation.GetSemanticModel(arrowExpression.SyntaxTree);
System.Windows.Forms.PrivateSourceGenerators (1)
System\Windows\Forms\SourceGenerators\EnumValidationGenerator.cs (1)
237model = compilation.GetSemanticModel(syntaxTree);