Implemented interface member:
property
SpeculativeSemanticModel
Microsoft.CodeAnalysis.Shared.Utilities.ISpeculationAnalyzer.SpeculativeSemanticModel
25 references to SpeculativeSemanticModel
Microsoft.CodeAnalysis.Workspaces (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)
561
if (this.
SpeculativeSemanticModel
== null)
632
var newTypeInfo = this.
SpeculativeSemanticModel
.GetTypeInfo(newExpression);
678
var replacedIsStaticAccess = IsStaticAccess(this.
SpeculativeSemanticModel
.GetSymbolInfo(newExpression, CancellationToken).Symbol);
735
var replacedExpressionSymbol = this.
SpeculativeSemanticModel
.GetSymbolInfo(currentReplacedNode).Symbol;
740
var previousReplacedType = this.
SpeculativeSemanticModel
.GetTypeInfo(previousReplacedNode).Type;
766
var newAttributeSym = this.
SpeculativeSemanticModel
.GetSymbolInfo(newAttribute).Symbol;
780
GetForEachSymbols(this.
SpeculativeSemanticModel
, newForEachStatement, out var newGetEnumerator, out var newElementType, out var newLocalVariables);
798
!ForEachConversionsAreCompatible(this.OriginalSemanticModel, forEachStatement, this.
SpeculativeSemanticModel
, newForEachStatement) ||
825
var expressionType = this.
SpeculativeSemanticModel
.GetTypeInfo(newForEachStatementExpression, CancellationToken).ConvertedType;
850
var newThrowExpressionType = this.
SpeculativeSemanticModel
.GetTypeInfo(newThrowExpression).Type;
854
newThrowExpressionType.IsOrDerivesFromExceptionType(this.
SpeculativeSemanticModel
.Compilation);
864
newSymbol = this.
SpeculativeSemanticModel
.GetSymbolInfo(newType, CancellationToken).Symbol;
896
var newSymbolInfo = this.
SpeculativeSemanticModel
.GetSymbolInfo(node: newExpression);
908
IsReceiverNonUniquePossibleValueTypeParam(newExpression, this.
SpeculativeSemanticModel
))
933
symbol, newSymbol, expression, newExpression, this.
SpeculativeSemanticModel
))
966
var newTargetType = this.
SpeculativeSemanticModel
.GetTypeInfo(newLeft).Type;
1208
this.
SpeculativeSemanticModel
.GetTypeInfo(newExpression).Type != null)
1211
newConversion = ClassifyConversion(this.
SpeculativeSemanticModel
, newExpression, newTargetType);
1221
var newConvertedTypeSymbol = this.
SpeculativeSemanticModel
.GetTypeInfo(newExpression).ConvertedType;
1224
newConversion = ClassifyConversion(this.
SpeculativeSemanticModel
, newConvertedTypeSymbol, newTargetType);