Implemented interface member:
property
SpeculativeSemanticModel
Microsoft.CodeAnalysis.Shared.Utilities.ISpeculationAnalyzer.SpeculativeSemanticModel
25 references to SpeculativeSemanticModel
Microsoft.CodeAnalysis.CodeStyle (25)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (25)
266
var newTypeInfo = this.
SpeculativeSemanticModel
.GetTypeInfo(newExpression);
290
var newTypeInfo = this.
SpeculativeSemanticModel
.GetTypeInfo(newExpression);
301
return ConversionsAreCompatible(this.OriginalSemanticModel, originalExpression, this.
SpeculativeSemanticModel
, newExpression);
324
var newSymbolInfo = this.
SpeculativeSemanticModel
.GetSymbolInfo(newNode);
520
if (this.
SpeculativeSemanticModel
== null)
562
if (this.
SpeculativeSemanticModel
== null)
633
var newTypeInfo = this.
SpeculativeSemanticModel
.GetTypeInfo(newExpression);
679
var replacedIsStaticAccess = IsStaticAccess(this.
SpeculativeSemanticModel
.GetSymbolInfo(newExpression, CancellationToken).Symbol);
736
var replacedExpressionSymbol = this.
SpeculativeSemanticModel
.GetSymbolInfo(currentReplacedNode).Symbol;
741
var previousReplacedType = this.
SpeculativeSemanticModel
.GetTypeInfo(previousReplacedNode).Type;
767
var newAttributeSym = this.
SpeculativeSemanticModel
.GetSymbolInfo(newAttribute).Symbol;
781
GetForEachSymbols(this.
SpeculativeSemanticModel
, newForEachStatement, out var newGetEnumerator, out var newElementType, out var newLocalVariables);
799
!ForEachConversionsAreCompatible(this.OriginalSemanticModel, forEachStatement, this.
SpeculativeSemanticModel
, newForEachStatement) ||
826
var expressionType = this.
SpeculativeSemanticModel
.GetTypeInfo(newForEachStatementExpression, CancellationToken).ConvertedType;
851
var newThrowExpressionType = this.
SpeculativeSemanticModel
.GetTypeInfo(newThrowExpression).Type;
855
newThrowExpressionType.IsOrDerivesFromExceptionType(this.
SpeculativeSemanticModel
.Compilation);
865
newSymbol = this.
SpeculativeSemanticModel
.GetSymbolInfo(newType, CancellationToken).Symbol;
897
var newSymbolInfo = this.
SpeculativeSemanticModel
.GetSymbolInfo(node: newExpression);
909
IsReceiverNonUniquePossibleValueTypeParam(newExpression, this.
SpeculativeSemanticModel
))
934
symbol, newSymbol, expression, newExpression, this.
SpeculativeSemanticModel
))
967
var newTargetType = this.
SpeculativeSemanticModel
.GetTypeInfo(newLeft).Type;
1209
this.
SpeculativeSemanticModel
.GetTypeInfo(newExpression).Type != null)
1212
newConversion = ClassifyConversion(this.
SpeculativeSemanticModel
, newExpression, newTargetType);
1222
var newConvertedTypeSymbol = this.
SpeculativeSemanticModel
.GetTypeInfo(newExpression).ConvertedType;
1225
newConversion = ClassifyConversion(this.
SpeculativeSemanticModel
, newConvertedTypeSymbol, newTargetType);