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