Implemented interface member:
property
OriginalSemanticModel
Microsoft.CodeAnalysis.Shared.Utilities.ISpeculationAnalyzer.OriginalSemanticModel
1 write to OriginalSemanticModel
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (1)
84OriginalSemanticModel = semanticModel;
25 references to OriginalSemanticModel
Microsoft.CodeAnalysis.Workspaces (25)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (25)
231_lazySpeculativeSemanticModel = CreateSpeculativeSemanticModel(this.SemanticRootOfOriginalExpression, nodeToSpeculate, OriginalSemanticModel); 265var originalTypeInfo = this.OriginalSemanticModel.GetTypeInfo(originalExpression); 289var originalTypeInfo = this.OriginalSemanticModel.GetTypeInfo(originalExpression); 301return ConversionsAreCompatible(this.OriginalSemanticModel, originalExpression, this.SpeculativeSemanticModel, newExpression); 323var originalSymbolInfo = this.OriginalSemanticModel.GetSymbolInfo(originalNode); 631var originalTypeInfo = this.OriginalSemanticModel.GetTypeInfo(originalExpression); 677var originalIsStaticAccess = IsStaticAccess(OriginalSemanticModel.GetSymbolInfo(originalExpression, CancellationToken).Symbol); 734var originalExpressionSymbol = this.OriginalSemanticModel.GetSymbolInfo(currentOriginalNode).Symbol; 739var previousOriginalType = this.OriginalSemanticModel.GetTypeInfo(previousOriginalNode).Type; 765var attributeSym = this.OriginalSemanticModel.GetSymbolInfo(attribute).Symbol; 779GetForEachSymbols(this.OriginalSemanticModel, forEachStatement, out var originalGetEnumerator, out var originalElementType, out var originalLocalVariables); 783if (IsForEachTypeInferred(forEachStatement, OriginalSemanticModel)) 798!ForEachConversionsAreCompatible(this.OriginalSemanticModel, forEachStatement, this.SpeculativeSemanticModel, newForEachStatement) || 848var originalThrowExpressionType = this.OriginalSemanticModel.GetTypeInfo(originalThrowExpression).Type; 853return originalThrowExpressionType.IsOrDerivesFromExceptionType(this.OriginalSemanticModel.Compilation) != 859var symbol = this.OriginalSemanticModel.GetSymbolInfo(type).Symbol; 869newSymbol = this.OriginalSemanticModel.GetSpeculativeSymbolInfo(type.SpanStart, newType, bindingOption).Symbol; 890var originalSymbolInfo = OriginalSemanticModel.GetSymbolInfo(expression); 907if (IsReceiverNonUniquePossibleValueTypeParam(expression, this.OriginalSemanticModel) != 942IsReferenceConversion(this.OriginalSemanticModel.Compilation, newSymbol.ContainingType, symbol.ContainingType)) 963var originalTargetType = this.OriginalSemanticModel.GetTypeInfo(originalLeft).Type; 1207if (this.OriginalSemanticModel.GetTypeInfo(originalExpression).Type != null && 1210originalConversion = ClassifyConversion(this.OriginalSemanticModel, originalExpression, originalTargetType); 1215var originalConvertedTypeSymbol = this.OriginalSemanticModel.GetTypeInfo(originalExpression).ConvertedType; 1218originalConversion = ClassifyConversion(this.OriginalSemanticModel, originalConvertedTypeSymbol, originalTargetType);