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)
84
OriginalSemanticModel
= 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
);
265
var originalTypeInfo = this.
OriginalSemanticModel
.GetTypeInfo(originalExpression);
289
var originalTypeInfo = this.
OriginalSemanticModel
.GetTypeInfo(originalExpression);
301
return ConversionsAreCompatible(this.
OriginalSemanticModel
, originalExpression, this.SpeculativeSemanticModel, newExpression);
323
var originalSymbolInfo = this.
OriginalSemanticModel
.GetSymbolInfo(originalNode);
631
var originalTypeInfo = this.
OriginalSemanticModel
.GetTypeInfo(originalExpression);
677
var originalIsStaticAccess = IsStaticAccess(
OriginalSemanticModel
.GetSymbolInfo(originalExpression, CancellationToken).Symbol);
734
var originalExpressionSymbol = this.
OriginalSemanticModel
.GetSymbolInfo(currentOriginalNode).Symbol;
739
var previousOriginalType = this.
OriginalSemanticModel
.GetTypeInfo(previousOriginalNode).Type;
765
var attributeSym = this.
OriginalSemanticModel
.GetSymbolInfo(attribute).Symbol;
779
GetForEachSymbols(this.
OriginalSemanticModel
, forEachStatement, out var originalGetEnumerator, out var originalElementType, out var originalLocalVariables);
783
if (IsForEachTypeInferred(forEachStatement,
OriginalSemanticModel
))
798
!ForEachConversionsAreCompatible(this.
OriginalSemanticModel
, forEachStatement, this.SpeculativeSemanticModel, newForEachStatement) ||
848
var originalThrowExpressionType = this.
OriginalSemanticModel
.GetTypeInfo(originalThrowExpression).Type;
853
return originalThrowExpressionType.IsOrDerivesFromExceptionType(this.
OriginalSemanticModel
.Compilation) !=
859
var symbol = this.
OriginalSemanticModel
.GetSymbolInfo(type).Symbol;
869
newSymbol = this.
OriginalSemanticModel
.GetSpeculativeSymbolInfo(type.SpanStart, newType, bindingOption).Symbol;
890
var originalSymbolInfo =
OriginalSemanticModel
.GetSymbolInfo(expression);
907
if (IsReceiverNonUniquePossibleValueTypeParam(expression, this.
OriginalSemanticModel
) !=
942
IsReferenceConversion(this.
OriginalSemanticModel
.Compilation, newSymbol.ContainingType, symbol.ContainingType))
963
var originalTargetType = this.
OriginalSemanticModel
.GetTypeInfo(originalLeft).Type;
1207
if (this.
OriginalSemanticModel
.GetTypeInfo(originalExpression).Type != null &&
1210
originalConversion = ClassifyConversion(this.
OriginalSemanticModel
, originalExpression, originalTargetType);
1215
var originalConvertedTypeSymbol = this.
OriginalSemanticModel
.GetTypeInfo(originalExpression).ConvertedType;
1218
originalConversion = ClassifyConversion(this.
OriginalSemanticModel
, originalConvertedTypeSymbol, originalTargetType);