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)
266var newTypeInfo = this.SpeculativeSemanticModel.GetTypeInfo(newExpression); 290var newTypeInfo = this.SpeculativeSemanticModel.GetTypeInfo(newExpression); 301return ConversionsAreCompatible(this.OriginalSemanticModel, originalExpression, this.SpeculativeSemanticModel, newExpression); 324var newSymbolInfo = this.SpeculativeSemanticModel.GetSymbolInfo(newNode); 520if (this.SpeculativeSemanticModel == null) 562if (this.SpeculativeSemanticModel == null) 633var newTypeInfo = this.SpeculativeSemanticModel.GetTypeInfo(newExpression); 679var replacedIsStaticAccess = IsStaticAccess(this.SpeculativeSemanticModel.GetSymbolInfo(newExpression, CancellationToken).Symbol); 736var replacedExpressionSymbol = this.SpeculativeSemanticModel.GetSymbolInfo(currentReplacedNode).Symbol; 741var previousReplacedType = this.SpeculativeSemanticModel.GetTypeInfo(previousReplacedNode).Type; 767var newAttributeSym = this.SpeculativeSemanticModel.GetSymbolInfo(newAttribute).Symbol; 781GetForEachSymbols(this.SpeculativeSemanticModel, newForEachStatement, out var newGetEnumerator, out var newElementType, out var newLocalVariables); 799!ForEachConversionsAreCompatible(this.OriginalSemanticModel, forEachStatement, this.SpeculativeSemanticModel, newForEachStatement) || 826var expressionType = this.SpeculativeSemanticModel.GetTypeInfo(newForEachStatementExpression, CancellationToken).ConvertedType; 851var newThrowExpressionType = this.SpeculativeSemanticModel.GetTypeInfo(newThrowExpression).Type; 855newThrowExpressionType.IsOrDerivesFromExceptionType(this.SpeculativeSemanticModel.Compilation); 865newSymbol = this.SpeculativeSemanticModel.GetSymbolInfo(newType, CancellationToken).Symbol; 897var newSymbolInfo = this.SpeculativeSemanticModel.GetSymbolInfo(node: newExpression); 909IsReceiverNonUniquePossibleValueTypeParam(newExpression, this.SpeculativeSemanticModel)) 934symbol, newSymbol, expression, newExpression, this.SpeculativeSemanticModel)) 967var newTargetType = this.SpeculativeSemanticModel.GetTypeInfo(newLeft).Type; 1209this.SpeculativeSemanticModel.GetTypeInfo(newExpression).Type != null) 1212newConversion = ClassifyConversion(this.SpeculativeSemanticModel, newExpression, newTargetType); 1222var newConvertedTypeSymbol = this.SpeculativeSemanticModel.GetTypeInfo(newExpression).ConvertedType; 1225newConversion = ClassifyConversion(this.SpeculativeSemanticModel, newConvertedTypeSymbol, newTargetType);