4548 references to GetSemanticModel
Analyzer.Utilities.UnitTests (1)
FlowAnalysis\Analysis\PropertySetAnalysis\PropertySetAnalysisTests.cs (1)
1279var model = compilation.GetSemanticModel(tree);
AnalyzerRunner (1)
DiagnosticAnalyzerRunner.cs (1)
194await compilationWithAnalyzers.GetAnalyzerSemanticDiagnosticsAsync(compilation.GetSemanticModel(tree), null, cancellationToken).ConfigureAwait(false);
Metrics (7)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeMetricsAnalysisContext.cs (1)
26_getSemanticModel = tree => Compilation.GetSemanticModel(tree);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IMethodSymbolExtensions.cs (1)
458var semanticModel = compilation.GetSemanticModel(syntax.SyntaxTree);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (1)
57var model = compilation.GetSemanticModel(receiverSyntax.SyntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AliasSymbolKey.cs (1)
44var semanticModel = reader.Compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AnonymousFunctionOrDelegateSymbolKey.cs (1)
53var semanticModel = reader.Compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.BodyLevelSymbolKey.cs (1)
122semanticModel = compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
728var semanticModel = Compilation.GetSemanticModel(location.SourceTree);
Metrics.Legacy (7)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeMetricsAnalysisContext.cs (1)
26_getSemanticModel = tree => Compilation.GetSemanticModel(tree);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IMethodSymbolExtensions.cs (1)
458var semanticModel = compilation.GetSemanticModel(syntax.SyntaxTree);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (1)
57var model = compilation.GetSemanticModel(receiverSyntax.SyntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AliasSymbolKey.cs (1)
44var semanticModel = reader.Compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AnonymousFunctionOrDelegateSymbolKey.cs (1)
53var semanticModel = reader.Compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.BodyLevelSymbolKey.cs (1)
122semanticModel = compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
728var semanticModel = Compilation.GetSemanticModel(location.SourceTree);
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)
335/// Unlike the <see cref="GetSemanticModel(SyntaxTree, bool)"/> and <see cref="CommonGetSemanticModel(SyntaxTree, SemanticModelOptions)"/>,
DiagnosticAnalyzer\AnalyzerDriver.cs (3)
1276var model = compilation.GetSemanticModel(location.SourceTree); 1336var model = compilation.GetSemanticModel(tree); 1902var 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)
109var semanticModel = compilation.GetSemanticModel(syntaxTree);
SourceGeneration\SyntaxStore.cs (1)
90var model = state != EntryState.Removed ? new Lazy<SemanticModel>(() => _compilation.GetSemanticModel(tree)) : null;
Microsoft.CodeAnalysis.Analyzers (11)
MetaAnalyzers\DiagnosticAnalyzerAPIUsageAnalyzer.cs (1)
201var semanticModel = compilation.GetSemanticModel(syntax.SyntaxTree);
MetaAnalyzers\DiagnosticAnalyzerCorrectnessAnalyzer.SyntaxNodeWithinAnalyzerTypeCompilationAnalyzer.cs (1)
51SemanticModel semanticModel = symbolContext.Compilation.GetSemanticModel(classDecl.SyntaxTree);
MetaAnalyzers\ReportDiagnosticAnalyzer.cs (1)
169SemanticModel semanticModel = compilation.GetSemanticModel(syntax.SyntaxTree);
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeMetricsAnalysisContext.cs (1)
26_getSemanticModel = tree => Compilation.GetSemanticModel(tree);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IMethodSymbolExtensions.cs (1)
458var semanticModel = compilation.GetSemanticModel(syntax.SyntaxTree);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (1)
57var model = compilation.GetSemanticModel(receiverSyntax.SyntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AliasSymbolKey.cs (1)
44var semanticModel = reader.Compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AnonymousFunctionOrDelegateSymbolKey.cs (1)
53var semanticModel = reader.Compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.BodyLevelSymbolKey.cs (1)
122semanticModel = compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
728var semanticModel = Compilation.GetSemanticModel(location.SourceTree);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\InitializeParameter\AbstractInitializerParameterService.cs (1)
208var semanticModel = compilation.GetSemanticModel(group.Key);
Microsoft.CodeAnalysis.AnalyzerUtilities (7)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeMetricsAnalysisContext.cs (1)
26_getSemanticModel = tree => Compilation.GetSemanticModel(tree);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IMethodSymbolExtensions.cs (1)
458var semanticModel = compilation.GetSemanticModel(syntax.SyntaxTree);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (1)
57var model = compilation.GetSemanticModel(receiverSyntax.SyntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AliasSymbolKey.cs (1)
44var semanticModel = reader.Compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AnonymousFunctionOrDelegateSymbolKey.cs (1)
53var semanticModel = reader.Compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.BodyLevelSymbolKey.cs (1)
122semanticModel = compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
728var semanticModel = Compilation.GetSemanticModel(location.SourceTree);
Microsoft.CodeAnalysis.BannedApiAnalyzers (8)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeMetricsAnalysisContext.cs (1)
26_getSemanticModel = tree => Compilation.GetSemanticModel(tree);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IMethodSymbolExtensions.cs (1)
458var semanticModel = compilation.GetSemanticModel(syntax.SyntaxTree);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (1)
57var model = compilation.GetSemanticModel(receiverSyntax.SyntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AliasSymbolKey.cs (1)
44var semanticModel = reader.Compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AnonymousFunctionOrDelegateSymbolKey.cs (1)
53var semanticModel = reader.Compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.BodyLevelSymbolKey.cs (1)
122semanticModel = compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
728var semanticModel = Compilation.GetSemanticModel(location.SourceTree);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\InitializeParameter\AbstractInitializerParameterService.cs (1)
208var semanticModel = compilation.GetSemanticModel(group.Key);
Microsoft.CodeAnalysis.CodeStyle (5)
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
694lazyModel ??= compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AliasSymbolKey.cs (1)
44var semanticModel = reader.Compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AnonymousFunctionOrDelegateSymbolKey.cs (1)
53var semanticModel = reader.Compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.BodyLevelSymbolKey.cs (1)
122semanticModel = compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
728var semanticModel = Compilation.GetSemanticModel(location.SourceTree);
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\InitializeParameter\AbstractInitializerParameterService.cs (1)
208var semanticModel = compilation.GetSemanticModel(group.Key);
Microsoft.CodeAnalysis.CSharp (2)
Compilation\CSharpCompilation.cs (1)
864var model = GetSemanticModel(tree);
Compilation\CSharpSemanticModel.cs (1)
25/// cref="Compilation.GetSemanticModel(SyntaxTree, bool)"/>.
Microsoft.CodeAnalysis.CSharp.CodeStyle (5)
src\Analyzers\CSharp\Analyzers\RemoveUnnecessarySuppressions\UnnecessaryNullableWarningSuppressionsUtilities.cs (1)
91var updatedSemanticModel = updatedCompilation.GetSemanticModel(updatedTree);
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryUnsafeModifier\UnnecessaryUnsafeModifierUtilities.cs (1)
108var updatedSemanticModel = updatedCompilation.GetSemanticModel(updatedTree);
src\Analyzers\CSharp\Analyzers\UsePrimaryConstructor\CSharpUsePrimaryConstructorDiagnosticAnalyzer.cs (1)
389var semanticModel = compilation.GetSemanticModel(primaryConstructorDeclaration.SyntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SemanticFacts\CSharpSemanticFacts.cs (1)
398var semanticModel = compilation.GetSemanticModel(syntaxReference.SyntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpUseImplicitTypeHelper.cs (1)
182var newSemanticModel = semanticModel.Compilation.ReplaceSyntaxTree(tree, newTree).GetSemanticModel(newTree);
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (5)
SymbolKey\SymbolKeyMetadataVsSourceTests.cs (1)
257var model = comp40.GetSemanticModel(comp40.SyntaxTrees.First());
SymbolKey\SymbolKeyTestBase.cs (3)
253var model = comp.GetSemanticModel(tree); 283var model = _compilation.GetSemanticModel(declarator.SyntaxTree); 308var model = _compilation.GetSemanticModel(node.SyntaxTree);
SymbolKey\SymbolKeyTests.cs (1)
293var semanticModel = bodyCompilation.GetSemanticModel(tree);
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (1)
Recommendations\RecommenderTests.cs (1)
77var semanticModel = compilation.GetSemanticModel(tree);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (242)
CodeGen\CodeGenAsyncIteratorTests.cs (2)
9208var model = comp.GetSemanticModel(tree); 9273var model = comp.GetSemanticModel(tree);
CodeGen\CodeGenAwaitForeachTests.cs (1)
6540var 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)
1492var model = comp.GetSemanticModel(tree); 1529var 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); 7411var model = comp.GetSemanticModel(tree); 7513var model = comp.GetSemanticModel(tree); 7569var model = allInCoreLib.GetSemanticModel(tree); 7589model = comp1.GetSemanticModel(tree); 7638var model = allInCoreLib.GetSemanticModel(tree); 7658model = comp1.GetSemanticModel(tree); 7725var model = comp1.GetSemanticModel(tree); 7743model = comp2.GetSemanticModel(tree); 10791var model = comp.GetSemanticModel(tree);
CodeGen\CodeGenLocalFunctionTests.cs (3)
5746var semanticModel = comp.GetSemanticModel(syntaxTree); 5821var semanticModel = comp.GetSemanticModel(syntaxTree); 5896var semanticModel = comp.GetSemanticModel(syntaxTree);
CodeGen\CodeGenOperators.cs (3)
5411var model = result.Compilation.GetSemanticModel(tree); 5699var model = compilation.GetSemanticModel(tree); 5737var model = compilation.GetSemanticModel(tree);
CodeGen\CodeGenRefLocalTests.cs (3)
4040var model = comp.GetSemanticModel(tree); 4077var model = comp.GetSemanticModel(tree); 4111var 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)
4997var model = compilation.GetSemanticModel(tree); 5123var model = compilation.GetSemanticModel(tree); 5272var model = compilation.GetSemanticModel(tree);
Emit\EntryPointTests.cs (1)
1597var model = compilation.GetSemanticModel(compilation.SyntaxTrees[0]);
Emit\InAttributeModifierTests.cs (15)
1854var model = comp.GetSemanticModel(tree); 1899var model = comp.GetSemanticModel(tree); 1957var model = comp.GetSemanticModel(tree); 1998var model = comp.GetSemanticModel(tree); 2051var model = comp.GetSemanticModel(tree); 2092var model = comp.GetSemanticModel(tree); 2142var model = comp.GetSemanticModel(tree); 2184var model = comp.GetSemanticModel(tree); 2234var model = comp.GetSemanticModel(tree); 2293var model = comp.GetSemanticModel(tree); 2334var model = comp.GetSemanticModel(tree); 2367var model = comp.GetSemanticModel(tree); 2415var model = comp.GetSemanticModel(tree); 2472var model = comp.GetSemanticModel(tree); 2522var model = comp.GetSemanticModel(tree);
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)
704var model = comp.GetSemanticModel(tree); 1922var model = comp.GetSemanticModel(tree); 1974var model = comp.GetSemanticModel(tree); 6014var model = comp.GetSemanticModel(tree); 6250var model = comp.GetSemanticModel(tree); 6623var model = comp.GetSemanticModel(tree); 6857var model = comp.GetSemanticModel(tree); 8131var model = comp.GetSemanticModel(tree); 10552var model = comp.GetSemanticModel(tree); 10691var model = comp.GetSemanticModel(tree);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1848)
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); 5717var model = cm.GetSemanticModel(cm.SyntaxTrees[0]); 7537var semanticModel = compilation.GetSemanticModel(tree); 7578var semanticModel = compilation.GetSemanticModel(tree); 11637var 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); 11436var model = comp.GetSemanticModel(tree); 11461var model = comp.GetSemanticModel(tree); 11492var model = comp.GetSemanticModel(tree);
Diagnostics\DiagnosticAnalyzerTests.cs (10)
3265var semanticModel1 = compilation.GetSemanticModel(tree1); 3311var semanticModel1 = compilation.GetSemanticModel(tree1); 3347var semanticModel1 = compilation.GetSemanticModel(tree1); 3604var model = compilation.GetSemanticModel(tree); 3684var semanticModel1 = compilation.GetSemanticModel(tree1); 3751var semanticModel = compilation.GetSemanticModel(tree); 3812var semanticModel = compilation.GetSemanticModel(tree); 4045var model = compilation.GetSemanticModel(tree); 4312var semanticModel = compilation.GetSemanticModel(tree); 4437var model = compilation.GetSemanticModel(tree);
Diagnostics\DiagnosticSuppressorTests.cs (1)
717var semanticModel = compilation.GetSemanticModel(tree);
Diagnostics\GetDiagnosticsTests.cs (14)
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); 340var model = compilation.GetSemanticModel(tree1); 406var model = compilation.GetSemanticModel(tree1); 447var model = compilation.GetSemanticModel(tree); 613compilation.GetSemanticModel(tree1).GetDeclarationDiagnostics().Verify(); 616compilation.GetSemanticModel(tree2).GetDeclarationDiagnostics().Verify(); 904var semanticModel = compilation.GetSemanticModel(syntaxTree); 1183var semanticModel = compilation.GetSemanticModel(syntaxTree); 1696var model1 = compilation.GetSemanticModel(tree1);
FieldKeywordTests.cs (11)
616var model = comp.GetSemanticModel(tree); 658var model = comp.GetSemanticModel(tree); 706var model = comp.GetSemanticModel(tree); 1400var model = comp.GetSemanticModel(tree); 1458var model = comp.GetSemanticModel(tree); 9584var model = comp.GetSemanticModel(tree); 10600var model = comp.GetSemanticModel(tree); 10634var model = comp.GetSemanticModel(tree); 12858var model = comp.GetSemanticModel(tree); 12884var model = comp.GetSemanticModel(tree); 12911var model = comp.GetSemanticModel(tree);
FirstClassSpanTests.cs (10)
2822var model = comp.GetSemanticModel(tree); 2855var model = comp.GetSemanticModel(tree); 5031var model = comp.GetSemanticModel(tree); 6757var model = comp.GetSemanticModel(tree); 6807var model = comp.GetSemanticModel(tree); 6857var model = comp.GetSemanticModel(tree); 6907var model = comp.GetSemanticModel(tree); 6956var model = comp.GetSemanticModel(tree); 6997var model = comp.GetSemanticModel(tree); 8876var model = comp.GetSemanticModel(invocation.SyntaxTree);
FlowAnalysis\FlowTestBase.cs (4)
141var model = comp.GetSemanticModel(tree); 162var model = comp.GetSemanticModel(tree); 194var model = comp.GetSemanticModel(tree); 215var model = comp.GetSemanticModel(tree);
FlowAnalysis\FlowTests.cs (1)
5859var model = compilation.GetSemanticModel(tree);
FlowAnalysis\IterationJumpYieldStatementTests.cs (1)
913var semanticModel = comp.GetSemanticModel(tree);
FlowAnalysis\PatternsVsRegions.cs (10)
210var model = comp.GetSemanticModel(tree); 362var model = comp.GetSemanticModel(tree); 411var model = comp.GetSemanticModel(tree); 449var model = comp.GetSemanticModel(tree); 489var model = compilation.GetSemanticModel(tree); 526var model = compilation.GetSemanticModel(tree); 563var model = compilation.GetSemanticModel(tree); 602var model = compilation.GetSemanticModel(tree); 647var model = compilation.GetSemanticModel(tree); 689var model = compilation.GetSemanticModel(tree);
FlowAnalysis\RegionAnalysisTests.cs (21)
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); 14167var model = comp.GetSemanticModel(tree); 14205var model = comp.GetSemanticModel(tree); 14250var model = comp.GetSemanticModel(tree);
OverloadResolutionPriorityTests.cs (11)
443var model = comp.GetSemanticModel(tree); 699var model = comp3.GetSemanticModel(tree); 759var model = comp3.GetSemanticModel(tree); 807var model = comp3.GetSemanticModel(tree); 978var model = comp.GetSemanticModel(tree); 2240var model = comp.GetSemanticModel(tree); 2312var model = comp.GetSemanticModel(tree); 2347var model = comp.GetSemanticModel(tree); 2410var model = comp.GetSemanticModel(tree); 2455var model = comp.GetSemanticModel(tree); 2582var model = comp.GetSemanticModel(tree);
PartialEventsAndConstructorsTests.cs (3)
2166var model = comp.GetSemanticModel(tree); 2248var model = comp.GetSemanticModel(tree); 2323var model = comp.GetSemanticModel(tree);
RefReadonlyParameterTests.cs (3)
1548var model = comp.GetSemanticModel(tree); 7125var model = comp.GetSemanticModel(tree); 7153var model = comp.GetSemanticModel(tree);
RefStructInterfacesTests.cs (54)
7575var model = comp.GetSemanticModel(tree); 7765var model = comp.GetSemanticModel(tree); 7984var model = comp.GetSemanticModel(tree); 8175var model = comp.GetSemanticModel(tree); 8368var model = comp.GetSemanticModel(tree); 8443var model = comp.GetSemanticModel(tree); 8647var model = comp.GetSemanticModel(tree); 9018var model = comp.GetSemanticModel(tree); 9222var model = comp.GetSemanticModel(tree); 9386var model = comp.GetSemanticModel(tree); 9586var model = comp.GetSemanticModel(tree); 9810var model = comp.GetSemanticModel(tree); 10019var model = comp.GetSemanticModel(tree); 10246var model = comp.GetSemanticModel(tree); 10349var model = comp.GetSemanticModel(tree); 10444var model = comp.GetSemanticModel(tree); 10629var model = comp.GetSemanticModel(tree); 10826var model = comp.GetSemanticModel(tree); 11066var model = comp.GetSemanticModel(tree); 11294var model = comp.GetSemanticModel(tree); 11506var model = comp.GetSemanticModel(tree); 11606var model = comp.GetSemanticModel(tree); 11701var model = comp.GetSemanticModel(tree); 14656var model = comp.GetSemanticModel(tree); 14997var model = comp.GetSemanticModel(tree); 15363var model = comp.GetSemanticModel(tree); 15707var model = comp.GetSemanticModel(tree); 16055var model = comp.GetSemanticModel(tree); 16132var model = comp.GetSemanticModel(tree); 16493var model = comp.GetSemanticModel(tree); 17158var model = comp.GetSemanticModel(tree); 17223var model = comp.GetSemanticModel(tree); 17288var model = comp.GetSemanticModel(tree); 17372var model = comp.GetSemanticModel(tree); 17460var model = comp.GetSemanticModel(tree); 17553var model = comp.GetSemanticModel(tree); 17650var model = comp.GetSemanticModel(tree); 17734var model = comp.GetSemanticModel(tree); 18160var model = comp.GetSemanticModel(tree); 18357var model = comp.GetSemanticModel(tree); 18580var model = comp.GetSemanticModel(tree); 18777var model = comp.GetSemanticModel(tree); 18978var model = comp.GetSemanticModel(tree); 19052var model = comp.GetSemanticModel(tree); 19262var model = comp.GetSemanticModel(tree); 19597var model = comp.GetSemanticModel(tree); 19768var model = comp.GetSemanticModel(tree); 19925var model = comp.GetSemanticModel(tree); 20093var model = comp.GetSemanticModel(tree); 20261var model = comp.GetSemanticModel(tree); 20366var model = comp.GetSemanticModel(tree); 21635var model = comp2.GetSemanticModel(tree); 21703var model = comp.GetSemanticModel(tree); 22105var model = comp.GetSemanticModel(tree);
Semantics\CollectionExpressionTests.cs (52)
199var model = comp.GetSemanticModel(tree); 234var model = comp.GetSemanticModel(tree); 4772var model = comp.GetSemanticModel(tree); 16074var model = comp.GetSemanticModel(tree); 16150var model = comp.GetSemanticModel(tree); 16223var model = comp.GetSemanticModel(tree); 16285var model = comp.GetSemanticModel(tree); 16409var model = comp.GetSemanticModel(tree); 16492var model = comp.GetSemanticModel(tree); 16581var model = comp.GetSemanticModel(tree); 16920var model = comp.GetSemanticModel(tree); 30958var model = comp.GetSemanticModel(tree); 31002var model = comp.GetSemanticModel(tree); 31048var model = comp.GetSemanticModel(tree); 31092var model = comp.GetSemanticModel(tree); 31135var model = comp.GetSemanticModel(tree); 31178var model = comp.GetSemanticModel(tree); 31217var model = comp.GetSemanticModel(tree); 31250var model = comp.GetSemanticModel(tree); 31284var model = comp.GetSemanticModel(tree); 31337var model = comp.GetSemanticModel(tree); 31403var model = comp.GetSemanticModel(tree); 31464var model = comp.GetSemanticModel(tree); 31540var model = comp.GetSemanticModel(tree); 31583var model = comp.GetSemanticModel(tree); 31630var model = comp.GetSemanticModel(tree); 34182var model = comp.GetSemanticModel(tree); 34230var model = comp.GetSemanticModel(tree); 34288var model = comp.GetSemanticModel(tree); 34386var model = comp.GetSemanticModel(tree); 35011var model = comp.GetSemanticModel(tree); 35047var model = comp.GetSemanticModel(tree); 35078var model = comp.GetSemanticModel(tree); 35106var model = comp.GetSemanticModel(tree); 35148var model = comp.GetSemanticModel(tree); 35194var model = comp.GetSemanticModel(tree); 35257var model = comp.GetSemanticModel(tree); 35353var model = comp.GetSemanticModel(tree); 35748var model = comp.GetSemanticModel(tree); 36176var model = compilation.GetSemanticModel(tree); 36217var model = compilation.GetSemanticModel(tree); 40868var model = comp.GetSemanticModel(tree); 40903var model = comp.GetSemanticModel(tree); 40940var model = comp.GetSemanticModel(tree); 40977var model = comp.GetSemanticModel(tree); 41014var model = comp.GetSemanticModel(tree); 41051var model = comp.GetSemanticModel(tree); 41094var model = comp.GetSemanticModel(tree); 44972var model = comp.GetSemanticModel(tree); 45028var model = comp.GetSemanticModel(tree); 45075var model = comp.GetSemanticModel(tree); 45127var model = comp.GetSemanticModel(tree);
Semantics\ExtensionOperatorsTests.cs (127)
688var model = comp2.GetSemanticModel(tree); 787var model = comp.GetSemanticModel(tree); 835var model = comp.GetSemanticModel(tree); 906var model = comp.GetSemanticModel(tree); 967var model = comp.GetSemanticModel(tree); 1034var model = comp.GetSemanticModel(tree); 1755var model = comp.GetSemanticModel(tree); 2188var model = comp2.GetSemanticModel(tree); 3292var model = comp.GetSemanticModel(tree); 3350var model = comp.GetSemanticModel(tree); 3919var model = comp.GetSemanticModel(tree); 3960var model = comp.GetSemanticModel(tree); 4000var model = comp.GetSemanticModel(tree); 4047var model = comp.GetSemanticModel(tree); 4286var model = comp.GetSemanticModel(tree); 4784var model = comp2.GetSemanticModel(tree); 4902var model = comp2.GetSemanticModel(tree); 5074var model = comp.GetSemanticModel(tree); 5128var model = comp.GetSemanticModel(tree); 5176var model = comp.GetSemanticModel(tree); 5224var model = comp.GetSemanticModel(tree); 5273var model = comp.GetSemanticModel(tree); 5321var model = comp.GetSemanticModel(tree); 5370var model = comp.GetSemanticModel(tree); 5421var model = comp.GetSemanticModel(tree); 5476var model = comp.GetSemanticModel(tree); 5590var model = comp.GetSemanticModel(tree); 5662var model = comp.GetSemanticModel(tree); 5733var model = comp.GetSemanticModel(tree); 5804var model = comp.GetSemanticModel(tree); 5866var model = comp.GetSemanticModel(tree); 5929var model = comp.GetSemanticModel(tree); 5994var model = comp.GetSemanticModel(tree); 6063var model = comp.GetSemanticModel(tree); 6131var model = comp.GetSemanticModel(tree); 6205var model = comp.GetSemanticModel(tree); 7688var model = comp.GetSemanticModel(tree); 7770var model = comp.GetSemanticModel(tree); 8414var model = comp2.GetSemanticModel(tree); 8485var model = comp2.GetSemanticModel(tree); 9041var model = comp.GetSemanticModel(tree); 9099var model = comp.GetSemanticModel(tree); 9735var model = comp.GetSemanticModel(tree); 9794var model = comp.GetSemanticModel(tree); 10221var model = comp.GetSemanticModel(tree); 10262var model = comp.GetSemanticModel(tree); 10305var model = comp.GetSemanticModel(tree); 10348var model = comp.GetSemanticModel(tree); 10511var model = comp.GetSemanticModel(tree); 10578var model = comp.GetSemanticModel(tree); 11594var model = comp2.GetSemanticModel(tree); 11693var model = comp.GetSemanticModel(tree); 11741var model = comp.GetSemanticModel(tree); 11812var model = comp.GetSemanticModel(tree); 11873var model = comp.GetSemanticModel(tree); 11940var model = comp.GetSemanticModel(tree); 13307var model = comp.GetSemanticModel(tree); 13845var model = comp2.GetSemanticModel(tree); 14171var model = comp.GetSemanticModel(tree); 14934var model = comp.GetSemanticModel(tree); 14984var model = comp.GetSemanticModel(tree); 15154var model = comp.GetSemanticModel(tree); 15221var model = comp.GetSemanticModel(tree); 15345var model = comp.GetSemanticModel(tree); 16140var model = comp.GetSemanticModel(tree); 16191var model = comp.GetSemanticModel(tree); 17296var model = comp.GetSemanticModel(tree); 17436var model = comp.GetSemanticModel(tree); 17868var model = comp.GetSemanticModel(tree); 17941var model = comp.GetSemanticModel(tree); 18404var model = comp.GetSemanticModel(tree); 18454var model = comp.GetSemanticModel(tree); 18947var model = comp2.GetSemanticModel(tree); 19074var model = comp2.GetSemanticModel(tree); 19178var model = comp2.GetSemanticModel(tree); 19238var model = comp2.GetSemanticModel(tree); 19299var model = comp2.GetSemanticModel(tree); 19338var model = comp2.GetSemanticModel(tree); 19381var model = comp2.GetSemanticModel(tree); 19435var model = comp.GetSemanticModel(tree); 19480var model = comp.GetSemanticModel(tree); 19920var model = comp.GetSemanticModel(tree); 19975var model = comp.GetSemanticModel(tree); 20429var model = comp2.GetSemanticModel(tree); 20556var model = comp2.GetSemanticModel(tree); 20736var model = comp.GetSemanticModel(tree); 20790var model = comp.GetSemanticModel(tree); 20838var model = comp.GetSemanticModel(tree); 20886var model = comp.GetSemanticModel(tree); 20935var model = comp.GetSemanticModel(tree); 20983var model = comp.GetSemanticModel(tree); 21032var model = comp.GetSemanticModel(tree); 21083var model = comp.GetSemanticModel(tree); 21138var model = comp.GetSemanticModel(tree); 21252var model = comp.GetSemanticModel(tree); 21324var model = comp.GetSemanticModel(tree); 21395var model = comp.GetSemanticModel(tree); 21466var model = comp.GetSemanticModel(tree); 21528var model = comp.GetSemanticModel(tree); 21591var model = comp.GetSemanticModel(tree); 21656var model = comp.GetSemanticModel(tree); 21725var model = comp.GetSemanticModel(tree); 21793var model = comp.GetSemanticModel(tree); 21867var model = comp.GetSemanticModel(tree); 23863var model = comp.GetSemanticModel(tree); 23945var model = comp.GetSemanticModel(tree); 25934var model = comp.GetSemanticModel(tree); 26034var model = comp.GetSemanticModel(tree); 26518var model = comp.GetSemanticModel(tree); 26573var model = comp.GetSemanticModel(tree); 27015var model = comp.GetSemanticModel(tree); 27060var model = comp.GetSemanticModel(tree); 27438var model = comp.GetSemanticModel(tree); 27493var model = comp.GetSemanticModel(tree); 27542var model = comp.GetSemanticModel(tree); 27597var model = comp.GetSemanticModel(tree); 27762var model = comp.GetSemanticModel(tree); 27796var model = comp.GetSemanticModel(tree); 27841var model = comp.GetSemanticModel(tree); 27929var model = comp.GetSemanticModel(tree); 28056var model = comp.GetSemanticModel(tree); 28146var model = comp.GetSemanticModel(tree); 28348var model = comp.GetSemanticModel(tree); 28511var model = comp.GetSemanticModel(tree); 28678var model = comp.GetSemanticModel(tree); 28805var model = comp.GetSemanticModel(tree); 29103var model = comp.GetSemanticModel(tree);
Semantics\ExtensionTests.cs (473)
148var model = comp.GetSemanticModel(tree); 249var model = comp.GetSemanticModel(tree); 337var model = comp.GetSemanticModel(tree); 371var model = comp.GetSemanticModel(tree); 398var model = comp.GetSemanticModel(tree); 428var model = comp.GetSemanticModel(tree); 458var model = comp.GetSemanticModel(tree); 487var model = comp.GetSemanticModel(tree); 518var model = comp.GetSemanticModel(tree); 542var model = comp.GetSemanticModel(tree); 647var model = comp.GetSemanticModel(tree); 678var model = comp.GetSemanticModel(tree); 719var model = comp.GetSemanticModel(tree); 772var model = comp.GetSemanticModel(tree); 888var model = comp.GetSemanticModel(tree); 916var model1 = comp.GetSemanticModel(tree1); 925var model2 = comp.GetSemanticModel(tree2); 950var model = comp.GetSemanticModel(tree); 977var model = comp.GetSemanticModel(tree); 1281var model = comp.GetSemanticModel(tree); 1458var model = comp.GetSemanticModel(tree); 1632var model = comp.GetSemanticModel(tree); 1656var model = comp.GetSemanticModel(tree); 1689var model = comp.GetSemanticModel(tree); 1718var model = comp.GetSemanticModel(tree); 1746var model = comp.GetSemanticModel(tree); 1785var model = comp.GetSemanticModel(tree); 1877var model = comp.GetSemanticModel(tree); 1905var model = comp.GetSemanticModel(tree); 1992var model = comp.GetSemanticModel(tree); 2171var model = comp.GetSemanticModel(tree); 2204var model = comp.GetSemanticModel(tree); 2359var model = comp.GetSemanticModel(tree); 2386var model = comp.GetSemanticModel(tree); 2420var model = comp.GetSemanticModel(tree); 2491var model = comp.GetSemanticModel(tree); 2526var model = comp.GetSemanticModel(tree); 2580var model = comp.GetSemanticModel(tree); 2608var model = comp.GetSemanticModel(tree); 2642var model = comp.GetSemanticModel(tree); 2668var model = comp.GetSemanticModel(tree); 2725var model = comp.GetSemanticModel(tree); 2742var model = comp.GetSemanticModel(tree); 2758var model = comp.GetSemanticModel(tree); 2781var model = comp.GetSemanticModel(tree); 2826var model = comp.GetSemanticModel(tree); 2848var model = comp.GetSemanticModel(tree); 2877var model = comp.GetSemanticModel(tree); 2925var model = comp.GetSemanticModel(tree); 2949var model = comp.GetSemanticModel(tree); 2975var model = comp.GetSemanticModel(tree); 3317var model = comp.GetSemanticModel(tree); 3379var model = comp.GetSemanticModel(tree); 3401var model = comp.GetSemanticModel(tree); 3564var model = comp.GetSemanticModel(tree); 3692var model = comp.GetSemanticModel(tree); 3939var model = comp.GetSemanticModel(tree); 4242var model = comp.GetSemanticModel(tree); 4347var model = comp.GetSemanticModel(tree); 4976var model = comp.GetSemanticModel(tree); 5007var model = comp.GetSemanticModel(tree); 5051var model = comp.GetSemanticModel(tree); 12291var model = comp.GetSemanticModel(tree); 12317var model = comp.GetSemanticModel(tree); 12343model = comp.GetSemanticModel(tree); 12379var model = comp.GetSemanticModel(tree); 12404model = comp.GetSemanticModel(tree); 12432var model = comp.GetSemanticModel(tree); 12467var model = comp.GetSemanticModel(tree); 12503var model = comp.GetSemanticModel(tree); 12640var model = comp.GetSemanticModel(tree); 12725var model = comp.GetSemanticModel(tree); 12765var model = comp.GetSemanticModel(tree); 12871var model = comp.GetSemanticModel(tree); 12927var model = comp.GetSemanticModel(tree); 12977var model = comp.GetSemanticModel(tree); 13016var model = comp.GetSemanticModel(tree); 13047var model = comp.GetSemanticModel(tree); 13079var model = comp.GetSemanticModel(tree); 13115var model = comp.GetSemanticModel(tree); 13153var model = comp.GetSemanticModel(tree); 13186var model = comp.GetSemanticModel(tree); 13228var model = comp.GetSemanticModel(tree); 13263var model = comp.GetSemanticModel(tree); 13289var model = comp.GetSemanticModel(tree); 13319var model = comp.GetSemanticModel(tree); 13349var model = comp.GetSemanticModel(tree); 13383var model = comp.GetSemanticModel(tree); 13416var model = comp.GetSemanticModel(tree); 13447var model = comp.GetSemanticModel(tree); 13506var model = comp.GetSemanticModel(tree); 13533var model = comp.GetSemanticModel(tree); 13566var model = comp.GetSemanticModel(tree); 13594var model = comp.GetSemanticModel(tree); 13624var model = comp.GetSemanticModel(tree); 13654var model = comp.GetSemanticModel(tree); 13681var model = comp.GetSemanticModel(tree); 13779var model = comp.GetSemanticModel(tree); 13802var model = comp.GetSemanticModel(tree); 13830var model = comp.GetSemanticModel(tree); 13862var model = comp.GetSemanticModel(tree); 13919var model = comp.GetSemanticModel(tree); 13952var model = comp.GetSemanticModel(tree); 13996var model = comp.GetSemanticModel(tree); 14041var model = comp.GetSemanticModel(tree); 14288var model = comp.GetSemanticModel(tree); 14332var model = comp.GetSemanticModel(tree); 14369var model = comp.GetSemanticModel(tree); 14406var model = comp.GetSemanticModel(tree); 14443var model = comp.GetSemanticModel(tree); 14480var model = comp.GetSemanticModel(tree); 14512var model = comp.GetSemanticModel(tree); 14550var model = comp.GetSemanticModel(tree); 14576var model = comp.GetSemanticModel(tree); 14602var model = comp.GetSemanticModel(tree); 14628var model = comp.GetSemanticModel(tree); 14663var model = comp.GetSemanticModel(tree); 14713var model = comp.GetSemanticModel(tree); 14744var model = comp.GetSemanticModel(tree); 14775var model = comp.GetSemanticModel(tree); 14805var model = comp.GetSemanticModel(tree); 14835var model = comp.GetSemanticModel(tree); 14881var model = comp.GetSemanticModel(tree); 14913var model = comp.GetSemanticModel(tree); 14992var model = comp.GetSemanticModel(tree); 15034var model = comp.GetSemanticModel(tree); 15106var model = comp.GetSemanticModel(tree); 15172var model = comp.GetSemanticModel(tree); 15207var model = comp.GetSemanticModel(tree); 15253var model = comp.GetSemanticModel(tree); 15285var model = comp.GetSemanticModel(tree); 15312var model = comp.GetSemanticModel(tree); 15340var model = comp.GetSemanticModel(tree); 15367var model = comp.GetSemanticModel(tree); 15429var model = comp.GetSemanticModel(tree); 15459var model = comp.GetSemanticModel(tree); 15511var model = comp.GetSemanticModel(tree); 15586var model = comp.GetSemanticModel(tree); 15625var model = comp.GetSemanticModel(tree); 15661var model = comp.GetSemanticModel(tree); 15718var model = comp.GetSemanticModel(tree); 15745var model = comp.GetSemanticModel(tree); 16055var model = comp.GetSemanticModel(tree); 16081var model = comp.GetSemanticModel(tree); 16144var model = comp.GetSemanticModel(tree); 16224var model = comp.GetSemanticModel(tree); 16274model = comp.GetSemanticModel(tree); 16337var model = comp.GetSemanticModel(tree); 16360var model = comp.GetSemanticModel(tree); 16387var model = comp.GetSemanticModel(tree); 16414var model = comp.GetSemanticModel(tree); 16440var model = comp.GetSemanticModel(tree); 16465var model = comp.GetSemanticModel(tree); 16492var model = comp.GetSemanticModel(tree); 16565var model = comp.GetSemanticModel(tree); 16593var model = comp.GetSemanticModel(tree); 16622var model = comp.GetSemanticModel(tree); 16649var model = comp.GetSemanticModel(tree); 16677var model = comp.GetSemanticModel(tree); 16780var model = comp.GetSemanticModel(tree); 16898var model = comp.GetSemanticModel(tree); 16925var model = comp.GetSemanticModel(tree); 16950var model = comp.GetSemanticModel(tree); 16974var model = comp.GetSemanticModel(tree); 16999var model = comp.GetSemanticModel(tree); 17022var model = comp.GetSemanticModel(tree); 17047var model = comp.GetSemanticModel(tree); 17284var model = comp.GetSemanticModel(tree); 17313var model = comp.GetSemanticModel(tree); 17345var model = comp.GetSemanticModel(tree); 17368var model = comp.GetSemanticModel(tree); 17392var model = comp.GetSemanticModel(tree); 17417var model = comp.GetSemanticModel(tree); 17441var model = comp.GetSemanticModel(tree); 17466var model = comp.GetSemanticModel(tree); 17495var model = comp.GetSemanticModel(tree); 17528var model = comp.GetSemanticModel(tree); 17557var model = comp.GetSemanticModel(tree); 17585var model = comp.GetSemanticModel(tree); 17614var model = comp.GetSemanticModel(tree); 17641var model = comp.GetSemanticModel(tree); 17674var model = comp.GetSemanticModel(tree); 17784var model = comp.GetSemanticModel(tree); 17820var model = comp.GetSemanticModel(tree); 17857var model = comp.GetSemanticModel(tree); 17884var model = comp.GetSemanticModel(tree); 17920var model = comp.GetSemanticModel(tree); 17968var model = comp.GetSemanticModel(tree); 18001var model = comp.GetSemanticModel(tree); 18029var model = comp.GetSemanticModel(tree); 18057var model = comp.GetSemanticModel(tree); 18085var model = comp.GetSemanticModel(tree); 18113var model = comp.GetSemanticModel(tree); 18141var model = comp.GetSemanticModel(tree); 18178var model = comp.GetSemanticModel(tree); 18208var model = comp.GetSemanticModel(tree); 18282var model = comp.GetSemanticModel(tree); 18311var model = comp.GetSemanticModel(tree); 18336var model = comp.GetSemanticModel(tree); 18424var model = comp.GetSemanticModel(tree); 18470var model = comp.GetSemanticModel(tree); 18496var model = comp.GetSemanticModel(tree); 18523var model = comp.GetSemanticModel(tree); 18561var model = comp.GetSemanticModel(tree); 18599var model = comp.GetSemanticModel(tree); 18638var model = comp.GetSemanticModel(tree); 18679var model = comp.GetSemanticModel(tree); 18720var model = comp.GetSemanticModel(tree); 18764var model = comp.GetSemanticModel(tree); 18808var model = comp.GetSemanticModel(tree); 18847var model = comp.GetSemanticModel(tree); 18886var model = comp.GetSemanticModel(tree); 18925var model = comp.GetSemanticModel(tree); 18963var model = comp.GetSemanticModel(tree); 19010var model = comp.GetSemanticModel(tree); 19042var model = comp.GetSemanticModel(tree); 19074var model = comp.GetSemanticModel(tree); 19124var model = comp.GetSemanticModel(tree); 19158var model = comp.GetSemanticModel(tree); 19190var model = comp.GetSemanticModel(tree); 19228var model = comp.GetSemanticModel(tree); 19265var model = comp.GetSemanticModel(tree); 19298var model = comp.GetSemanticModel(tree); 19348var model = comp.GetSemanticModel(tree); 19395var model = comp.GetSemanticModel(tree); 19423var model = comp.GetSemanticModel(tree); 19453var model = comp.GetSemanticModel(tree); 19480var model = comp.GetSemanticModel(tree); 19507var model = comp.GetSemanticModel(tree); 19540var model = comp.GetSemanticModel(tree); 19586var model = comp.GetSemanticModel(tree); 19614var model = comp.GetSemanticModel(tree); 19648var model = comp.GetSemanticModel(tree); 19678var model = comp.GetSemanticModel(tree); 19793var model = comp.GetSemanticModel(tree); 19894var model = comp.GetSemanticModel(tree); 20023var model = comp.GetSemanticModel(tree); 20055var model = comp.GetSemanticModel(tree); 20080var model = comp.GetSemanticModel(tree); 20268var model = comp.GetSemanticModel(tree); 20335var model = comp.GetSemanticModel(tree); 20377var model = comp.GetSemanticModel(tree); 20425var model = comp.GetSemanticModel(tree); 20470var model = comp.GetSemanticModel(tree); 20507var model = comp.GetSemanticModel(tree); 20555var model = comp.GetSemanticModel(tree); 20603var model = comp.GetSemanticModel(tree); 20653var model = comp.GetSemanticModel(tree); 20703var model = comp.GetSemanticModel(tree); 20757var model = comp.GetSemanticModel(tree); 20811var model = comp.GetSemanticModel(tree); 20865var model = comp.GetSemanticModel(tree); 20913var model = comp.GetSemanticModel(tree); 20961var model = comp.GetSemanticModel(tree); 21001var model = comp.GetSemanticModel(tree); 21041var model = comp.GetSemanticModel(tree); 21084var model = comp.GetSemanticModel(tree); 21124var model = comp.GetSemanticModel(tree); 21167var model = comp.GetSemanticModel(tree); 21298var model = comp.GetSemanticModel(tree); 21319model = comp.GetSemanticModel(tree); 21360var model = comp.GetSemanticModel(tree); 21415var model = comp.GetSemanticModel(tree); 21457var model = comp.GetSemanticModel(tree); 21718var model = comp.GetSemanticModel(tree); 21881var model = comp.GetSemanticModel(tree); 23891var model = comp.GetSemanticModel(tree); 23945var model = comp.GetSemanticModel(tree); 24122var model = comp.GetSemanticModel(tree); 24686var model = comp.GetSemanticModel(tree); 24719var model = comp.GetSemanticModel(tree); 24750var model = comp.GetSemanticModel(tree); 24778var model = comp.GetSemanticModel(tree); 24806var model = comp.GetSemanticModel(tree); 24832var model = comp.GetSemanticModel(tree); 24859var model = comp.GetSemanticModel(tree); 24891var model = comp.GetSemanticModel(tree); 24928var model = comp.GetSemanticModel(tree); 24958var model = comp.GetSemanticModel(tree); 24985var model = comp.GetSemanticModel(tree); 25023var model = comp.GetSemanticModel(tree); 25060var model = comp.GetSemanticModel(tree); 25101var model = comp.GetSemanticModel(tree); 25138var model = comp.GetSemanticModel(tree); 25174var model = comp.GetSemanticModel(tree); 25211var model = comp.GetSemanticModel(tree); 25386var model = comp.GetSemanticModel(tree); 25433var model = comp.GetSemanticModel(tree); 25468var model = comp.GetSemanticModel(tree); 25498var model = comp.GetSemanticModel(tree); 25528var model = comp.GetSemanticModel(tree); 25577var model = comp.GetSemanticModel(tree); 25624var model = comp.GetSemanticModel(tree); 25656var model = comp.GetSemanticModel(tree); 25683var model = comp.GetSemanticModel(tree); 25801var model = comp.GetSemanticModel(tree); 25836var model = comp.GetSemanticModel(tree); 25894var model = comp.GetSemanticModel(tree); 25933var model = comp.GetSemanticModel(tree); 25983var model = comp.GetSemanticModel(tree); 27651var model = comp.GetSemanticModel(tree); 28095var model = comp.GetSemanticModel(tree); 28218var model = comp.GetSemanticModel(tree); 28372var model = comp.GetSemanticModel(tree); 28913var model = comp.GetSemanticModel(tree); 28942var model = comp.GetSemanticModel(tree); 28977var model = comp.GetSemanticModel(tree); 29012var model = comp.GetSemanticModel(tree); 29040var model = comp.GetSemanticModel(tree); 29092var model = comp.GetSemanticModel(tree); 29132var model = comp.GetSemanticModel(tree); 29165var model = comp.GetSemanticModel(tree); 29259var model = comp.GetSemanticModel(tree); 29292var model = comp.GetSemanticModel(tree); 29322var model = comp.GetSemanticModel(tree); 29350var model = comp.GetSemanticModel(tree); 29378var model = comp.GetSemanticModel(tree); 29408var model = comp.GetSemanticModel(tree); 29462var model = comp.GetSemanticModel(tree); 29491var model = comp.GetSemanticModel(tree); 29520var model = comp.GetSemanticModel(tree); 29548var model = comp.GetSemanticModel(tree); 29604var model = comp.GetSemanticModel(tree); 29721var model = comp.GetSemanticModel(tree); 29762var model = comp.GetSemanticModel(tree); 30043var model = comp.GetSemanticModel(tree); 30066var model = comp.GetSemanticModel(tree); 33826var model = comp.GetSemanticModel(tree); 33853var model = comp.GetSemanticModel(tree); 33880var model = comp.GetSemanticModel(tree); 33907var model = comp.GetSemanticModel(tree); 33934var model = comp.GetSemanticModel(tree); 33981var model = comp.GetSemanticModel(tree); 34011var model = comp.GetSemanticModel(tree); 34057var model = comp.GetSemanticModel(tree); 34082var model = comp.GetSemanticModel(tree); 34113var model = comp.GetSemanticModel(tree); 34141var model = comp.GetSemanticModel(tree); 34170var model = comp.GetSemanticModel(tree); 34249var model = comp.GetSemanticModel(tree); 34292var model = comp.GetSemanticModel(tree); 34323var model = comp.GetSemanticModel(tree); 34359var model = comp.GetSemanticModel(tree); 34417var model = comp.GetSemanticModel(tree); 34463var model = comp.GetSemanticModel(tree); 34598var model = comp.GetSemanticModel(tree); 34638var model = comp.GetSemanticModel(tree); 34674var model = comp.GetSemanticModel(tree); 34723var model = comp.GetSemanticModel(tree); 34772var model = comp.GetSemanticModel(tree); 34861var model = comp.GetSemanticModel(tree); 34894var model = comp.GetSemanticModel(tree); 34924var model = comp.GetSemanticModel(tree); 34955var model = comp.GetSemanticModel(tree); 34986var model = comp.GetSemanticModel(tree); 35020var model = comp.GetSemanticModel(tree); 35081var model = comp.GetSemanticModel(tree); 35115var model = comp.GetSemanticModel(tree); 35148var model = comp.GetSemanticModel(tree); 35486var model = comp.GetSemanticModel(tree); 35520var model = comp.GetSemanticModel(tree); 35544var model = comp.GetSemanticModel(tree); 35598var model = comp.GetSemanticModel(tree); 35788var model = comp.GetSemanticModel(tree); 35818var model = comp.GetSemanticModel(tree); 35858var model = comp.GetSemanticModel(tree); 35890var model = comp.GetSemanticModel(tree); 35923var model = comp.GetSemanticModel(tree); 36174var model = comp.GetSemanticModel(tree); 36200var model = comp.GetSemanticModel(tree); 36287var model = comp.GetSemanticModel(tree); 36318var model = comp.GetSemanticModel(tree); 36349var model = comp.GetSemanticModel(tree); 36380var model = comp.GetSemanticModel(tree); 36411var model = comp.GetSemanticModel(tree); 36446var model = comp.GetSemanticModel(tree); 36481var model = comp.GetSemanticModel(tree); 36565var model = comp.GetSemanticModel(tree); 36614var model = comp.GetSemanticModel(tree); 36649var model = comp.GetSemanticModel(tree); 36680var model = comp.GetSemanticModel(tree); 36714var model = comp.GetSemanticModel(tree); 36752var model = comp.GetSemanticModel(tree); 36889var model = comp.GetSemanticModel(tree); 36948var model = comp.GetSemanticModel(tree); 37445var model = comp.GetSemanticModel(tree); 37475var model = comp.GetSemanticModel(tree); 37506var model = comp.GetSemanticModel(tree); 37534var model = comp.GetSemanticModel(tree); 37561var model = comp.GetSemanticModel(tree); 37581model = comp.GetSemanticModel(tree); 37608var model = comp.GetSemanticModel(tree); 37631var model = comp.GetSemanticModel(tree); 37660var model = comp.GetSemanticModel(tree); 37701var model = comp.GetSemanticModel(tree); 37737var model = comp.GetSemanticModel(tree); 37757var model = comp.GetSemanticModel(tree); 37778model = comp.GetSemanticModel(tree); 37817var model = comp.GetSemanticModel(tree); 37881var model = comp.GetSemanticModel(tree); 37914var model = comp.GetSemanticModel(tree); 37953var model = comp.GetSemanticModel(tree); 37985var model = comp.GetSemanticModel(tree); 38026var model = comp.GetSemanticModel(tree); 38057var model = comp.GetSemanticModel(tree); 38088var model = comp.GetSemanticModel(tree); 38112var model = comp.GetSemanticModel(tree); 38146var model = comp.GetSemanticModel(tree); 38177var model = comp.GetSemanticModel(tree); 38211var model = comp.GetSemanticModel(tree); 38248var model = comp.GetSemanticModel(tree); 38284var model = comp.GetSemanticModel(tree); 38324var model = comp.GetSemanticModel(tree); 38360var model = comp.GetSemanticModel(tree); 38396var model = comp.GetSemanticModel(tree); 38432var model = comp.GetSemanticModel(tree); 38460var model = comp.GetSemanticModel(tree); 38484var model = comp.GetSemanticModel(tree); 38515var model = comp.GetSemanticModel(tree); 38546var model = comp.GetSemanticModel(tree); 38583var model = comp.GetSemanticModel(tree); 38609var model = comp.GetSemanticModel(tree); 38634var model = comp.GetSemanticModel(tree); 38660var model = comp.GetSemanticModel(tree); 38714var model = comp.GetSemanticModel(tree); 38752var model = comp.GetSemanticModel(tree); 38781var model = comp.GetSemanticModel(tree); 38811var model = comp.GetSemanticModel(tree); 38841var model = comp.GetSemanticModel(tree); 38863var model = comp.GetSemanticModel(tree); 38896var model = comp.GetSemanticModel(tree); 38930var model = comp.GetSemanticModel(tree); 38963var model = comp.GetSemanticModel(tree); 39006var model = comp.GetSemanticModel(tree); 39131var model = comp.GetSemanticModel(tree); 39764var model = comp.GetSemanticModel(tree); 39822var model = comp.GetSemanticModel(tree); 40345var model = comp.GetSemanticModel(tree); 40371var model = comp.GetSemanticModel(tree); 40394var model = comp.GetSemanticModel(tree); 40420var model = comp.GetSemanticModel(tree); 40444var model = comp.GetSemanticModel(tree); 40470var model = comp.GetSemanticModel(tree); 40496var model = comp.GetSemanticModel(tree); 40520var model = comp.GetSemanticModel(tree); 40545var model = comp.GetSemanticModel(tree); 40589var model = comp.GetSemanticModel(tree); 40630var model = comp.GetSemanticModel(tree); 40745var model = comp.GetSemanticModel(tree); 40770model = comp.GetSemanticModel(tree); 40817var model = comp.GetSemanticModel(tree); 46137var model = comp.GetSemanticModel(tree); 46185var model = comp.GetSemanticModel(tree); 46226var model = comp.GetSemanticModel(tree); 46265var model = comp.GetSemanticModel(tree); 46490var model = comp.GetSemanticModel(tree); 46531var model = comp.GetSemanticModel(tree); 46597var model = comp.GetSemanticModel(tree); 46733var model = comp.GetSemanticModel(tree); 46780var model = comp.GetSemanticModel(tree); 46833var model = comp.GetSemanticModel(tree); 46888var model = comp.GetSemanticModel(tree); 46932var model = comp.GetSemanticModel(tree); 47255var model = comp.GetSemanticModel(tree); 47297var model = comp.GetSemanticModel(tree); 48980var model = comp.GetSemanticModel(tree); 49012model = comp.GetSemanticModel(tree); 49241var model = comp.GetSemanticModel(tree); 49274var model = comp.GetSemanticModel(tree); 50422var model = comp.GetSemanticModel(tree); 51634var model = comp.GetSemanticModel(tree); 51721var model = comp.GetSemanticModel(tree); 51746var model = comp.GetSemanticModel(tree);
Semantics\ExtensionTests2.cs (60)
1377var model = comp.GetSemanticModel(tree); 1456var model = comp.GetSemanticModel(tree); 1492var model = comp.GetSemanticModel(tree); 3116var model = comp.GetSemanticModel(tree); 5082var model = comp.GetSemanticModel(tree); 5122var model = comp.GetSemanticModel(tree); 5176var model = comp.GetSemanticModel(tree); 5212var model = comp.GetSemanticModel(tree); 5256var model = comp.GetSemanticModel(tree); 5296var model = comp.GetSemanticModel(tree); 5331var model = comp.GetSemanticModel(tree); 5367var model = comp.GetSemanticModel(tree); 5400var model = comp.GetSemanticModel(tree); 5436var model = comp.GetSemanticModel(tree); 5465var model = comp.GetSemanticModel(tree); 5498var model = comp.GetSemanticModel(tree); 5531var model = comp.GetSemanticModel(tree); 5560var model = comp.GetSemanticModel(tree); 5592var model = comp.GetSemanticModel(tree); 5621var model = comp.GetSemanticModel(tree); 5651var model = comp.GetSemanticModel(tree); 5683var model = comp.GetSemanticModel(tree); 5719var model = comp.GetSemanticModel(tree); 5752var model = comp.GetSemanticModel(tree); 5781var model = comp.GetSemanticModel(tree); 5810var model = comp.GetSemanticModel(tree); 5840var model = comp.GetSemanticModel(tree); 5876var model = comp.GetSemanticModel(tree); 5903var model = comp.GetSemanticModel(tree); 5938var model = comp.GetSemanticModel(tree); 5973var model = comp.GetSemanticModel(tree); 6016var model = comp.GetSemanticModel(tree); 6051var model = comp.GetSemanticModel(tree); 6085var model = comp.GetSemanticModel(tree); 6147var model = comp.GetSemanticModel(tree); 6217var model = comp.GetSemanticModel(tree); 6245var model = comp.GetSemanticModel(tree); 6300var model = comp.GetSemanticModel(tree); 6336var model = comp.GetSemanticModel(tree); 6373var model = comp.GetSemanticModel(tree); 6410var model = comp.GetSemanticModel(tree); 6525var model = comp.GetSemanticModel(tree); 6654var model = comp.GetSemanticModel(tree); 6675var model = comp.GetSemanticModel(tree); 6713var model = comp.GetSemanticModel(tree); 6777var model = comp.GetSemanticModel(tree); 6915var model = comp.GetSemanticModel(tree); 6939var model = comp.GetSemanticModel(tree); 6964var model = comp.GetSemanticModel(tree); 7077var model = comp.GetSemanticModel(tree); 7124var model = comp.GetSemanticModel(tree); 30759var model = comp.GetSemanticModel(tree); 32404var model = comp.GetSemanticModel(tree); 33823var model = comp.GetSemanticModel(tree); 33951var model = comp.GetSemanticModel(tree); 33978var model = comp.GetSemanticModel(tree); 34007var model = comp.GetSemanticModel(tree); 34102var model = comp.GetSemanticModel(tree); 34207var model = comp.GetSemanticModel(tree); 35087var model = comp.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); 8121var model = comp.GetSemanticModel(tree); 8839var model = comp.GetSemanticModel(tree); 9207var model = comp.GetSemanticModel(tree); 10551var model = comp.GetSemanticModel(tree); 11295var model = comp.GetSemanticModel(tree); 15212var model = comp.GetSemanticModel(tree); 16499var model = comp.GetSemanticModel(tree); 18587var model = comp.GetSemanticModel(tree); 18913var model = comp.GetSemanticModel(tree); 19250var model = comp.GetSemanticModel(tree);
Semantics\LockTests.cs (1)
181var model = compilation.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); 906var model = compilation.GetSemanticModel(tree); 1403var model = compilation.GetSemanticModel(tree); 1461var model = compilation.GetSemanticModel(tree); 1495var model = compilation.GetSemanticModel(tree); 1530var model = compilation.GetSemanticModel(tree); 1564var model = compilation.GetSemanticModel(tree); 1598var model = compilation.GetSemanticModel(tree); 1638var model = compilation.GetSemanticModel(tree); 1676var model = compilation.GetSemanticModel(tree); 1713var model = compilation.GetSemanticModel(tree); 1749var model = compilation.GetSemanticModel(tree); 1882var model = compilation.GetSemanticModel(tree); 2003var model = compilation.GetSemanticModel(tree); 2113var model = compilation.GetSemanticModel(tree); 2224var model = compilation.GetSemanticModel(tree); 2334var model = compilation.GetSemanticModel(tree); 2636var model = compilation.GetSemanticModel(tree); 2853var model = compilation.GetSemanticModel(tree); 2948var model = compilation.GetSemanticModel(tree); 3200var model = compilation.GetSemanticModel(tree); 3302var model = compilation.GetSemanticModel(tree); 3374var model = compilation.GetSemanticModel(tree); 3426var model = compilation.GetSemanticModel(tree); 3460var model = compilation.GetSemanticModel(tree); 3501var model = compilation.GetSemanticModel(tree); 3642var model = compilation.GetSemanticModel(tree); 3863var model = compilation.GetSemanticModel(tree); 3960var model = compilation.GetSemanticModel(tree); 3996var model = compilation.GetSemanticModel(tree); 4051var model = compilation.GetSemanticModel(tree); 4095var model = compilation.GetSemanticModel(tree); 4146var model = compilation.GetSemanticModel(tree); 4206var model = compilation.GetSemanticModel(tree); 4272var model = compilation.GetSemanticModel(tree); 4495var model = compilation.GetSemanticModel(tree); 4674var model = compilation.GetSemanticModel(tree); 4915var model = compilation.GetSemanticModel(tree); 5017var model = compilation.GetSemanticModel(tree); 5064var model = compilation.GetSemanticModel(tree); 5102var model = compilation.GetSemanticModel(tree); 5179var model = compilation.GetSemanticModel(tree); 5282var model = compilation.GetSemanticModel(tree); 5409var model = compilation.GetSemanticModel(tree); 5511var model = compilation.GetSemanticModel(tree); 5575var model = compilation.GetSemanticModel(tree); 5707var model = compilation.GetSemanticModel(tree); 5747var model = compilation.GetSemanticModel(tree); 5754Assert.Equal("System.Int32", ((ILocalSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(GetVariableDesignation(x1Decl))).Type.ToTestDisplayString()); 5908var model = compilation.GetSemanticModel(tree); 6049var model = compilation.GetSemanticModel(tree); 6326var model = compilation.GetSemanticModel(tree); 6561var model = compilation.GetSemanticModel(tree); 6817var model = compilation.GetSemanticModel(tree); 7063var model = compilation.GetSemanticModel(tree); 7301var model = compilation.GetSemanticModel(tree); 7623var model = compilation.GetSemanticModel(tree); 7772var model = compilation.GetSemanticModel(tree); 7832var model = compilation.GetSemanticModel(tree); 7894var model = compilation.GetSemanticModel(tree); 7960var model = compilation.GetSemanticModel(tree); 8024var model = compilation.GetSemanticModel(tree); 8091var model = compilation.GetSemanticModel(tree); 8153var model = compilation.GetSemanticModel(tree); 8208var model = compilation.GetSemanticModel(tree); 8386var model = compilation.GetSemanticModel(tree); 8486var model = compilation.GetSemanticModel(tree); 8658var model = compilation.GetSemanticModel(tree); 8760var model = compilation.GetSemanticModel(tree); 8796var model = compilation.GetSemanticModel(tree); 8868var model = compilation.GetSemanticModel(tree); 8918var model = compilation.GetSemanticModel(tree); 9160var model = compilation.GetSemanticModel(tree); 9262var model = compilation.GetSemanticModel(tree); 9333var model = compilation.GetSemanticModel(tree); 9426var model = compilation.GetSemanticModel(tree); 9506var model = compilation.GetSemanticModel(tree); 9582var model = compilation.GetSemanticModel(tree); 9635var model = compilation.GetSemanticModel(tree); 9692var model = compilation.GetSemanticModel(tree); 9757var model = compilation.GetSemanticModel(tree); 9814var model = compilation.GetSemanticModel(tree); 9889var model = compilation.GetSemanticModel(tree); 9984var model = compilation.GetSemanticModel(tree); 10066var model = compilation.GetSemanticModel(tree); 10147var model = compilation.GetSemanticModel(tree); 10203var model = compilation.GetSemanticModel(tree); 10259var model = compilation.GetSemanticModel(tree); 10326var model = compilation.GetSemanticModel(tree); 10385var model = compilation.GetSemanticModel(tree); 10457var model = compilation.GetSemanticModel(tree); 10541var model = compilation.GetSemanticModel(tree); 10719var model = compilation.GetSemanticModel(tree); 10816var model = compilation.GetSemanticModel(tree); 10852var model = compilation.GetSemanticModel(tree); 10907var model = compilation.GetSemanticModel(tree); 10957var model = compilation.GetSemanticModel(tree); 11045var model = compilation.GetSemanticModel(tree); 11182var model = compilation.GetSemanticModel(tree); 11264var model = compilation.GetSemanticModel(tree); 11426var model = compilation.GetSemanticModel(tree); 11466var model = compilation.GetSemanticModel(tree); 11714var model = compilation.GetSemanticModel(tree); 11971var model = compilation.GetSemanticModel(tree); 12123var model = compilation.GetSemanticModel(tree); 12273var model = compilation.GetSemanticModel(tree); 12350var model = compilation.GetSemanticModel(tree); 12419var model = compilation.GetSemanticModel(tree); 12495var model = compilation.GetSemanticModel(tree); 12657var model = compilation.GetSemanticModel(tree); 12777var model = compilation.GetSemanticModel(tree); 12864var model = compilation.GetSemanticModel(tree); 12873Assert.Equal("System.Int32", ((ILocalSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(GetVariableDesignation(yDecl))).Type.ToTestDisplayString()); 12919var model = compilation.GetSemanticModel(tree); 12961var model = compilation.GetSemanticModel(tree); 13016var model = compilation.GetSemanticModel(tree); 13200var model = compilation.GetSemanticModel(tree); 13294var model = compilation.GetSemanticModel(tree); 13332var model = compilation.GetSemanticModel(tree); 13384var model = compilation.GetSemanticModel(tree); 13438var model = compilation.GetSemanticModel(tree); 13604var model = compilation.GetSemanticModel(tree); 13695var model = compilation.GetSemanticModel(tree); 13731var model = compilation.GetSemanticModel(tree); 13795var model = compilation.GetSemanticModel(tree); 13845var model = compilation.GetSemanticModel(tree); 14126var model = compilation.GetSemanticModel(tree); 14255var model = compilation.GetSemanticModel(tree); 14302var model = compilation.GetSemanticModel(tree); 14351var model = compilation.GetSemanticModel(tree); 14393var model = compilation.GetSemanticModel(tree); 14435var model = compilation.GetSemanticModel(tree); 14480var model = compilation.GetSemanticModel(tree); 14522var model = compilation.GetSemanticModel(tree); 14567var model = compilation.GetSemanticModel(tree); 14572model = compilation.GetSemanticModel(tree); 14616var model = compilation.GetSemanticModel(tree); 14670var model = compilation.GetSemanticModel(tree); 14729var model = compilation.GetSemanticModel(tree); 14776var model = compilation.GetSemanticModel(tree); 14781model = compilation.GetSemanticModel(tree); 14826var model = compilation.GetSemanticModel(tree); 14831model = compilation.GetSemanticModel(tree); 14941var model = compilation.GetSemanticModel(tree); 15121var model = compilation.GetSemanticModel(tree); 15214var model = compilation.GetSemanticModel(tree); 15252var model = compilation.GetSemanticModel(tree); 15310var model = compilation.GetSemanticModel(tree); 15368var model = compilation.GetSemanticModel(tree); 15529var model = compilation.GetSemanticModel(tree); 15742var model = compilation.GetSemanticModel(tree); 15955var model = compilation.GetSemanticModel(tree); 16070var model = compilation.GetSemanticModel(tree); 16157var model = compilation.GetSemanticModel(tree); 16398var model = compilation.GetSemanticModel(tree); 16494var model = compilation.GetSemanticModel(tree); 16530var model = compilation.GetSemanticModel(tree); 16587var model = compilation.GetSemanticModel(tree); 16641var model = compilation.GetSemanticModel(tree); 16701var model = compilation.GetSemanticModel(tree); 16761var model = compilation.GetSemanticModel(tree); 16824var model = compilation.GetSemanticModel(tree); 16958var model = compilation.GetSemanticModel(tree); 17050var model = compilation.GetSemanticModel(tree); 17089var model = compilation.GetSemanticModel(tree); 17147var model = compilation.GetSemanticModel(tree); 17201var model = compilation.GetSemanticModel(tree); 17385var model = compilation.GetSemanticModel(tree); 17487var model = compilation.GetSemanticModel(tree); 17525var model = compilation.GetSemanticModel(tree); 17588var model = compilation.GetSemanticModel(tree); 17641var model = compilation.GetSemanticModel(tree); 17676var model = compilation.GetSemanticModel(tree); 17709var model = compilation.GetSemanticModel(tree); 17742var model = compilation.GetSemanticModel(tree); 17781var model = compilation.GetSemanticModel(tree); 17828var model = compilation.GetSemanticModel(tree); 17858var model = compilation.GetSemanticModel(tree); 17889var model = compilation.GetSemanticModel(tree); 17918var model = compilation.GetSemanticModel(tree); 17950var model = compilation.GetSemanticModel(tree); 17992var model = compilation.GetSemanticModel(tree); 18029var model = compilation.GetSemanticModel(tree); 18066var model = compilation.GetSemanticModel(tree); 18101var model = compilation.GetSemanticModel(tree); 18140var model = compilation.GetSemanticModel(tree); 18181var model = compilation.GetSemanticModel(tree); 18224var model = compilation.GetSemanticModel(tree); 18267var model = compilation.GetSemanticModel(tree); 18306var model = compilation.GetSemanticModel(tree); 18347var model = compilation.GetSemanticModel(tree); 18382var model = compilation.GetSemanticModel(tree); 18428var model = compilation.GetSemanticModel(tree); 18434Assert.Equal("System.Int32", ((ILocalSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(GetVariableDesignation(x1Decl))).Type.ToTestDisplayString()); 18492var model = compilation.GetSemanticModel(tree); 18498Assert.Equal("System.Int32", ((ILocalSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(GetVariableDesignation(x1Decl))).Type.ToTestDisplayString()); 18541var model = compilation.GetSemanticModel(tree); 18547Assert.Equal("System.Int32", ((ILocalSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(GetVariableDesignation(x1Decl))).Type.ToTestDisplayString()); 18586var model = compilation.GetSemanticModel(tree); 18592Assert.Equal("System.Int32", ((ILocalSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(GetVariableDesignation(x1Decl))).Type.ToTestDisplayString()); 18638var model = compilation.GetSemanticModel(tree); 18682var model = compilation.GetSemanticModel(tree); 18724var model = compilation.GetSemanticModel(tree); 18778var model = compilation.GetSemanticModel(tree); 18871var model = compilation.GetSemanticModel(tree); 18915var model = compilation.GetSemanticModel(tree); 18957var model = compilation.GetSemanticModel(tree); 19010var model = compilation.GetSemanticModel(tree); 19055var model = compilation.GetSemanticModel(tree); 19098var model = compilation.GetSemanticModel(tree); 19152var model = compilation.GetSemanticModel(tree); 19201var model = compilation.GetSemanticModel(tree); 19248var model = compilation.GetSemanticModel(tree); 19286var model = compilation.GetSemanticModel(tree); 19327var model = compilation.GetSemanticModel(tree); 19361var model = compilation.GetSemanticModel(tree); 19422var model = compilation.GetSemanticModel(tree); 19467var model = compilation.GetSemanticModel(tree); 19505var model = compilation.GetSemanticModel(tree); 19544var model = compilation.GetSemanticModel(tree); 19585var model = compilation.GetSemanticModel(tree); 19648var model = compilation.GetSemanticModel(tree); 19678Assert.True(compilation.GetSemanticModel(tree).GetTypeInfo(x1Ref).Type.TypeKind == TypeKind.Error); 19680var model = compilation.GetSemanticModel(tree); 19681VerifyModelForOutVarWithoutDataFlow(compilation.GetSemanticModel(tree), x1Decl, x1Ref); 19721Assert.True(compilation.GetSemanticModel(tree).GetTypeInfo(x1Ref).Type.TypeKind == TypeKind.Error); 19723var model = compilation.GetSemanticModel(tree); 19724VerifyModelForOutVarWithoutDataFlow(compilation.GetSemanticModel(tree), x1Decl, x1Ref); 19757var model = compilation.GetSemanticModel(tree); 19830var model = compilation.GetSemanticModel(tree); 19863var model = compilation.GetSemanticModel(tree); 19896var model = compilation.GetSemanticModel(tree); 19931var model = compilation.GetSemanticModel(tree); 19966var model = compilation.GetSemanticModel(tree); 20004var model = compilation.GetSemanticModel(tree); 20036var model = compilation.GetSemanticModel(tree); 20210var model = compilation.GetSemanticModel(tree); 20215VerifyModelForOutVar(compilation.GetSemanticModel(tree), x1Decl, x1Ref); 20238var model = compilation.GetSemanticModel(tree); 20346var model = compilation.GetSemanticModel(tree); 20352Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(x1Ref[0]).Type.ToTestDisplayString()); 20358Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(x2Ref[0]).Type.ToTestDisplayString()); 20364Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(x3Ref[0]).Type.ToTestDisplayString()); 20370Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(x4Ref[0]).Type.ToTestDisplayString()); 20603var model = compilation.GetSemanticModel(tree); 20606Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(x1Ref).Type.ToTestDisplayString()); 20646var model = compilation.GetSemanticModel(tree); 20651Assert.True(compilation.GetSemanticModel(tree).GetTypeInfo(x4Ref).Type.TypeKind == TypeKind.Error); 20763var model = compilation.GetSemanticModel(tree); 20777VerifyModelForOutVarWithoutDataFlow(compilation.GetSemanticModel(tree), x1Decl, x1Ref); 20816var model = compilation.GetSemanticModel(tree); 20907var model = compilation.GetSemanticModel(tree); 21026var model = compilation.GetSemanticModel(tree); 21121var model = compilation.GetSemanticModel(tree); 21225var model = compilation.GetSemanticModel(tree); 21282var model = compilation.GetSemanticModel(tree); 21350var model = compilation.GetSemanticModel(tree); 21400var model = compilation.GetSemanticModel(tree); 21408model = compilation.GetSemanticModel(tree); 21634var model = compilation.GetSemanticModel(tree); 21807var model = compilation.GetSemanticModel(tree); 22001var model = compilation.GetSemanticModel(tree); 22128var model = compilation.GetSemanticModel(tree); 22226var model = compilation.GetSemanticModel(tree); 22414var model = compilation.GetSemanticModel(tree); 22569var model = compilation.GetSemanticModel(tree); 22648var model = compilation.GetSemanticModel(tree); 22771var model = compilation.GetSemanticModel(tree); 22853var model = compilation.GetSemanticModel(tree); 22937var model = compilation.GetSemanticModel(tree); 23004var model = compilation.GetSemanticModel(tree); 23043var model = compilation.GetSemanticModel(tree); 23199var model = compilation.GetSemanticModel(tree); 23293var model = compilation.GetSemanticModel(tree); 23383var model = compilation.GetSemanticModel(tree); 23431var model = compilation.GetSemanticModel(tree); 23464var model = compilation.GetSemanticModel(tree); 23515var model = compilation.GetSemanticModel(tree); 23659var model = compilation.GetSemanticModel(tree); 23757var model = compilation.GetSemanticModel(tree); 23855var model = compilation.GetSemanticModel(tree); 23997var model = compilation.GetSemanticModel(tree); 24101var model = compilation.GetSemanticModel(tree); 24196var model = compilation.GetSemanticModel(tree); 24284var model = compilation.GetSemanticModel(tree); 24390var model = compilation.GetSemanticModel(tree); 24483var model = compilation.GetSemanticModel(tree); 24514var model = compilation.GetSemanticModel(tree); 24716var model = compilation.GetSemanticModel(tree); 24975var model = compilation.GetSemanticModel(tree); 25166var model = compilation.GetSemanticModel(tree); 25279var model = compilation.GetSemanticModel(tree); 25378var model = compilation.GetSemanticModel(tree); 25557var model = compilation.GetSemanticModel(tree); 25601var model = compilation.GetSemanticModel(tree); 25682var model = compilation.GetSemanticModel(tree); 25726var model = compilation.GetSemanticModel(tree); 25781var model = compilation.GetSemanticModel(tree); 25862var model = compilation.GetSemanticModel(tree); 25922var model = compilation.GetSemanticModel(tree); 26019var model = compilation.GetSemanticModel(tree); 26076var model = compilation.GetSemanticModel(tree); 26143var model = compilation.GetSemanticModel(tree); 26191var model = compilation.GetSemanticModel(tree); 26272var model = compilation.GetSemanticModel(tree); 26319var model = compilation.GetSemanticModel(tree); 26414var model = compilation.GetSemanticModel(tree); 26420Assert.Equal("System.Int32", ((IFieldSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(x1Decl.VariableDesignation())).Type.ToTestDisplayString()); 26462var model = compilation.GetSemanticModel(tree); 26546var model = compilation.GetSemanticModel(tree); 26606var model = compilation.GetSemanticModel(tree); 26690var model = compilation.GetSemanticModel(tree); 26750var model = compilation.GetSemanticModel(tree); 26811var model = compilation.GetSemanticModel(tree); 26881var model = compilation.GetSemanticModel(tree); 26925var model = compilation.GetSemanticModel(tree); 27011var model = compilation.GetSemanticModel(tree); 27017Assert.Equal("System.Int32", ((IFieldSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(x1Decl.VariableDesignation())).Type.ToTestDisplayString()); 27056var model = compilation.GetSemanticModel(tree); 27148var model = compilation.GetSemanticModel(tree); 27202var model = compilation.GetSemanticModel(tree); 27301var model = compilation.GetSemanticModel(tree); 27355var model = compilation.GetSemanticModel(tree); 27424var model = compilation.GetSemanticModel(tree); 27501var model = compilation.GetSemanticModel(tree); 27574var model = compilation.GetSemanticModel(tree); 27678var model = compilation.GetSemanticModel(tree); 27751var model = compilation.GetSemanticModel(tree); 27814var model = compilation.GetSemanticModel(tree); 27891var model = compilation.GetSemanticModel(tree); 27964var model = compilation.GetSemanticModel(tree); 28069var model = compilation.GetSemanticModel(tree); 28142var model = compilation.GetSemanticModel(tree); 28215var model = compilation.GetSemanticModel(tree); 28290var model = compilation.GetSemanticModel(tree); 28344var model = compilation.GetSemanticModel(tree); 28441var model = compilation.GetSemanticModel(tree); 28495var model = compilation.GetSemanticModel(tree); 28562var model = compilation.GetSemanticModel(tree); 28610var model = compilation.GetSemanticModel(tree); 28694var model = compilation.GetSemanticModel(tree); 28755var model = compilation.GetSemanticModel(tree); 28862var model = compilation.GetSemanticModel(tree); 28918var model = compilation.GetSemanticModel(tree); 29013var model = compilation.GetSemanticModel(tree); 29069var model = compilation.GetSemanticModel(tree); 29134var model = compilation.GetSemanticModel(tree); 29220var model = compilation.GetSemanticModel(tree); 29287var model = compilation.GetSemanticModel(tree); 29396var model = compilation.GetSemanticModel(tree); 29463var model = compilation.GetSemanticModel(tree); 29536var model = compilation.GetSemanticModel(tree); 29585var model = compilation.GetSemanticModel(tree); 29683var model = compilation.GetSemanticModel(tree); 29759var model = compilation.GetSemanticModel(tree); 29884var model = compilation.GetSemanticModel(tree); 29960var model = compilation.GetSemanticModel(tree); 30038var model = compilation.GetSemanticModel(tree); 30124var model = compilation.GetSemanticModel(tree); 30185var model = compilation.GetSemanticModel(tree); 30296var model = compilation.GetSemanticModel(tree); 30357var model = compilation.GetSemanticModel(tree); 30421var model = compilation.GetSemanticModel(tree); 30476var model = compilation.GetSemanticModel(tree); 30520var model = compilation.GetSemanticModel(tree); 30564var model = compilation.GetSemanticModel(tree); 30605var model = compilation.GetSemanticModel(tree); 30685var model = compilation.GetSemanticModel(tree); 30754var model = compilation.GetSemanticModel(tree); 30856var model = compilation.GetSemanticModel(tree); 30925var model = compilation.GetSemanticModel(tree); 30989var model = compilation.GetSemanticModel(tree); 31044var model = compilation.GetSemanticModel(tree); 31088var model = compilation.GetSemanticModel(tree); 31132var model = compilation.GetSemanticModel(tree); 31216var model = compilation.GetSemanticModel(tree); 31275var model = compilation.GetSemanticModel(tree); 31389var model = compilation.GetSemanticModel(tree); 31448var model = compilation.GetSemanticModel(tree); 31517var model = compilation.GetSemanticModel(tree); 31572var model = compilation.GetSemanticModel(tree); 31616var model = compilation.GetSemanticModel(tree); 31660var model = compilation.GetSemanticModel(tree); 31701var model = compilation.GetSemanticModel(tree); 31755var model = compilation.GetSemanticModel(tree); 31789var model = compilation.GetSemanticModel(tree); 31842var model = compilation.GetSemanticModel(tree); 31882var model = compilation.GetSemanticModel(tree); 31932var model = compilation.GetSemanticModel(tree); 31966var model = compilation.GetSemanticModel(tree); 32022var model = compilation.GetSemanticModel(tree); 32062var model = compilation.GetSemanticModel(tree); 32107var model = compilation.GetSemanticModel(tree); 32151var model = compilation.GetSemanticModel(tree); 32185var model = compilation.GetSemanticModel(tree); 32219var model = compilation.GetSemanticModel(tree); 32259var model = compilation.GetSemanticModel(tree); 32299var model = compilation.GetSemanticModel(tree); 32317model = compilation.GetSemanticModel(tree); 32354var model = compilation.GetSemanticModel(tree); 32370model = compilation.GetSemanticModel(tree); 32423var model = compilation.GetSemanticModel(tree); 32470var model = compilation.GetSemanticModel(tree); 32509var model = compilation.GetSemanticModel(tree); 32536var model = compilation.GetSemanticModel(tree); 32564var model = compilation.GetSemanticModel(tree); 32592var model = compilation.GetSemanticModel(tree); 32618var model = compilation.GetSemanticModel(tree); 32656var model = compilation.GetSemanticModel(tree); 32692var model = compilation.GetSemanticModel(tree); 32936var model = compilation.GetSemanticModel(tree); 32965var model = comp.Compilation.GetSemanticModel(tree); 33050var model = comp.GetSemanticModel(tree); 33119var model = comp.GetSemanticModel(tree); 33164var model = comp.GetSemanticModel(tree); 33228var model = comp.GetSemanticModel(tree); 33494var model = comp.GetSemanticModel(tree); 33535var model = comp.GetSemanticModel(tree); 33598var model = compilation.GetSemanticModel(tree); 33681var model = compilation.GetSemanticModel(tree); 33769var model = compilation.GetSemanticModel(tree); 33867var model = compilation.GetSemanticModel(tree); 33966var model = compilation.GetSemanticModel(tree); 34064var model = compilation.GetSemanticModel(tree); 34137var model = compilation.GetSemanticModel(tree); 34193var model = compilation.GetSemanticModel(tree); 34259var model = compilation.GetSemanticModel(tree); 34386var model = compilation.GetSemanticModel(tree); 34477var model = compilation.GetSemanticModel(tree); 34584var model = compilation.GetSemanticModel(tree); 34705var model = compilation.GetSemanticModel(tree); 34745var model = compilation.GetSemanticModel(tree); 34821var model = compilation.GetSemanticModel(tree); 34876var model = compilation.GetSemanticModel(tree); 34930var model = compilation.GetSemanticModel(tree); 34988var model = compilation.GetSemanticModel(tree); 35038var model = compilation.GetSemanticModel(tree); 35092var model = compilation.GetSemanticModel(tree); 35132var model = compilation.GetSemanticModel(tree); 35166var model = compilation.GetSemanticModel(tree); 35205var model = compilation.GetSemanticModel(tree); 35249var model = compilation.GetSemanticModel(tree); 35280var model = compilation.GetSemanticModel(tree); 35319var model = compilation.GetSemanticModel(tree); 35351var model = compilation.GetSemanticModel(tree); 35387var model = compilation.GetSemanticModel(tree); 35426var model = compilation.GetSemanticModel(tree); 35456var model = compilation.GetSemanticModel(tree); 35493var model = compilation.GetSemanticModel(tree); 35545var model = compilation.GetSemanticModel(tree); 35550Assert.Equal("System.Int32", compilation.GetSemanticModel(tree).GetTypeInfo(xRef[0]).Type.ToTestDisplayString()); 35650var model = comp.GetSemanticModel(tree); 35685var model = comp.GetSemanticModel(tree); 35763var model = compilation.GetSemanticModel(tree); 35805var model = compilation.GetSemanticModel(tree); 35834var model = compilation.GetSemanticModel(tree); 35880var model = compilation.GetSemanticModel(tree); 35968var model = compilation.GetSemanticModel(tree); 36108var model = compilation.GetSemanticModel(tree); 36216var model = compilation.GetSemanticModel(tree); 36309var model = compilation.GetSemanticModel(tree); 36348var model = comp.GetSemanticModel(tree); 36394var model = comp.GetSemanticModel(tree); 36434var model = comp.GetSemanticModel(tree); 36476var model = comp.GetSemanticModel(tree); 36511var model = comp.GetSemanticModel(tree); 36549var model = comp.GetSemanticModel(tree);
Semantics\ParamsCollectionTests.cs (16)
164var model = comp.GetSemanticModel(tree); 213var model = comp.GetSemanticModel(tree); 329var model = comp.GetSemanticModel(tree); 512var model = comp.GetSemanticModel(tree); 657var model = comp.GetSemanticModel(tree); 1401var model = comp.GetSemanticModel(tree); 2525var model = comp.GetSemanticModel(tree); 2661var model = comp.GetSemanticModel(tree); 2745var model = comp.GetSemanticModel(tree); 2779model = comp.GetSemanticModel(tree); 2941var model = comp.GetSemanticModel(tree); 2972model = comp.GetSemanticModel(tree); 4326var model = comp2.GetSemanticModel(tree); 5876var model = comp.GetSemanticModel(tree); 5958var model = comp.GetSemanticModel(tree); 9055var model = comp.GetSemanticModel(tree);
Semantics\PatternMatchingTestBase.cs (1)
459var 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); 11392var model = comp.GetSemanticModel(tree); 11416var model = comp.GetSemanticModel(tree); 11437var model = comp.GetSemanticModel(tree); 11494var model = comp.GetSemanticModel(tree);
Semantics\PatternMatchingTests_Global.cs (125)
78var model = compilation.GetSemanticModel(tree); 122var model = compilation.GetSemanticModel(tree); 200var model = compilation.GetSemanticModel(tree); 244var model = compilation.GetSemanticModel(tree); 294var model = compilation.GetSemanticModel(tree); 370var model = compilation.GetSemanticModel(tree); 430var model = compilation.GetSemanticModel(tree); 522var model = compilation.GetSemanticModel(tree); 579var model = compilation.GetSemanticModel(tree); 641var model = compilation.GetSemanticModel(tree); 683var model = compilation.GetSemanticModel(tree); 759var model = compilation.GetSemanticModel(tree); 806var model = compilation.GetSemanticModel(tree); 896var model = compilation.GetSemanticModel(tree); 902Assert.Equal("System.Int32", ((IFieldSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(x1Decl)).Type.ToTestDisplayString()); 944var model = compilation.GetSemanticModel(tree); 1023var model = compilation.GetSemanticModel(tree); 1076var model = compilation.GetSemanticModel(tree); 1155var model = compilation.GetSemanticModel(tree); 1208var model = compilation.GetSemanticModel(tree); 1264var model = compilation.GetSemanticModel(tree); 1329var model = compilation.GetSemanticModel(tree); 1373var model = compilation.GetSemanticModel(tree); 1454var model = compilation.GetSemanticModel(tree); 1460Assert.Equal("System.Int32", ((IFieldSymbol)compilation.GetSemanticModel(tree).GetDeclaredSymbol(x1Decl)).Type.ToTestDisplayString()); 1499var model = compilation.GetSemanticModel(tree); 1586var model = compilation.GetSemanticModel(tree); 1640var model = compilation.GetSemanticModel(tree); 1734var model = compilation.GetSemanticModel(tree); 1788var model = compilation.GetSemanticModel(tree); 1852var model = compilation.GetSemanticModel(tree); 1926var model = compilation.GetSemanticModel(tree); 1996var model = compilation.GetSemanticModel(tree); 2097var model = compilation.GetSemanticModel(tree); 2167var model = compilation.GetSemanticModel(tree); 2226var model = compilation.GetSemanticModel(tree); 2300var model = compilation.GetSemanticModel(tree); 2370var model = compilation.GetSemanticModel(tree); 2472var model = compilation.GetSemanticModel(tree); 2542var model = compilation.GetSemanticModel(tree); 2611var model = compilation.GetSemanticModel(tree); 2681var model = compilation.GetSemanticModel(tree); 2735var model = compilation.GetSemanticModel(tree); 2827var model = compilation.GetSemanticModel(tree); 2881var model = compilation.GetSemanticModel(tree); 2943var model = compilation.GetSemanticModel(tree); 2989var model = compilation.GetSemanticModel(tree); 3070var model = compilation.GetSemanticModel(tree); 3129var model = compilation.GetSemanticModel(tree); 3229var model = compilation.GetSemanticModel(tree); 3285var model = compilation.GetSemanticModel(tree); 3375var model = compilation.GetSemanticModel(tree); 3431var model = compilation.GetSemanticModel(tree); 3491var model = compilation.GetSemanticModel(tree); 3572var model = compilation.GetSemanticModel(tree); 3639var model = compilation.GetSemanticModel(tree); 3743var model = compilation.GetSemanticModel(tree); 3810var model = compilation.GetSemanticModel(tree); 3874var model = compilation.GetSemanticModel(tree); 3968var model = compilation.GetSemanticModel(tree); 4044var model = compilation.GetSemanticModel(tree); 4166var model = compilation.GetSemanticModel(tree); 4242var model = compilation.GetSemanticModel(tree); 4313var model = compilation.GetSemanticModel(tree); 4394var model = compilation.GetSemanticModel(tree); 4455var model = compilation.GetSemanticModel(tree); 4561var model = compilation.GetSemanticModel(tree); 4622var model = compilation.GetSemanticModel(tree); 4677var model = compilation.GetSemanticModel(tree); 4723var model = compilation.GetSemanticModel(tree); 4762var model = compilation.GetSemanticModel(tree); 4801var model = compilation.GetSemanticModel(tree); 4833var model = compilation.GetSemanticModel(tree); 4908var model = compilation.GetSemanticModel(tree); 4977var model = compilation.GetSemanticModel(tree); 5074var model = compilation.GetSemanticModel(tree); 5143var model = compilation.GetSemanticModel(tree); 5198var model = compilation.GetSemanticModel(tree); 5244var model = compilation.GetSemanticModel(tree); 5283var model = compilation.GetSemanticModel(tree); 5322var model = compilation.GetSemanticModel(tree); 5401var model = compilation.GetSemanticModel(tree); 5477var model = compilation.GetSemanticModel(tree); 5586var model = compilation.GetSemanticModel(tree); 5662var model = compilation.GetSemanticModel(tree); 5727var model = compilation.GetSemanticModel(tree); 5778var model = compilation.GetSemanticModel(tree); 5817var model = compilation.GetSemanticModel(tree); 5856var model = compilation.GetSemanticModel(tree); 5893var model = compilation.GetSemanticModel(tree); 5939var model = compilation.GetSemanticModel(tree); 5977var model = compilation.GetSemanticModel(tree); 6027var model = compilation.GetSemanticModel(tree); 6064var model = compilation.GetSemanticModel(tree); 6111var model = compilation.GetSemanticModel(tree); 6143var model = compilation.GetSemanticModel(tree); 6197var model = compilation.GetSemanticModel(tree); 6235var model = compilation.GetSemanticModel(tree); 6270var model = compilation.GetSemanticModel(tree); 6299var model = compilation.GetSemanticModel(tree); 6321var model = compilation.GetSemanticModel(tree); 6350var model = compilation.GetSemanticModel(tree); 6374var model = compilation.GetSemanticModel(tree); 6397var model = compilation.GetSemanticModel(tree); 6514var model = compilation.GetSemanticModel(tree); 6602var model = compilation.GetSemanticModel(tree); 6686var model = compilation.GetSemanticModel(tree); 6729var model = compilation.GetSemanticModel(tree); 6762var model = compilation.GetSemanticModel(tree); 6804var model = compilation.GetSemanticModel(tree); 6942var model = compilation.GetSemanticModel(tree); 7040var model = compilation.GetSemanticModel(tree); 7132var model = compilation.GetSemanticModel(tree); 7259var model = compilation.GetSemanticModel(tree); 7363var model = compilation.GetSemanticModel(tree); 7452var model = compilation.GetSemanticModel(tree); 7528var model = compilation.GetSemanticModel(tree); 7622var model = compilation.GetSemanticModel(tree); 7709var model = compilation.GetSemanticModel(tree); 7734var model = compilation.GetSemanticModel(tree); 7930var model = compilation.GetSemanticModel(tree); 8189var model = compilation.GetSemanticModel(tree); 8374var model = compilation.GetSemanticModel(tree); 8481var model = compilation.GetSemanticModel(tree); 8580var model = compilation.GetSemanticModel(tree);
Semantics\PatternMatchingTests_ListPatterns.cs (8)
3707var model = compilation.GetSemanticModel(tree); 3756var model = compilation.GetSemanticModel(tree); 3786var model = compilation.GetSemanticModel(tree); 4481var model = compilation.GetSemanticModel(tree); 9562var semanticModel = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 9601var semanticModel = compilation.GetSemanticModel(compilation.SyntaxTrees[0]); 9640var semanticModel = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 9676var semanticModel = compilation.GetSemanticModel(compilation.SyntaxTrees[0]);
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); 12475var model = compilation.GetSemanticModel(tree); 12642var model = compilation.GetSemanticModel(tree); 12833var model = compilation.GetSemanticModel(tree); 12954var model = compilation.GetSemanticModel(tree); 13046var model = compilation.GetSemanticModel(tree); 13228var model = compilation.GetSemanticModel(tree); 13371var model = compilation.GetSemanticModel(tree); 13445var model = compilation.GetSemanticModel(tree); 13533var model = compilation.GetSemanticModel(tree); 13610var model = compilation.GetSemanticModel(tree); 13689var model = compilation.GetSemanticModel(tree); 13756var model = compilation.GetSemanticModel(tree); 13786var model = compilation.GetSemanticModel(tree); 13821var model = comp.GetSemanticModel(tree); 14018var model = compilation.GetSemanticModel(tree);
Semantics\PatternMatchingTests2.cs (9)
739var model = compilation.GetSemanticModel(tree); 746var model = compilation.GetSemanticModel(tree); 2036var model = (CSharpSemanticModel)compilation.GetSemanticModel(tree); 2077var model = (CSharpSemanticModel)compilation.GetSemanticModel(tree); 2175var model = compilation.GetSemanticModel(tree); 2267var model = compilation.GetSemanticModel(tree); 2311var model = compilation.GetSemanticModel(tree); 2357var model = compilation.GetSemanticModel(tree); 2887var model = comp.GetSemanticModel(tree);
Semantics\PatternMatchingTests3.cs (11)
47var model = compilation.GetSemanticModel(tree); 107var model = compilation.GetSemanticModel(tree); 158var model = compilation.GetSemanticModel(tree); 203var model = compilation.GetSemanticModel(tree); 254var model = compilation.GetSemanticModel(tree); 297var model = compilation.GetSemanticModel(tree); 344var model = compilation.GetSemanticModel(tree); 1887var model = compilation.GetSemanticModel(tree); 1935var model = compilation.GetSemanticModel(tree); 4099var model = compilation.GetSemanticModel(tree); 4326var model = compilation.GetSemanticModel(tree);
Semantics\PatternMatchingTests4.cs (13)
1009var model = compilation.GetSemanticModel(tree); 4017var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4086var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4159var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4231var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4275var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4322var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4404var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4493var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4582var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4664var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4748var model = (CSharpSemanticModel)comp.GetSemanticModel(tree); 4840var model = comp.GetSemanticModel(tree);
Semantics\PatternMatchingTests5.cs (4)
1105var model = compilation.GetSemanticModel(tree); 1185var model = compilation.GetSemanticModel(tree); 1236var model = compilation.GetSemanticModel(tree); 1288var model = compilation.GetSemanticModel(tree);
Semantics\PatternSwitchTests.cs (5)
1510var model = compilation.GetSemanticModel(tree); 1893var model = compilation.GetSemanticModel(tree); 1928var model = compilation.GetSemanticModel(tree); 3239var model = compilation.GetSemanticModel(tree); 3270var model = compilation.GetSemanticModel(tree);
Semantics\PrimaryConstructorTests.cs (46)
1071var model = comp.GetSemanticModel(tree); 1097model = comp.GetSemanticModel(tree); 1099model = comp.GetSemanticModel(tree); 1101model = comp.GetSemanticModel(tree); 1104model = comp.GetSemanticModel(tree); 1106model = comp.GetSemanticModel(tree); 1108model = comp.GetSemanticModel(tree); 1293var model = comp.GetSemanticModel(tree); 1364var model = comp.GetSemanticModel(tree); 1410var model = comp.GetSemanticModel(tree); 1466var model = comp.GetSemanticModel(tree); 1525var model = comp.GetSemanticModel(tree); 1614var model = comp.GetSemanticModel(tree); 1813var model = comp.GetSemanticModel(tree); 1853var model = comp.GetSemanticModel(tree); 1896var model = comp.GetSemanticModel(tree); 1966var model = comp.GetSemanticModel(tree); 2113var model = comp.GetSemanticModel(tree); 2140model = comp.GetSemanticModel(tree); 2145model = comp.GetSemanticModel(tree); 2150model = comp.GetSemanticModel(tree); 2156model = comp.GetSemanticModel(tree); 2158model = comp.GetSemanticModel(tree); 2160model = comp.GetSemanticModel(tree); 2295var model = comp.GetSemanticModel(tree); 2424var model = comp.GetSemanticModel(tree); 2472var model = comp.GetSemanticModel(tree); 2640var model = comp.GetSemanticModel(tree); 2678var model = comp.GetSemanticModel(tree); 2715var model = comp.GetSemanticModel(tree); 2751var model = comp.GetSemanticModel(tree); 6105var model = comp.GetSemanticModel(tree); 6842var model = comp.GetSemanticModel(tree); 6868var model = comp.GetSemanticModel(tree); 19797var model = comp.GetSemanticModel(tree); 19825var model = comp.GetSemanticModel(tree); 19893var model = comp.GetSemanticModel(tree); 19928var model = comp.GetSemanticModel(tree); 19964var model = comp.GetSemanticModel(tree); 20656var semanticModel = comp.GetSemanticModel(tree); 20689var semanticModel = comp.GetSemanticModel(tree); 20733var semanticModel = comp.GetSemanticModel(tree); 20780var semanticModel = comp.GetSemanticModel(tree); 20830var semanticModel = comp.GetSemanticModel(tree); 22253comp.GetSemanticModel(comp.SyntaxTrees[0]).GetDiagnostics().Verify( 22259comp.GetSemanticModel(comp.SyntaxTrees[1]).GetDiagnostics().Verify();
Semantics\RecordTests.cs (38)
8149var model = comp.GetSemanticModel(tree); 8662var model = comp.GetSemanticModel(tree); 8922var model = comp.GetSemanticModel(tree); 21247var model = comp.GetSemanticModel(tree); 21273model = comp.GetSemanticModel(tree); 21275model = comp.GetSemanticModel(tree); 21277model = comp.GetSemanticModel(tree); 21280model = comp.GetSemanticModel(tree); 21282model = comp.GetSemanticModel(tree); 21284model = comp.GetSemanticModel(tree); 21471var model = comp.GetSemanticModel(tree); 21542var model = comp.GetSemanticModel(tree); 21588var model = comp.GetSemanticModel(tree); 21644var model = comp.GetSemanticModel(tree); 21703var model = comp.GetSemanticModel(tree); 21792var model = comp.GetSemanticModel(tree); 21991var model = comp.GetSemanticModel(tree); 22028var model = comp.GetSemanticModel(tree); 22068var model = comp.GetSemanticModel(tree); 22103var model = comp.GetSemanticModel(tree); 22182var model = comp.GetSemanticModel(tree); 22329var model = comp.GetSemanticModel(tree); 22356model = comp.GetSemanticModel(tree); 22361model = comp.GetSemanticModel(tree); 22366model = comp.GetSemanticModel(tree); 22372model = comp.GetSemanticModel(tree); 22374model = comp.GetSemanticModel(tree); 22376model = comp.GetSemanticModel(tree); 22511var model = comp.GetSemanticModel(tree); 23020var model = comp.GetSemanticModel(tree); 23474var model = comp.GetSemanticModel(tree); 24746var model = comp.GetSemanticModel(tree); 24781var model = comp.GetSemanticModel(tree); 24815var model = comp.GetSemanticModel(tree); 24850var model = comp.GetSemanticModel(tree); 28295var model = comp.GetSemanticModel(tree); 30475var model = comp.GetSemanticModel(tree); 30499var model = comp.GetSemanticModel(tree);
Symbols\UserDefinedCompoundAssignmentOperatorsTests.cs (13)
3133var model = comp2.GetSemanticModel(tree); 3681var model = comp2.GetSemanticModel(tree); 4215var model = comp2.GetSemanticModel(tree); 5021var model = comp1.GetSemanticModel(tree); 12038var model = comp2.GetSemanticModel(tree); 12424var model = comp2.GetSemanticModel(tree); 13012var model = comp2.GetSemanticModel(tree); 13317var model = comp2.GetSemanticModel(tree); 13883var model = comp2.GetSemanticModel(tree); 14296var model = comp2.GetSemanticModel(tree); 14981var model = comp2.GetSemanticModel(tree); 15331var model = comp2.GetSemanticModel(tree); 16450var model = comp1.GetSemanticModel(tree);
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (6)
EndToEndTests.cs (6)
492var model = comp.GetSemanticModel(tree); 612var model = comp.GetSemanticModel(tree); 699var model = comp.GetSemanticModel(tree); 881var model = comp.GetSemanticModel(tree); 950var model = comp.GetSemanticModel(tree); 1014var model = comp.GetSemanticModel(tree);
Microsoft.CodeAnalysis.CSharp.Features (5)
InitializeParameter\CSharpInitializeMemberFromPrimaryConstructorParameterCodeRefactoringProvider.cs (1)
276var semanticModel = compilation.GetSemanticModel(group.Key);
src\Analyzers\CSharp\Analyzers\RemoveUnnecessarySuppressions\UnnecessaryNullableWarningSuppressionsUtilities.cs (1)
91var updatedSemanticModel = updatedCompilation.GetSemanticModel(updatedTree);
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryUnsafeModifier\UnnecessaryUnsafeModifierUtilities.cs (1)
108var updatedSemanticModel = updatedCompilation.GetSemanticModel(updatedTree);
src\Analyzers\CSharp\Analyzers\UsePrimaryConstructor\CSharpUsePrimaryConstructorDiagnosticAnalyzer.cs (1)
389var semanticModel = compilation.GetSemanticModel(primaryConstructorDeclaration.SyntaxTree);
UsePatternMatching\CSharpIsAndCastCheckWithoutNameDiagnosticAnalyzer.cs (1)
248return 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 (1187)
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 (14)
84var model = csCompilation.GetSemanticModel(tree); 277var treeModel = comp.GetSemanticModel(tree); 303var treeModel = comp.GetSemanticModel(tree); 333var treeModel = comp.GetSemanticModel(tree); 440var semanticModel = compilation.GetSemanticModel(compilation.SyntaxTrees[0]); 461var model = comp.GetSemanticModel(tree); 618var model = comp.GetSemanticModel(tree); 669var model = comp.GetSemanticModel(tree); 709var model = comp.GetSemanticModel(tree); 735var model = comp.GetSemanticModel(tree); 781var model = comp.GetSemanticModel(tree); 845var model = comp.GetSemanticModel(tree); 885var model = comp.GetSemanticModel(tree); 914var 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); 1455var 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); 4165var model = comp.GetSemanticModel(tree); 4233var model = comp.GetSemanticModel(tree); 4368var model = comp.GetSemanticModel(tree); 4502var model = comp.GetSemanticModel(tree); 4660var model = comp.GetSemanticModel(tree); 4718var model = comp1.GetSemanticModel(tree); 4754var model = comp.GetSemanticModel(tree); 4832var model = comp.GetSemanticModel(tree); 4937var model = comp.GetSemanticModel(tree); 4983var model = comp.GetSemanticModel(tree); 5041var model = comp.GetSemanticModel(tree); 5182var model = comp.GetSemanticModel(tree); 5326var model = comp.GetSemanticModel(tree); 5473var model = comp.GetSemanticModel(tree); 5650var model = comp.GetSemanticModel(tree); 5760var model = comp.GetSemanticModel(tree); 5873var model = comp.GetSemanticModel(tree); 5982var model = comp.GetSemanticModel(tree); 6025var model = comp.GetSemanticModel(tree); 6065var model = comp.GetSemanticModel(tree); 6107var model = comp.GetSemanticModel(tree); 6147var model = comp.GetSemanticModel(tree); 6550var model = comp.GetSemanticModel(tree);
Semantics\DelegateTypeTests.cs (59)
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); 2466var model = comp.GetSemanticModel(tree); 2518var model = comp.GetSemanticModel(tree); 2567var model = comp.GetSemanticModel(tree); 2615var model = comp.GetSemanticModel(tree); 2667var model = comp.GetSemanticModel(tree); 2713var model = comp.GetSemanticModel(tree); 2761var model = comp.GetSemanticModel(tree); 2808var model = comp.GetSemanticModel(tree); 2854var model = comp.GetSemanticModel(tree); 2905var model = comp.GetSemanticModel(tree); 2933var model = comp.GetSemanticModel(tree); 2964var model = comp.GetSemanticModel(tree); 2992var model = comp.GetSemanticModel(tree); 3021var model = comp.GetSemanticModel(tree); 3054var model = comp.GetSemanticModel(tree); 3085var model = comp.GetSemanticModel(tree); 3116var model = comp.GetSemanticModel(tree); 3149var model = comp.GetSemanticModel(tree); 3632var model = comp.GetSemanticModel(tree); 3674var model = comp.GetSemanticModel(tree); 8099var model = comp.GetSemanticModel(tree); 8122var model = comp.GetSemanticModel(tree); 10457var model = comp.GetSemanticModel(tree); 11155var model = comp.GetSemanticModel(tree); 11241var model = comp.GetSemanticModel(tree); 12181var model = comp.GetSemanticModel(syntaxTree); 14803var model = comp.GetSemanticModel(tree); 14850var model = comp.GetSemanticModel(tree); 19870var model = comp.GetSemanticModel(tree); 19912var model = comp.GetSemanticModel(tree);
Semantics\DynamicTests.cs (115)
3956var model = verifier.Compilation.GetSemanticModel(tree); 3989var model = verifier.Compilation.GetSemanticModel(tree); 4017var model = verifier.Compilation.GetSemanticModel(tree); 4045var model = verifier.Compilation.GetSemanticModel(tree); 4096var model = verifier.Compilation.GetSemanticModel(tree); 5075var model = comp1.GetSemanticModel(tree); 5158model = comp3.GetSemanticModel(tree); 5199var model = comp1.GetSemanticModel(tree); 5281model = comp3.GetSemanticModel(tree); 5322var model = comp1.GetSemanticModel(tree); 5405model = comp3.GetSemanticModel(tree); 5440var model = comp1.GetSemanticModel(tree); 5481var model = comp1.GetSemanticModel(tree); 5525var model = comp1.GetSemanticModel(tree); 5569var model = comp1.GetSemanticModel(tree); 5613var model = comp1.GetSemanticModel(tree); 5677var model = comp.GetSemanticModel(tree); 5715var model = comp.GetSemanticModel(tree); 5754var model = comp.GetSemanticModel(tree); 5790var model = comp.GetSemanticModel(tree); 5831var model = comp1.GetSemanticModel(tree); 5876var model = comp1.GetSemanticModel(tree); 5921var model = comp1.GetSemanticModel(tree); 5966var model = comp1.GetSemanticModel(tree); 6034var model = comp.GetSemanticModel(tree); 6073var model = comp.GetSemanticModel(tree); 6121var model = comp.GetSemanticModel(tree); 6203model = comp3.GetSemanticModel(tree); 6244var model = comp.GetSemanticModel(tree); 6326model = comp3.GetSemanticModel(tree); 6364var model = comp.GetSemanticModel(tree); 6446model = comp3.GetSemanticModel(tree); 6476var model = comp1.GetSemanticModel(tree); 6518var model = comp1.GetSemanticModel(tree); 6565var model = comp1.GetSemanticModel(tree); 6609var model = comp1.GetSemanticModel(tree); 6651var model = comp.GetSemanticModel(tree); 6705var model = comp.GetSemanticModel(tree); 6770var model = comp.GetSemanticModel(tree); 6835model = comp3.GetSemanticModel(tree); 6879var model = comp.GetSemanticModel(tree); 6944model = comp3.GetSemanticModel(tree); 6989var model = comp.GetSemanticModel(tree); 7055model = comp3.GetSemanticModel(tree); 7090var model = comp.GetSemanticModel(tree); 7158var model = comp.GetSemanticModel(tree); 7217model = comp3.GetSemanticModel(tree); 7261var model = comp.GetSemanticModel(tree); 7329model = comp3.GetSemanticModel(tree); 7374var model = comp.GetSemanticModel(tree); 7445model = comp3.GetSemanticModel(tree); 7490var model = comp.GetSemanticModel(tree); 7562model = comp3.GetSemanticModel(tree); 7603var model = comp.GetSemanticModel(tree); 7680var model = comp.GetSemanticModel(tree); 7741model = comp3.GetSemanticModel(tree); 7785var model = comp.GetSemanticModel(tree); 7847model = comp3.GetSemanticModel(tree); 7891var model = comp.GetSemanticModel(tree); 7953model = comp3.GetSemanticModel(tree); 7994var model = comp.GetSemanticModel(tree); 8066var model = comp.GetSemanticModel(tree); 8128model = comp3.GetSemanticModel(tree); 8172var model = comp.GetSemanticModel(tree); 8234model = comp3.GetSemanticModel(tree); 8277var model = comp.GetSemanticModel(tree); 8338model = comp3.GetSemanticModel(tree); 8382var model = comp.GetSemanticModel(tree); 8447model = comp3.GetSemanticModel(tree); 8491var model = comp.GetSemanticModel(tree); 8556model = comp3.GetSemanticModel(tree); 8600var model = comp.GetSemanticModel(tree); 8665model = comp3.GetSemanticModel(tree); 8710var model = comp.GetSemanticModel(tree); 8776model = comp3.GetSemanticModel(tree); 8823var model = comp.GetSemanticModel(tree); 8892var model = comp.GetSemanticModel(tree); 8960var model = comp.GetSemanticModel(tree); 9022var model = comp.GetSemanticModel(tree); 9112var model = comp.GetSemanticModel(tree); 9203var model = comp.GetSemanticModel(tree); 9293var model = comp.GetSemanticModel(tree); 9349var model = comp.GetSemanticModel(tree); 9410var model = comp.GetSemanticModel(tree); 9531var model = comp.GetSemanticModel(tree); 9651var model = comp.GetSemanticModel(tree); 9765var model = comp.GetSemanticModel(tree); 9876var model = comp.GetSemanticModel(tree); 9987var model = comp.GetSemanticModel(tree); 10108var model = comp.GetSemanticModel(tree); 10191model = comp3.GetSemanticModel(tree); 10236var model = comp.GetSemanticModel(tree); 10319model = comp3.GetSemanticModel(tree); 10364var model = comp.GetSemanticModel(tree); 10447model = comp3.GetSemanticModel(tree); 10518var model = comp.GetSemanticModel(tree); 10599model = comp3.GetSemanticModel(tree); 10652var model = comp.GetSemanticModel(tree); 10746model = comp3.GetSemanticModel(tree); 10800var model = comp.GetSemanticModel(tree); 10896model = comp3.GetSemanticModel(tree); 11070var model = comp.GetSemanticModel(tree); 11162model = comp3.GetSemanticModel(tree); 11199var model = comp.GetSemanticModel(tree); 11283var model = comp.GetSemanticModel(tree); 11361var model = comp.GetSemanticModel(tree); 11416var model = comp1.GetSemanticModel(tree); 11469var model = comp1.GetSemanticModel(tree); 11515var model = comp1.GetSemanticModel(tree); 11549var model = comp1.GetSemanticModel(tree); 11593var model = comp.GetSemanticModel(tree); 11634var model = comp1.GetSemanticModel(tree); 11683var model = comp.GetSemanticModel(tree); 11735var model = comp.GetSemanticModel(tree); 11779var 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)
2643var model = comp.GetSemanticModel(tree); 2695var model = comp.GetSemanticModel(tree); 3399var model = comp.GetSemanticModel(tree); 3777var treeModel = (SyntaxTreeSemanticModel)comp.GetSemanticModel(tree); 3841var model = comp.GetSemanticModel(tree); 3875var model = comp.GetSemanticModel(tree); 3938var 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 (27)
50var model = comp.GetSemanticModel(tree); 125var model = comp.GetSemanticModel(tree); 172var model = comp.GetSemanticModel(tree); 222var model = comp.GetSemanticModel(tree); 836var model = comp.GetSemanticModel(tree); 877var model = comp.GetSemanticModel(tree); 1699var model = comp.GetSemanticModel(tree); 1859var model = comp.GetSemanticModel(tree); 1889var model = comp.GetSemanticModel(tree); 1919var model = comp.GetSemanticModel(tree); 1971var model = comp.GetSemanticModel(tree); 2029var model = comp.GetSemanticModel(tree); 2064var model = comp.GetSemanticModel(tree); 2118var model = comp.GetSemanticModel(tree); 2210var model = comp.GetSemanticModel(tree); 2504var model = comp.GetSemanticModel(tree); 2555var model = comp.GetSemanticModel(tree); 2912var model = comp.GetSemanticModel(tree); 3205var model = comp.GetSemanticModel(tree); 4147var model = comp.GetSemanticModel(tree); 4174var model = comp.GetSemanticModel(tree); 4520var semanticModel = compilation.GetSemanticModel(tree); 4563var semanticModel = compilation.GetSemanticModel(tree); 4600var model = comp.GetSemanticModel(tree); 4632var model = comp.GetSemanticModel(tree); 4664var model = comp.GetSemanticModel(tree); 4702var model = comp.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 (56)
45var model = comp.GetSemanticModel(tree); 216var model = comp.GetSemanticModel(source); 2022var model = comp.GetSemanticModel(source); 2129var model = (CSharpSemanticModel)comp.GetSemanticModel(source); 2325var model = comp.GetSemanticModel(source); 5271var model = comp.GetSemanticModel(tree); 6189var model = comp.GetSemanticModel(source); 6720var model = comp.GetSemanticModel(tree); 6769var model = comp.GetSemanticModel(tree); 6829var model = comp.GetSemanticModel(tree); 6876var model = comp.GetSemanticModel(tree); 6929var model = comp.GetSemanticModel(tree); 6978var model = comp.GetSemanticModel(tree); 7034var model = comp.GetSemanticModel(tree); 7082var model = comp.GetSemanticModel(tree); 7129var model = comp.GetSemanticModel(tree); 7173var model = comp.GetSemanticModel(tree); 7201var model = comp.GetSemanticModel(tree); 7260var model = comp.GetSemanticModel(tree); 7303var model = comp.GetSemanticModel(tree); 7335var model = comp.GetSemanticModel(source); 7385var model = comp.GetSemanticModel(tree); 7537var model = comp.GetSemanticModel(source); 7578var model = comp.GetSemanticModel(sourceTree1); 7624var model = comp.GetSemanticModel(source); 7670var model = comp.GetSemanticModel(source); 7721var model = comp.GetSemanticModel(tree); 7746var model = comp.GetSemanticModel(source); 7765model = comp.GetSemanticModel(source); 7792var model = comp.GetSemanticModel(source); 7810model = comp.GetSemanticModel(source); 7833var model = (CSharpSemanticModel)comp.GetSemanticModel(source); 7874var model = comp.GetSemanticModel(source); 7892model = comp.GetSemanticModel(source); 7918var model = comp.GetSemanticModel(source); 7934model = comp.GetSemanticModel(source); 7961var model = comp.GetSemanticModel(source); 7984model = comp.GetSemanticModel(source); 8014var model = comp.GetSemanticModel(source); 8037model = comp.GetSemanticModel(source); 8060var model = comp.GetSemanticModel(source); 8090model = comp.GetSemanticModel(source); 8119var model = comp.GetSemanticModel(source); 8150model = comp.GetSemanticModel(source); 8179var model = comp.GetSemanticModel(source); 8206model = comp.GetSemanticModel(source); 8234var model = comp.GetSemanticModel(source); 8261model = comp.GetSemanticModel(source); 8289var model = comp.GetSemanticModel(source); 8316model = comp.GetSemanticModel(source); 8339var model = comp.GetSemanticModel(source); 8366model = comp.GetSemanticModel(source); 8397var model = comp.GetSemanticModel(source); 8431model = comp.GetSemanticModel(source); 8461var model = comp.GetSemanticModel(source); 8481model = comp.GetSemanticModel(source);
Semantics\InterpolationTests.cs (5)
4599var model = comp.GetSemanticModel(tree); 4825var model = comp.GetSemanticModel(tree); 19476var model = comp.GetSemanticModel(tree); 19532var model = comp.GetSemanticModel(tree); 19596var model = comp.GetSemanticModel(tree);
Semantics\IteratorTests.cs (3)
561var model = comp.GetSemanticModel(tree); 711var model = comp.GetSemanticModel(tree); 749var model = comp.GetSemanticModel(tree);
Semantics\LambdaDiscardParametersTests.cs (1)
385var model = comp.GetSemanticModel(tree);
Semantics\LambdaTests.cs (70)
838var model = comp.GetSemanticModel(tree); 938var model = compilation.GetSemanticModel(tree); 1030var model = compilation.GetSemanticModel(tree); 1084var model = compilation.GetSemanticModel(tree); 1119var model = compilation.GetSemanticModel(tree); 1175var model = comp.GetSemanticModel(tree); 1203var model = comp.GetSemanticModel(tree); 1235var model = comp.GetSemanticModel(tree); 1516var semanticModel = compilation.GetSemanticModel(tree); 1551var semanticModel = compilation.GetSemanticModel(tree); 1585var semanticModel = compilation.GetSemanticModel(tree); 1617var semanticModel = compilation.GetSemanticModel(tree); 1976var model = compilation.GetSemanticModel(tree); 2118var sm = compilation.GetSemanticModel(tree); 2164var sm = compilation.GetSemanticModel(tree); 2210var sm = compilation.GetSemanticModel(tree); 2256var sm = compilation.GetSemanticModel(tree); 2302var sm = compilation.GetSemanticModel(tree); 2332var sm = compilation.GetSemanticModel(tree); 2359var sm = compilation.GetSemanticModel(tree); 2413var sm = compilation.GetSemanticModel(tree); 2459var sm = compilation.GetSemanticModel(tree); 2505var sm = compilation.GetSemanticModel(tree); 2538var sm = compilation.GetSemanticModel(tree); 2571var sm = compilation.GetSemanticModel(tree); 2608var sm = compilation.GetSemanticModel(tree); 2660var sm = compilation.GetSemanticModel(tree); 2995var model = comp.GetSemanticModel(tree); 3002model = comp.GetSemanticModel(tree); 3011model = comp.GetSemanticModel(tree); 3037var model = comp.GetSemanticModel(tree); 3044model = comp.GetSemanticModel(tree); 3049model = comp.GetSemanticModel(tree); 3607var model = comp.GetSemanticModel(tree); 3888var model = comp.GetSemanticModel(tree); 3932var model = comp.GetSemanticModel(tree); 3972var model = comp.GetSemanticModel(tree); 4086var model = comp.GetSemanticModel(tree); 4115var model = comp.GetSemanticModel(tree); 4150var model = comp.GetSemanticModel(tree); 4178var model = comp.GetSemanticModel(tree); 4205var model = comp.GetSemanticModel(tree); 4780var model = comp.GetSemanticModel(tree); 4865var model = comp.GetSemanticModel(tree); 4920var model = comp.GetSemanticModel(tree); 4947var model = comp.GetSemanticModel(tree); 4975var model = comp.GetSemanticModel(tree); 5021var model = comp.GetSemanticModel(tree); 5627var model = comp.GetSemanticModel(tree); 6503var model = comp.GetSemanticModel(tree); 6813var model = comp.GetSemanticModel(tree); 6842var model = comp.GetSemanticModel(tree); 6888var model = comp.GetSemanticModel(tree); 7004var model = comp.GetSemanticModel(syntaxTree); 7097var model = comp.GetSemanticModel(syntaxTree); 7623var model = comp.GetSemanticModel(tree); 7997var model = comp.GetSemanticModel(tree); 8045var model = comp.GetSemanticModel(tree); 8069var model = comp.GetSemanticModel(tree); 8105var model = comp.GetSemanticModel(tree); 8217var model = comp.GetSemanticModel(tree); 8347var model = comp.GetSemanticModel(tree); 8380var model = comp.GetSemanticModel(tree); 8848var model1 = comp.GetSemanticModel(tree1); 8899var semanticModel = compilation.GetSemanticModel(tree); 9007var semanticModel = compilation.GetSemanticModel(tree); 9036var semanticModel = compilation.GetSemanticModel(tree); 9063var semanticModel = compilation.GetSemanticModel(tree); 9093var semanticModel = compilation.GetSemanticModel(tree); 9120var semanticModel = compilation.GetSemanticModel(tree);
Semantics\LocalFunctionTests.cs (49)
387var model = comp.GetSemanticModel(tree); 485var model = comp.GetSemanticModel(tree); 533var model = comp.GetSemanticModel(tree); 610var model = comp.GetSemanticModel(tree); 663var model = comp.GetSemanticModel(tree); 717var model = comp.GetSemanticModel(tree); 797var model = comp.GetSemanticModel(tree); 844var model = comp.GetSemanticModel(tree); 963var model = comp.GetSemanticModel(tree); 1014var model = comp.GetSemanticModel(tree); 1052var model = comp.GetSemanticModel(tree); 1712var model = comp.GetSemanticModel(tree); 1759var model = comp.GetSemanticModel(tree); 1834var model = comp.GetSemanticModel(tree); 1919var model = comp.GetSemanticModel(tree); 1969var model = comp.GetSemanticModel(tree); 2364var model = comp.GetSemanticModel(tree); 2580var model = comp.GetSemanticModel(tree); 2878var model1 = comp.GetSemanticModel(tree1); 4992var model = compilation.GetSemanticModel(tree); 5030var model = compilation.GetSemanticModel(tree); 5267var model = compilation.GetSemanticModel(tree); 5408var model = comp.GetSemanticModel(tree); 6664var model = comp.GetSemanticModel(tree); 6685var model = comp.GetSemanticModel(tree); 6713var model = comp.GetSemanticModel(tree); 6749var model = comp.GetSemanticModel(tree); 6793var model = comp.GetSemanticModel(tree); 6840var model = comp.GetSemanticModel(tree); 7342var model = comp.GetSemanticModel(tree); 7402var model = comp.GetSemanticModel(tree); 7651var parentModel = comp.GetSemanticModel(tree); 7736var parentModel = comp.GetSemanticModel(tree); 7801var parentModel = comp.GetSemanticModel(tree); 7825parentModel = comp.GetSemanticModel(tree); 7875var parentModel = comp.GetSemanticModel(tree); 7943var model = comp.GetSemanticModel(tree); 8988var model = comp.GetSemanticModel(tree); 9041var model = comp.GetSemanticModel(tree); 9083var model = comp.GetSemanticModel(tree); 9231var parentModel = comp.GetSemanticModel(tree); 9735var parentModel = comp.GetSemanticModel(tree); 9856var model = comp.GetSemanticModel(tree); 10053var parentModel = comp.GetSemanticModel(tree); 10476var model = comp.GetSemanticModel(tree); 10685var semanticModel = compilation.GetSemanticModel(tree); 10729var model = comp.GetSemanticModel(tree); 11046var semanticModel = comp.GetSemanticModel(syntaxTree); 11087var semanticModel = comp.GetSemanticModel(syntaxTree);
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 (14)
685var model = compilation.GetSemanticModel(tree); 711var model = compilation.GetSemanticModel(tree); 746var model = compilation.GetSemanticModel(tree); 793var model = compilation.GetSemanticModel(tree); 830var model = compilation.GetSemanticModel(tree); 866var model = compilation.GetSemanticModel(tree); 912var model = compilation.GetSemanticModel(tree); 945var model = compilation.GetSemanticModel(tree); 985var model = comp.GetSemanticModel(tree); 1057var model = comp.GetSemanticModel(tree); 1139var model = comp.GetSemanticModel(tree); 1220var model = comp.GetSemanticModel(tree); 1422var model = compilation.GetSemanticModel(tree); 3040var semanticModel = compilation.GetSemanticModel(tree);
Semantics\NativeIntegerTests.cs (13)
1793var model = comp.GetSemanticModel(tree); 2350var model = comp.GetSemanticModel(tree); 2470var model = compB.GetSemanticModel(tree); 3640var model = comp.GetSemanticModel(tree); 4079var model = comp.GetSemanticModel(tree); 4122var model = comp.GetSemanticModel(tree); 6065var model = comp.GetSemanticModel(tree); 6113var model = comp.GetSemanticModel(tree); 9499var model = comp.GetSemanticModel(tree); 9734var model = comp.GetSemanticModel(tree); 10108var model = comp.GetSemanticModel(tree); 10335var model = comp.GetSemanticModel(tree); 12385var 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); 3340var sm = compilation.GetSemanticModel(tree); 3699var model = comp.GetSemanticModel(tree); 5177var model = comp.GetSemanticModel(syntaxTree); 10537var model = compilation.GetSemanticModel(tree); 13514var model = compilation.GetSemanticModel(tree); 35011var model = compilation.GetSemanticModel(tree); 35028var model = compilation.GetSemanticModel(tree); 59099var model = comp.GetSemanticModel(tree); 59133var model = comp.GetSemanticModel(tree); 59161var model = comp.GetSemanticModel(tree); 59193var model = comp.GetSemanticModel(tree); 59222var model = comp.GetSemanticModel(tree); 59255var model = comp.GetSemanticModel(tree); 59287var model = comp.GetSemanticModel(tree); 59320var model = comp.GetSemanticModel(tree); 59354var model = comp.GetSemanticModel(tree); 59380var model = comp.GetSemanticModel(tree); 59409var model = comp.GetSemanticModel(tree); 59438var model = comp.GetSemanticModel(tree); 62922var model = comp.GetSemanticModel(syntaxTree); 65971var model1 = comp1.GetSemanticModel(tree1); 71357var model = comp.GetSemanticModel(tree); 71393var model = comp.GetSemanticModel(tree); 71434var model = comp.GetSemanticModel(tree); 71471var model = comp.GetSemanticModel(tree); 71508var model = comp.GetSemanticModel(tree); 71543var model = comp.GetSemanticModel(tree); 71576var model = comp.GetSemanticModel(tree); 71613var model = comp.GetSemanticModel(tree); 71979var model = comp.GetSemanticModel(tree); 72026var model = comp.GetSemanticModel(tree); 72065var model = comp.GetSemanticModel(tree); 73866var model = comp.GetSemanticModel(tree); 81362var model = comp.GetSemanticModel(tree); 94406var model = comp.GetSemanticModel(syntaxTree); 97881var model = comp.GetSemanticModel(tree); 99210var model = comp.GetSemanticModel(tree); 111894var model = comp.GetSemanticModel(tree); 111948var model = comp.GetSemanticModel(tree); 113317var model = comp.GetSemanticModel(tree); 113718var model = comp.GetSemanticModel(tree); 113749var model = comp.GetSemanticModel(tree); 113927var model = comp.GetSemanticModel(tree); 114152var model = comp.GetSemanticModel(tree); 146574var model = comp.GetSemanticModel(tree); 154983var model = comp.GetSemanticModel(tree); 155051var model = comp.GetSemanticModel(tree); 160875var model = comp.GetSemanticModel(tree); 161425var model = comp.GetSemanticModel(syntaxTree); 161471var 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\NullConditionalAssignmentTests.cs (4)
2446var model = comp.GetSemanticModel(tree); 2480var model = comp.GetSemanticModel(tree); 2740var model = comp.GetSemanticModel(tree); 2834var model = comp.GetSemanticModel(tree);
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); 7487var semanticModel = compilation.GetSemanticModel(tree); 7703var semanticModel = compilation.GetSemanticModel(tree); 7718semanticModel = compilation.GetSemanticModel(tree); 7856var semanticModel = compilation.GetSemanticModel(tree); 8016var semanticModel = compilation.GetSemanticModel(tree); 8553var semanticModel = compilation.GetSemanticModel(tree); 8588var semanticModel = compilation.GetSemanticModel(tree); 8601semanticModel = compilation.GetSemanticModel(tree); 8632var semanticModel = compilation.GetSemanticModel(tree); 8649semanticModel = compilation.GetSemanticModel(tree); 8682var semanticModel = compilation.GetSemanticModel(tree); 8699semanticModel = compilation.GetSemanticModel(tree); 8756var semanticModel = compilation.GetSemanticModel(tree); 8815var model = (CSharpSemanticModel)compilation.GetSemanticModel(tree); 12390var type = (ITypeSymbol)compilation.GetSemanticModel(tree).GetTypeInfo(negNode).Type; 12466var 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); 9066var model = compilation.GetSemanticModel(tree); 9414var model = comp.GetSemanticModel(tree); 11759var model = comp.GetSemanticModel(tree); 11808var model = comp.GetSemanticModel(tree); 11858var 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)
2900var model = comp.GetSemanticModel(tree); 3126var model = comp.GetSemanticModel(tree);
Semantics\ReadOnlyStructsTests.cs (1)
1267var semanticModel = comp.GetSemanticModel(testMethodSyntax.SyntaxTree);
Semantics\RecordStructTests.cs (6)
2664var model = comp.GetSemanticModel(tree); 2699var model = comp.GetSemanticModel(tree); 2733var model = comp.GetSemanticModel(tree); 2768var model = comp.GetSemanticModel(tree); 3318var model = comp.GetSemanticModel(tree); 10841var model = comp.GetSemanticModel(tree);
Semantics\RefEscapingTests.cs (3)
49var model = comp.GetSemanticModel(tree); 6363var model = compilation.GetSemanticModel(tree); 6463var 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)
11086var model = comp.GetSemanticModel(tree); 11160var model = comp.GetSemanticModel(tree); 11282var model = comp.GetSemanticModel(tree); 11455var model = comp.GetSemanticModel(tree); 12047var model = comp.GetSemanticModel(tree); 12127var model = comp.GetSemanticModel(tree); 12196var model = comp.GetSemanticModel(tree); 12264var model = comp.GetSemanticModel(tree); 12446var model = comp.GetSemanticModel(tree); 12633var model = comp.GetSemanticModel(tree); 12859var model = comp.GetSemanticModel(tree); 13042var model = comp.GetSemanticModel(tree); 13217var model = comp.GetSemanticModel(tree); 13272var model = comp.GetSemanticModel(tree); 13331var model = comp.GetSemanticModel(tree); 13374var model = comp.GetSemanticModel(tree); 13403var model = comp.GetSemanticModel(tree); 13428var model = comp.GetSemanticModel(tree); 13448var model = comp.GetSemanticModel(tree); 13470var model = comp.GetSemanticModel(tree); 13505var model = comp.GetSemanticModel(tree); 13569var model = comp.GetSemanticModel(tree); 13645var model = comp.GetSemanticModel(tree); 13716var model = comp.GetSemanticModel(tree); 13780var model = comp.GetSemanticModel(tree); 14421var model = comp.GetSemanticModel(tree); 14463var model = comp.GetSemanticModel(tree); 14588var model = comp.GetSemanticModel(tree); 14664var model = comp.GetSemanticModel(tree); 14909var model = comp.GetSemanticModel(tree); 15117var model = comp.GetSemanticModel(tree); 15143var model = comp.GetSemanticModel(tree); 15198var model = comp.GetSemanticModel(tree); 16616var model = comp.GetSemanticModel(tree); 16657var model = comp.GetSemanticModel(tree); 16696var model = comp.GetSemanticModel(tree); 16792var model = comp.GetSemanticModel(tree); 16840var model = comp.GetSemanticModel(syntaxTree); 18012var model = comp.GetSemanticModel(tree); 23426var model = comp.GetSemanticModel(tree); 23494var model = comp.GetSemanticModel(tree); 24496var model = comp.GetSemanticModel(tree); 24532var model = comp.GetSemanticModel(tree); 24569var model = comp.GetSemanticModel(tree); 25336var model = comp.GetSemanticModel(tree); 27391var model = comp.GetSemanticModel(tree); 27443var model = comp.GetSemanticModel(tree); 27495var model = comp.GetSemanticModel(tree); 27652var model = comp.GetSemanticModel(tree); 27742var model = comp.GetSemanticModel(tree); 27862var model = comp.GetSemanticModel(tree); 27963var model = comp.GetSemanticModel(tree); 28008var model = comp.GetSemanticModel(tree); 28068var model = comp.GetSemanticModel(tree); 28298var model = comp.GetSemanticModel(tree); 28346var model = comp.GetSemanticModel(tree); 29436var model = comp.GetSemanticModel(tree);
Semantics\RefLocalsAndReturnsTests.cs (3)
5203var model = comp.GetSemanticModel(tree); 5247var model = comp.GetSemanticModel(tree); 5286var 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)
3369var model = compilation.GetSemanticModel(tree);
Semantics\SimpleLambdaParametersWithModifiersTests.cs (43)
37var semanticModel = compilation.GetSemanticModel(tree); 64var semanticModel = compilation.GetSemanticModel(tree); 96var semanticModel = compilation.GetSemanticModel(tree); 126var semanticModel = compilation.GetSemanticModel(tree); 162var semanticModel = compilation.GetSemanticModel(tree); 197var semanticModel = compilation.GetSemanticModel(tree); 229var semanticModel = compilation.GetSemanticModel(tree); 257var semanticModel = compilation.GetSemanticModel(tree); 288var semanticModel = compilation.GetSemanticModel(tree); 322var semanticModel = compilation.GetSemanticModel(tree); 351var semanticModel = compilation.GetSemanticModel(tree); 382var semanticModel = compilation.GetSemanticModel(tree); 416var semanticModel = compilation.GetSemanticModel(tree); 448var semanticModel = compilation.GetSemanticModel(tree); 477var semanticModel = compilation.GetSemanticModel(tree); 509var semanticModel = compilation.GetSemanticModel(tree); 542var semanticModel = compilation.GetSemanticModel(tree); 575var semanticModel = compilation.GetSemanticModel(tree); 608var semanticModel = compilation.GetSemanticModel(tree); 637var semanticModel = compilation.GetSemanticModel(tree); 665var semanticModel = compilation.GetSemanticModel(tree); 697var semanticModel = compilation.GetSemanticModel(tree); 726var semanticModel = compilation.GetSemanticModel(tree); 755var semanticModel = compilation.GetSemanticModel(tree); 786var semanticModel = compilation.GetSemanticModel(tree); 820var semanticModel = compilation.GetSemanticModel(tree); 854var semanticModel = compilation.GetSemanticModel(tree); 886var semanticModel = compilation.GetSemanticModel(tree); 932var semanticModel = compilation.GetSemanticModel(tree); 960var semanticModel = compilation.GetSemanticModel(tree); 985var semanticModel = compilation.GetSemanticModel(tree); 1036var semanticModel = compilation.GetSemanticModel(tree); 1071var semanticModel = compilation.GetSemanticModel(tree); 1100var semanticModel = compilation.GetSemanticModel(tree); 1129var semanticModel = compilation.GetSemanticModel(tree); 1156var semanticModel = compilation.GetSemanticModel(tree); 1185var semanticModel = compilation.GetSemanticModel(tree); 1219var semanticModel = compilation.GetSemanticModel(tree); 1328var semanticModel = compilation.GetSemanticModel(tree); 1358var semanticModel = compilation.GetSemanticModel(tree); 1385var semanticModel = compilation.GetSemanticModel(tree); 1418var semanticModel = compilation.GetSemanticModel(tree); 1451var semanticModel = 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)
60Assert.Throws<ArgumentException>(() => CSharpCompilation.Create("Woo").GetSemanticModel(arbitraryTree));
Semantics\TargetTypedConditionalOperatorTests.cs (8)
343var model = comp.GetSemanticModel(tree); 668var model = comp.GetSemanticModel(tree); 689var model = comp.GetSemanticModel(tree); 738var model = comp.GetSemanticModel(tree); 781var model = comp.GetSemanticModel(tree); 825var model = comp.GetSemanticModel(tree); 873var model = comp.GetSemanticModel(tree); 919var 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)
190var model1 = comp.GetSemanticModel(tree1); 315var model1 = comp.GetSemanticModel(tree1); 353var model2 = comp.GetSemanticModel(tree2); 481var model1 = comp.GetSemanticModel(tree1); 500var model2 = comp.GetSemanticModel(tree2); 533var model1 = comp.GetSemanticModel(tree1); 573var model1 = comp.GetSemanticModel(tree1); 698var model = comp.GetSemanticModel(tree); 871var model1 = comp.GetSemanticModel(tree1); 877var model2 = comp.GetSemanticModel(tree2); 985var model1 = comp.GetSemanticModel(tree1); 1040var model1 = comp.GetSemanticModel(tree1); 1450var model2 = comp.GetSemanticModel(tree2); 1468model2 = comp.GetSemanticModel(tree2); 1566var model1 = comp.GetSemanticModel(tree); 1569var model2 = comp.GetSemanticModel(tree); 1626var model1 = comp.GetSemanticModel(tree); 1633var model2 = comp.GetSemanticModel(tree); 1720var model1 = comp.GetSemanticModel(tree1); 1750var model = comp.GetSemanticModel(tree); 1893var model1 = comp.GetSemanticModel(tree1); 1916var model2 = comp.GetSemanticModel(tree2); 2119var model1 = comp.GetSemanticModel(tree1); 2283var model1 = comp.GetSemanticModel(tree1); 2301var model2 = comp.GetSemanticModel(tree2); 2461var model1 = comp.GetSemanticModel(tree1); 2953var model1 = comp.GetSemanticModel(tree1); 2976var model2 = comp.GetSemanticModel(tree2); 3976var model = comp.GetSemanticModel(tree); 4125var model = comp.GetSemanticModel(tree); 4250var model = comp.GetSemanticModel(tree); 4545var model1 = comp.GetSemanticModel(tree1); 4551var model2 = comp.GetSemanticModel(tree2); 4609var model1 = comp.GetSemanticModel(tree1); 4658var model1 = comp.GetSemanticModel(tree1); 4928var model = comp.GetSemanticModel(tree); 4985var model1 = comp.GetSemanticModel(tree1); 4991var model2 = comp.GetSemanticModel(tree2); 5013var model = comp.GetSemanticModel(tree); 6119var model1 = comp.GetSemanticModel(tree1); 6175var semanticModel = comp.GetSemanticModel(syntaxTree); 6247var semanticModel = comp.GetSemanticModel(syntaxTree); 6324var semanticModel = comp.GetSemanticModel(syntaxTree); 8713var model = comp.GetSemanticModel(tree); 8786var model = comp.GetSemanticModel(tree); 8808var model = comp.GetSemanticModel(tree); 8830var model = comp.GetSemanticModel(tree); 9814var model = compilation.GetSemanticModel(tree); 9839var 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);
Semantics\ValueTupleTests.cs (5)
666var model = comp.GetSemanticModel(tree); 706var model = comp.GetSemanticModel(tree); 747var model = comp.GetSemanticModel(tree); 789var model = comp.GetSemanticModel(tree); 829var model = comp.GetSemanticModel(tree);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (989)
Compilation\CompilationAPITests.cs (8)
882var bind = comp.GetSemanticModel(syntaxTree: t1); 1387comp.GetSemanticModel(null); 1622comp.RemoveSyntaxTrees(new SyntaxTree[] { t4 }).GetSemanticModel(t4); 1939var model2 = compilation.GetSemanticModel(tree2); 1953var model2 = compilation.GetSemanticModel(tree2); 2839var semanticModel = compilation.GetSemanticModel(syntaxTree); 2874var semanticModel = compilation.GetSemanticModel(syntaxTree); 2906var semanticModel = compilation.GetSemanticModel(syntaxTree);
Compilation\ForEachStatementInfoTests.cs (2)
114var model = comp.GetSemanticModel(tree); 181var model = comp.GetSemanticModel(tree);
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 (134)
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); 5412var model = compilation.GetSemanticModel(tree); 5487var model = comp.GetSemanticModel(tree); 5530var model = comp.GetSemanticModel(tree); 5544var model = comp.GetSemanticModel(tree); 5591var model = comp.GetSemanticModel(tree); 5629var model = comp.GetSemanticModel(tree); 5676var model = comp.GetSemanticModel(tree); 5729var model = comp.GetSemanticModel(tree); 5792var model = comp.GetSemanticModel(tree2); 5831var model1 = comp.GetSemanticModel(tree1); 5832var model2 = comp.GetSemanticModel(tree2); 5833var model3 = comp.GetSemanticModel(tree3); 5875var model1 = comp.GetSemanticModel(tree1); 5876var model2 = comp.GetSemanticModel(tree2); 5877var model3 = comp.GetSemanticModel(tree3); 5923var model = comp.GetSemanticModel(tree); 5996var model = comp.GetSemanticModel(tree); 6020var model = compilation.GetSemanticModel(tree); 6055var model = comp.GetSemanticModel(tree); 6092var model = comp.GetSemanticModel(tree); 6146var semanticModel = 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 (139)
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); 3122var model = comp.GetSemanticModel(tree); 3156var model = comp.GetSemanticModel(tree); 3186var model = comp.GetSemanticModel(tree); 3221var model = comp.GetSemanticModel(tree); 3251var model = comp.GetSemanticModel(tree); 3288var model = comp.GetSemanticModel(tree); 3329var model = comp.GetSemanticModel(tree); 3370var model = comp.GetSemanticModel(tree); 3404var model = comp.GetSemanticModel(tree); 3446var model = comp.GetSemanticModel(tree); 3487var model = comp.GetSemanticModel(tree); 3528var model = comp.GetSemanticModel(tree); 3553var model = compilation.GetSemanticModel(tree); 3574var model = compilation.GetSemanticModel(tree); 3613var model = comp.GetSemanticModel(tree); 3643var semanticModel = compilation.GetSemanticModel(tree); 3779var model = comp.GetSemanticModel(tree); 3815var model = comp.GetSemanticModel(tree); 3848var model = comp.GetSemanticModel(tree); 3875var model = comp.GetSemanticModel(tree); 3903var model = comp.GetSemanticModel(tree); 3934var model = comp.GetSemanticModel(tree); 4059var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 4087var model = compilation.GetSemanticModel(tree); 4115var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 4136var model = comp.GetSemanticModel(tree); 4173var model = comp.GetSemanticModel(tree); 4216var model = comp.GetSemanticModel(tree); 4240var model = comp.GetSemanticModel(tree); 4268var model = comp.GetSemanticModel(tree); 4306var model = comp.GetSemanticModel(tree); 4358var model = comp.GetSemanticModel(tree); 4401var semanticModel = compilation.GetSemanticModel(tree); 4456var model = comp.GetSemanticModel(syntaxTree); 4490var model = comp.GetSemanticModel(tree); 4505var model = comp.GetSemanticModel(tree); 4569var model = comp.GetSemanticModel(tree); 4643return compilation.GetSemanticModel(tree).GetAliasInfo(node); 4657var model = compilation.GetSemanticModel(tree); 4676var model = compilation.GetSemanticModel(tree); 4693var model = compilation.GetSemanticModel(tree); 4708var model = compilation.GetSemanticModel(tree); 4724var model = compilation.GetSemanticModel(tree); 4740var model = compilation.GetSemanticModel(tree); 4759var model = compilation.GetSemanticModel(tree); 4775var model = compilation.GetSemanticModel(tree); 4790var model = compilation.GetSemanticModel(tree); 4802var 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 (31)
1113var model = compilation.GetSemanticModel(tree); 1147model = compilation.GetSemanticModel(tree); 1177model = compilation.GetSemanticModel(tree); 1207model = compilation.GetSemanticModel(tree); 1233model = compilation.GetSemanticModel(tree); 1260model = compilation.GetSemanticModel(tree); 1288model = compilation.GetSemanticModel(tree); 1315model = compilation.GetSemanticModel(tree); 1356model = compilation.GetSemanticModel(tree); 1394model = compilation.GetSemanticModel(tree); 1662var model = compilation.GetSemanticModel(tree); 8266var semanticModel = compilation.GetSemanticModel(tree); 8431var semanticModel = compilation.GetSemanticModel(tree); 8455var semanticModel = compilation.GetSemanticModel(tree); 12123var model = comp.GetSemanticModel(tree); 14484var model = compilation.GetSemanticModel(tree); 14653var model = comp.GetSemanticModel(tree); 14736var model = compilation.GetSemanticModel(tree); 14786var model = compilation.GetSemanticModel(tree); 14882var model = compilation.GetSemanticModel(tree); 14993var model = compilation.GetSemanticModel(tree); 15053var model = compilation.GetSemanticModel(tree); 15371var semanticModel = compilation.GetSemanticModel(tree); 15432var model = compilation.GetSemanticModel(tree); 15459var model = compilation.GetSemanticModel(tree); 15496var model = compilation.GetSemanticModel(tree); 15537var model = compilation.GetSemanticModel(tree); 15579var model = compilation.GetSemanticModel(tree); 15620var model = compilation.GetSemanticModel(tree); 15655var model = compilation.GetSemanticModel(tree); 15690var model = compilation.GetSemanticModel(tree);
DocumentationComments\CrefTests.cs (91)
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); 5850var model = compilation.GetSemanticModel(cref.SyntaxTree); 5899var model = compilation.GetSemanticModel(cref.SyntaxTree); 5923var model = compilation.GetSemanticModel(cref.SyntaxTree); 5947var model = compilation.GetSemanticModel(cref.SyntaxTree); 5972var model = compilation.GetSemanticModel(cref.SyntaxTree); 5996var model = compilation.GetSemanticModel(cref.SyntaxTree); 6024var model = compilation.GetSemanticModel(cref.SyntaxTree); 6046var model = compilation.GetSemanticModel(typeParameterSyntax.SyntaxTree); 6070var model = compilation.GetSemanticModel(methodNameSyntax.SyntaxTree); 6102var model = compilation.GetSemanticModel(tree); 6137var model = compilation.GetSemanticModel(tree); 6180var model = compilation.GetSemanticModel(tree); 6208var model = compilation.GetSemanticModel(tree); 6238var model = compilation.GetSemanticModel(tree); 6276var model = compilation.GetSemanticModel(tree); 6335var model = compilation.GetSemanticModel(tree); 6422var model = comp.GetSemanticModel(tree); 6460var model = comp.GetSemanticModel(tree); 6493var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 6528var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 6555var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 6577var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 6600var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 6635var model = compilation.GetSemanticModel(tree); 6665var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 6708var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 6858var model = compilation.GetSemanticModel(compilation.SyntaxTrees.Single()); 7027var model = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 7121var model = comp.GetSemanticModel(comp.SyntaxTrees.Single());
DocumentationComments\DocumentationCommentCompilerTests.cs (2)
4221comp.GetSemanticModel(tree1).GetDiagnostics().Verify( 4225comp.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 (30)
3148var model = comp.GetSemanticModel(tree); 3705var model = comp.GetSemanticModel(tree); 5710var model = comp.GetSemanticModel(comp.SyntaxTrees.First()); 5736var model = comp.GetSemanticModel(tree); 6176var model = comp.GetSemanticModel(tree); 6723var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 6766var semanticModel = comp.GetSemanticModel(srcTree); 6800var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 6862var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 6895var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 6956var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 6989var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 7034var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 7152var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 7190var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 7228var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 7288var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 7360var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 7620var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 7773var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 8025var model = compilation.GetSemanticModel(tree); 8117var model = compilation.GetSemanticModel(tree); 8177var model = compilation.GetSemanticModel(tree); 8209var model = compilation.GetSemanticModel(tree); 8512var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 8563var semanticModel = comp.GetSemanticModel(comp.SyntaxTrees.Single()); 8989var model = comp.GetSemanticModel(tree); 9045var model = comp.GetSemanticModel(tree); 9138var model = comp.GetSemanticModel(tree); 9264var model = compilation.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)
7233var model = compilation1.GetSemanticModel(tree); 7305var model = compilation1.GetSemanticModel(tree); 7376var model = compilation1.GetSemanticModel(tree); 7449var model = compilation1.GetSemanticModel(tree); 7513var 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 (15)
391var model = compilation.GetSemanticModel(tree); 453var model = comp.GetSemanticModel(tree); 484var model = comp.GetSemanticModel(tree); 519var model = comp.GetSemanticModel(tree); 555var model = comp.GetSemanticModel(tree); 591var model = comp.GetSemanticModel(tree); 625var model = comp.GetSemanticModel(tree); 660var model = comp.GetSemanticModel(tree); 685var model = comp.GetSemanticModel(tree); 716var model = comp.GetSemanticModel(tree); 742var model = comp.GetSemanticModel(tree); 765var model = comp.GetSemanticModel(tree); 2068var model = comp.GetSemanticModel(tree); 2138var model = comp.GetSemanticModel(tree); 2172var model = comp.GetSemanticModel(tree);
Symbols\CorLibrary\CorTypes.cs (2)
302var model = comp.GetSemanticModel(tree); 367var 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); 1258var model = comp.GetSemanticModel(syntaxTree); 1316var model = compilation.GetSemanticModel(syntaxTree); 1419var model = comp.GetSemanticModel(syntaxTree); 1677var model = comp.GetSemanticModel(syntaxTree); 1788var model = comp.GetSemanticModel(syntaxTree); 1918var model = comp.GetSemanticModel(syntaxTree);
Symbols\GenericConstraintTests.cs (2)
7434var model = comp.GetSemanticModel(tree); 7459var model = comp.GetSemanticModel(tree);
Symbols\ImplicitClassTests.cs (2)
71var model = c.GetSemanticModel(tree); 114var model = comp.GetSemanticModel(tree);
Symbols\IndexerTests.cs (8)
1296var model = comp.GetSemanticModel(tree); 2235var model = comp.GetSemanticModel(tree); 2276var model = comp.GetSemanticModel(tree); 2318var model = comp.GetSemanticModel(tree); 2356var model = comp.GetSemanticModel(tree); 2614var model = comp.GetSemanticModel(tree); 2701var model = comp.GetSemanticModel(tree); 2844var model = comp2.GetSemanticModel(tree);
Symbols\LocalFunctionTests.cs (8)
33var semanticModel = compilation.GetSemanticModel(tree); 54var semanticModel = compilation.GetSemanticModel(tree); 75var semanticModel = compilation.GetSemanticModel(tree); 98var semanticModel = compilation.GetSemanticModel(tree); 445var model = comp.GetSemanticModel(tree); 469var model = comp.GetSemanticModel(tree); 498var model = comp.GetSemanticModel(tree); 521var model = comp.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\PartialPropertiesTests.cs (5)
5198var model = comp.GetSemanticModel(tree); 5253var model = comp.GetSemanticModel(tree); 5289var model = comp.GetSemanticModel(tree); 5336var model = comp.GetSemanticModel(tree); 5373var 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)
7647var 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)
271var model = comp.GetSemanticModel(tree); 308var model = comp.GetSemanticModel(tree); 2031var 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)
734var model = comp.GetSemanticModel(syntaxTree); 761var model = comp.GetSemanticModel(syntaxTree); 823var 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)
2530var model = comp.GetSemanticModel(syntax); 2561var 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); 3973var model = comp.GetSemanticModel(syntaxTree); 4042var model = comp.GetSemanticModel(syntaxTree); 4109var model = comp.GetSemanticModel(syntaxTree); 4172var model = comp.GetSemanticModel(syntaxTree); 4206var model = comp.GetSemanticModel(syntaxTree); 4238var model = comp.GetSemanticModel(syntaxTree); 4267var model = comp.GetSemanticModel(syntaxTree); 4301var model = comp.GetSemanticModel(syntaxTree); 4331var model = comp.GetSemanticModel(tree); 4361var model = comp.GetSemanticModel(tree); 4389var model = comp.GetSemanticModel(tree); 4417var model = comp.GetSemanticModel(tree); 4447var model = comp.GetSemanticModel(tree); 4477var model = comp.GetSemanticModel(tree); 4507var model = comp.GetSemanticModel(tree); 4539var model = comp.GetSemanticModel(tree); 4572var model = comp.GetSemanticModel(tree); 4600var model = comp.GetSemanticModel(tree); 4633var model = comp.GetSemanticModel(tree); 4664var model = comp.GetSemanticModel(tree); 4695var model = comp.GetSemanticModel(tree); 4725var model = comp.GetSemanticModel(tree); 4776var model = comp.GetSemanticModel(syntaxTree); 4811var model = comp.GetSemanticModel(tree); 4897var model = comp.GetSemanticModel(tree); 4931var model = comp.GetSemanticModel(tree); 4962var model = comp.GetSemanticModel(tree); 5005var model = comp.GetSemanticModel(tree); 5044var model = comp.GetSemanticModel(tree); 5064var model = comp.GetSemanticModel(tree); 5068model = comp.GetSemanticModel(tree); 5098var model = comp.GetSemanticModel(tree); 5130var model = comp.GetSemanticModel(tree); 5158var model = comp.GetSemanticModel(tree); 5249var model = comp.GetSemanticModel(tree); 5272var model = comp.GetSemanticModel(tree); 5304var model = comp.GetSemanticModel(tree); 5327var model = comp.GetSemanticModel(tree); 5349var model = comp.GetSemanticModel(tree); 5394var model = comp.GetSemanticModel(tree); 5451var 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)
8434var model = compilation1.GetSemanticModel(tree); 9022var model = compilation1.GetSemanticModel(tree); 9337var model = compilation1.GetSemanticModel(tree); 9736var model = compilation1.GetSemanticModel(tree); 10655var model = compilation1.GetSemanticModel(tree); 10848var model = compilation1.GetSemanticModel(tree); 11038var model = compilation1.GetSemanticModel(tree); 11232var model = compilation1.GetSemanticModel(tree); 11486var model = compilation1.GetSemanticModel(tree); 11863var model = compilation1.GetSemanticModel(tree); 12042var model = compilation1.GetSemanticModel(tree); 13083var model = compilation1.GetSemanticModel(tree); 13169var model = compilation1.GetSemanticModel(tree); 13291var model = compilation1.GetSemanticModel(tree); 13992var model = compilation1.GetSemanticModel(tree); 14617var model = compilation1.GetSemanticModel(tree); 15023var model = compilation1.GetSemanticModel(tree); 15291var model = compilation1.GetSemanticModel(tree); 20019var model = compilation1.GetSemanticModel(tree); 20102var model = compilation1.GetSemanticModel(tree); 20194var model = compilation1.GetSemanticModel(tree); 20283var model = compilation1.GetSemanticModel(tree); 29232var model = compilation1.GetSemanticModel(tree); 30739var model = compilation1.GetSemanticModel(tree); 30930var model = compilation1.GetSemanticModel(tree); 31396var 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)
1566var model = comp.GetSemanticModel(syntaxTree);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (9)
CompilationTestUtils.cs (1)
463var model = compilation.GetSemanticModel(tree);
CSharpTestBase.cs (4)
2185return new Tuple<TNode, SemanticModel>(node, compilation.GetSemanticModel(compilation.SyntaxTrees[treeIndex])); 2196return new Tuple<IList<TNode>, SemanticModel>(nodes, compilation.GetSemanticModel(compilation.SyntaxTrees[treeIndex])); 2600var model = compilation.GetSemanticModel(tree); 2673var 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 (3)
EmbeddedLanguages\CSharpTestEmbeddedLanguageUtilities.cs (1)
27var semanticModeWithTestFile = compilationWithTestFile.GetSemanticModel(testFileTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SemanticFacts\CSharpSemanticFacts.cs (1)
398var semanticModel = compilation.GetSemanticModel(syntaxReference.SyntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpUseImplicitTypeHelper.cs (1)
182var newSemanticModel = semanticModel.Compilation.ReplaceSyntaxTree(tree, newTree).GetSemanticModel(newTree);
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (2)
CodeGeneration\SyntaxGeneratorTests.cs (2)
5681var semanticModel = compilation.GetSemanticModel(tree); 5714var semanticModel = compilation.GetSemanticModel(compilation.SyntaxTrees.Single());
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Semantics\SpeculationAnalyzerTestsBase.cs (1)
42var initialModel = initialCompilation.GetSemanticModel(initialTree);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Utilities\SymbolEquivalenceComparerTests.cs (1)
2004var model = compilation.GetSemanticModel(invocation.SyntaxTree);
Microsoft.CodeAnalysis.Features (5)
FindUsages\FindUsagesHelpers.cs (1)
114var semanticModel = compilation.GetSemanticModel(syntaxTree);
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (2)
130return model.Compilation.GetSemanticModel(tree); 139return referencedCompilation.GetSemanticModel(tree);
QuickInfo\CommonSemanticQuickInfoProvider.cs (1)
271semanticModel = newCompilation.GetSemanticModel(newTree);
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
694lazyModel ??= compilation.GetSemanticModel(syntaxTree);
Microsoft.CodeAnalysis.Features.UnitTests (3)
FindUsages\DefinitionItemFactoryTests.cs (3)
1452var model = compilation.GetSemanticModel(tree); 1518var model = compilation.GetSemanticModel(tree); 1589var model = compilation.GetSemanticModel(tree);
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (8)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeMetricsAnalysisContext.cs (1)
26_getSemanticModel = tree => Compilation.GetSemanticModel(tree);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IMethodSymbolExtensions.cs (1)
458var semanticModel = compilation.GetSemanticModel(syntax.SyntaxTree);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (1)
57var model = compilation.GetSemanticModel(receiverSyntax.SyntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AliasSymbolKey.cs (1)
44var semanticModel = reader.Compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AnonymousFunctionOrDelegateSymbolKey.cs (1)
53var semanticModel = reader.Compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.BodyLevelSymbolKey.cs (1)
122semanticModel = compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
728var semanticModel = Compilation.GetSemanticModel(location.SourceTree);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\InitializeParameter\AbstractInitializerParameterService.cs (1)
208var semanticModel = compilation.GetSemanticModel(group.Key);
Microsoft.CodeAnalysis.PublicApiAnalyzers (7)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeMetricsAnalysisContext.cs (1)
26_getSemanticModel = tree => Compilation.GetSemanticModel(tree);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IMethodSymbolExtensions.cs (1)
458var semanticModel = compilation.GetSemanticModel(syntax.SyntaxTree);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (1)
57var model = compilation.GetSemanticModel(receiverSyntax.SyntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AliasSymbolKey.cs (1)
44var semanticModel = reader.Compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AnonymousFunctionOrDelegateSymbolKey.cs (1)
53var semanticModel = reader.Compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.BodyLevelSymbolKey.cs (1)
122semanticModel = compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
728var semanticModel = Compilation.GetSemanticModel(location.SourceTree);
Microsoft.CodeAnalysis.ResxSourceGenerator (7)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeMetricsAnalysisContext.cs (1)
26_getSemanticModel = tree => Compilation.GetSemanticModel(tree);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IMethodSymbolExtensions.cs (1)
458var semanticModel = compilation.GetSemanticModel(syntax.SyntaxTree);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (1)
57var model = compilation.GetSemanticModel(receiverSyntax.SyntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AliasSymbolKey.cs (1)
44var semanticModel = reader.Compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AnonymousFunctionOrDelegateSymbolKey.cs (1)
53var semanticModel = reader.Compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.BodyLevelSymbolKey.cs (1)
122semanticModel = compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
728var semanticModel = Compilation.GetSemanticModel(location.SourceTree);
Microsoft.CodeAnalysis.Test.Utilities (4)
Compilation\CompilationExtensions.cs (3)
194SemanticModel model = compilation.GetSemanticModel(node.SyntaxTree); 207SemanticModel model = compilation.GetSemanticModel(tree); 293var 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.Workspaces (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AliasSymbolKey.cs (1)
44var semanticModel = reader.Compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AnonymousFunctionOrDelegateSymbolKey.cs (1)
53var semanticModel = reader.Compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.BodyLevelSymbolKey.cs (1)
122semanticModel = compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
728var semanticModel = Compilation.GetSemanticModel(location.SourceTree);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\InitializeParameter\AbstractInitializerParameterService.cs (1)
208var semanticModel = compilation.GetSemanticModel(group.Key);
Microsoft.CodeAnalysis.Workspaces.UnitTests (23)
FindReferencesTests.cs (3)
187var semanticModel = comp.GetSemanticModel(tree); 228var semanticModel = comp.GetSemanticModel(tree); 294var semanticModel = comp.GetSemanticModel(tree);
SymbolKeyTests.cs (20)
304TestRoundTrip(GetAllSymbols(compilation.GetSemanticModel(compilation.SyntaxTrees.Single())), compilation); 605var model = compilation.GetSemanticModel(tree); 641var model = compilation.GetSemanticModel(tree); 663var model = compilation.GetSemanticModel(tree); 688var model = compilation.GetSemanticModel(tree); 706var model = compilation.GetSemanticModel(tree); 724var model = compilation.GetSemanticModel(tree); 745var model = compilation.GetSemanticModel(tree); 769var model = compilation.GetSemanticModel(tree); 812var model = compilation.GetSemanticModel(tree); 826var model = compilation.GetSemanticModel(tree); 970compilation.GetSemanticModel(compilation.SyntaxTrees.Single()), 1012compilation1.GetSemanticModel(compilation1.SyntaxTrees.Single()), 1050compilation1.GetSemanticModel(compilation1.SyntaxTrees.Single()), 1084compilation1.GetSemanticModel(compilation1.SyntaxTrees.Single()), 1120compilation1.GetSemanticModel(compilation1.SyntaxTrees.Single()), 1169compilation2.GetSemanticModel(compilation2.SyntaxTrees.Single()), 1218compilation2.GetSemanticModel(compilation2.SyntaxTrees.Single()), 1276var semanticModel = compilation1.GetSemanticModel(tree); 1560var semanticModel = compilation.GetSemanticModel(node.SyntaxTree);
Microsoft.Extensions.Logging.Generators (2)
LoggerMessageGenerator.Parser.cs (1)
78SemanticModel sm = _compilation.GetSemanticModel(syntaxTree);
src\libraries\Common\src\Roslyn\SyntaxValueProvider_ForAttributeWithMetadataName.cs (1)
129var semanticModel = compilation.GetSemanticModel(syntaxTree);
Microsoft.Extensions.Validation.ValidationsGenerator (1)
src\Http\Http.Extensions\gen\Microsoft.AspNetCore.Http.RequestDelegateGenerator\StaticRouteHandlerModel\InvocationOperationExtensions.cs (1)
112var targetSemanticModel = semanticModel?.Compilation.GetSemanticModel(expr.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.MetadataExtractor (2)
src\Generators\Microsoft.Gen.ComplianceReports\Parser.cs (1)
43sm ??= _compilation.GetSemanticModel(typeSyntax.SyntaxTree);
src\Generators\Microsoft.Gen.Metrics\Parser.cs (1)
84semanticModel ??= _compilation.GetSemanticModel(typeDeclaration.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);
Roslyn.Diagnostics.Analyzers (9)
DefaultableTypeShouldHaveDefaultableFieldsAnalyzer.cs (1)
98var semanticModel = originalContext.Compilation.GetSemanticModel(field.Locations[0].SourceTree);
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeMetricsAnalysisContext.cs (1)
26_getSemanticModel = tree => Compilation.GetSemanticModel(tree);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IMethodSymbolExtensions.cs (1)
458var semanticModel = compilation.GetSemanticModel(syntax.SyntaxTree);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (1)
57var model = compilation.GetSemanticModel(receiverSyntax.SyntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AliasSymbolKey.cs (1)
44var semanticModel = reader.Compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AnonymousFunctionOrDelegateSymbolKey.cs (1)
53var semanticModel = reader.Compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.BodyLevelSymbolKey.cs (1)
122semanticModel = compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
728var semanticModel = Compilation.GetSemanticModel(location.SourceTree);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\InitializeParameter\AbstractInitializerParameterService.cs (1)
208var semanticModel = compilation.GetSemanticModel(group.Key);
Roslyn.Diagnostics.CSharp.Analyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SemanticFacts\CSharpSemanticFacts.cs (1)
398var semanticModel = compilation.GetSemanticModel(syntaxReference.SyntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpUseImplicitTypeHelper.cs (1)
182var newSemanticModel = semanticModel.Compilation.ReplaceSyntaxTree(tree, newTree).GetSemanticModel(newTree);
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);
Test.Utilities (2)
IMethodSymbolExtensions.cs (1)
588var semanticModel = compilation.GetSemanticModel(syntax.SyntaxTree);
IOperationExtensions.cs (1)
56var model = compilation.GetSemanticModel(receiverSyntax.SyntaxTree);
Text.Analyzers (8)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeMetricsAnalysisContext.cs (1)
26_getSemanticModel = tree => Compilation.GetSemanticModel(tree);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IMethodSymbolExtensions.cs (1)
458var semanticModel = compilation.GetSemanticModel(syntax.SyntaxTree);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (1)
57var model = compilation.GetSemanticModel(receiverSyntax.SyntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AliasSymbolKey.cs (1)
44var semanticModel = reader.Compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AnonymousFunctionOrDelegateSymbolKey.cs (1)
53var semanticModel = reader.Compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.BodyLevelSymbolKey.cs (1)
122semanticModel = compilation.GetSemanticModel(syntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
728var semanticModel = Compilation.GetSemanticModel(location.SourceTree);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\InitializeParameter\AbstractInitializerParameterService.cs (1)
208var semanticModel = compilation.GetSemanticModel(group.Key);