11 references to SemanticModel
Microsoft.CodeAnalysis.CSharp.Features (2)
ExtractMethod\CSharpMethodExtractor.Analyzer.cs (2)
28
var info = this.
SemanticModel
.GetSpeculativeTypeInfo(SelectionResult.FinalSpan.Start, SyntaxFactory.ParseName(symbol.Name), SpeculativeBindingOption.BindAsExpression);
41
this.
SemanticModel
.Compilation,
Microsoft.CodeAnalysis.Features (9)
ExtractMethod\MethodExtractor.Analyzer.cs (9)
71
var model = this.
SemanticModel
;
182
var compilation = this.
SemanticModel
.Compilation;
199
var compilation = this.
SemanticModel
.Compilation;
216
? ExtractMethodFlowControlInformation.Create(this.
SemanticModel
.Compilation, supportsComplexFlowControl: true, breakStatementCount: 0, continueStatementCount: 0, returnStatementCount: 0, endPointIsReachable: true)
287
var semanticModel = this.
SemanticModel
;
435
var selectionOperation = this.
SemanticModel
.GetOperation(containingScope);
548
this.SemanticFacts, this.
SemanticModel
, selectionOperation, symbol, analysisRange, includeDeclaration: false, this.CancellationToken) == false)
652
return tokens.Any(t => semanticFacts.IsWrittenTo(this.
SemanticModel
, t.Parent, this.CancellationToken));
884
if (tokens.All(t => !semanticFacts.IsWrittenTo(this.
SemanticModel
, t.Parent, CancellationToken)))