1 write to _semanticModel
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
Simplification\VisualBasicSimplificationService.Expander.vb (1)
32
_semanticModel
= semanticModel
28 references to _semanticModel
Microsoft.CodeAnalysis.VisualBasic.Workspaces (28)
Simplification\VisualBasicSimplificationService.Expander.vb (28)
48
Dim semanticModel =
_semanticModel
50
Dim specAnalyzer = New SpeculationAnalyzer(oldExpression, expression,
_semanticModel
, _cancellationToken)
106
Dim newNodeSymbol =
_semanticModel
.GetDeclaredSymbol(node)
133
Dim typeInfo =
_semanticModel
.GetTypeInfo(node.Right)
134
Dim conversion =
_semanticModel
.GetConversion(node.Right)
175
Dim typeInfo =
_semanticModel
.GetTypeInfo(node.Value)
176
Dim conversion =
_semanticModel
.GetConversion(node.Value)
209
Dim targetSymbol = SimplificationHelpers.GetOriginalSymbolInfo(
_semanticModel
, memberAccess.Name)
236
Dim binding =
_semanticModel
.GetSpeculativeSymbolInfo(originalNode.SpanStart, expression, SpeculativeBindingOption.BindAsExpression)
260
Dim typeInfo =
_semanticModel
.GetTypeInfo(oldThisExpression)
261
Dim conversion =
_semanticModel
.GetConversion(oldThisExpression)
319
Dim symbol =
_semanticModel
.GetSymbolInfo(node.Expression, _cancellationToken).Symbol
322
Dim parameter = node.DetermineParameter(
_semanticModel
, cancellationToken:=_cancellationToken)
336
Dim typeInfo =
_semanticModel
.GetTypeInfo(node.Expression)
337
Dim conversion =
_semanticModel
.GetConversion(node.Expression)
416
Dim symbolForQualifiedName =
_semanticModel
.GetSymbolInfo(node).Symbol
423
Dim symbolForLeftPart =
_semanticModel
.GetSymbolInfo(node.Left).Symbol
436
If symbolForQualifiedName.Equals(
_semanticModel
.GetSpeculativeSymbolInfo(node.SpanStart, qualifiedNameWithModuleName, SpeculativeBindingOption.BindAsExpression).Symbol) Then
450
Dim symbolForMemberAccess =
_semanticModel
.GetSymbolInfo(node).Symbol
453
Dim symbolForLeftPart =
_semanticModel
.GetSymbolInfo(node.Expression).Symbol
471
If symbolForMemberAccess.Equals(
_semanticModel
.GetSpeculativeSymbolInfo(node.SpanStart, memberAccessWithModuleName, SpeculativeBindingOption.BindAsExpression).Symbol) Then
498
Dim aliasInfo =
_semanticModel
.GetAliasInfo(DirectCast(originalSimpleName, IdentifierNameSyntax))
509
If typeOfExpression IsNot Nothing AndAlso IsTypeOfUnboundGenericType(
_semanticModel
, typeOfExpression) Then
565
Dim symbol =
_semanticModel
.GetSymbolInfo(originalSimpleName.Identifier, _cancellationToken).Symbol
650
_semanticModel
.SyntaxTree.IsNameOfContext(originalSimpleName.SpanStart, _cancellationToken) Then
659
If Not Equals(
_semanticModel
.GetEnclosingNamedType(originalSimpleName.SpanStart, _cancellationToken), symbol.ContainingType) Then
730
Dim newSymbol =
_semanticModel
.GetSpeculativeSymbolInfo(originalNode.SpanStart, left, SpeculativeBindingOption.BindAsExpression).Symbol
744
symbol.Equals(
_semanticModel
.GetSpeculativeSymbolInfo(originalNode.SpanStart, result, SpeculativeBindingOption.BindAsExpression).Symbol))