1 write to _semanticModel
Microsoft.CodeAnalysis.Features (1)
AddImport\SymbolReferenceFinder.cs (1)
61_semanticModel = semanticModel;
22 references to _semanticModel
Microsoft.CodeAnalysis.Features (22)
AddImport\SymbolReferenceFinder.cs (22)
77var set = _owner.GetImportNamespacesInScope(_semanticModel, _node, cancellationToken); 81for (var containingNamespace = _semanticModel.GetEnclosingNamespace(_node.SpanStart, cancellationToken); 92=> _semanticModel.Compilation.GetCompilationNamespace(containingNamespace) ?? containingNamespace; 207var editorBrowserInfo = new EditorBrowsableInfo(_semanticModel.Compilation); 213s.Symbol.IsEditorBrowsable(Options.MemberDisplayOptions.HideAdvancedMembers, _semanticModel.Compilation, editorBrowserInfo)); 243if (!symbol.IsAccessibleWithin(_semanticModel.Compilation.Assembly)) 307var symbol = _semanticModel.GetSymbolInfo(expression, cancellationToken).GetAnySymbol(); 343m.IsAccessibleWithin(self._semanticModel.Compilation.Assembly), this); 394return (_semanticModel.GetEnclosingNamedType(expression.SpanStart, cancellationToken), isStatic: false); 402var symbol = _semanticModel.GetSymbolInfo(leftExpression, cancellationToken).GetAnySymbol(); 403var semanticInfo = _semanticModel.GetTypeInfo(leftExpression, cancellationToken); 413s.Symbol.IsAccessibleWithin(_semanticModel.Compilation.Assembly)); 427_owner.IsAddMethodContext(_node, _semanticModel, out var objectCreationExpression)) 429var objectCreationType = _semanticModel.GetTypeInfo(objectCreationExpression, cancellationToken).Type; 449var type = _owner.GetQueryClauseInfo(_semanticModel, _node, cancellationToken); 473var type = GetAwaitInfo(_semanticModel, _syntaxFacts, _node); 495var type = GetCollectionExpressionType(_semanticModel, _syntaxFacts, _node); 517var type = GetCollectionExpressionType(_semanticModel, _syntaxFacts, _node); 539var type = _owner.GetDeconstructInfo(_semanticModel, _node, cancellationToken); 596if (!method.IsAccessibleWithin(_semanticModel.Compilation.Assembly)) 618if (!member.IsAccessibleWithin(_semanticModel.Compilation.Assembly)) 632var symbolInfo = _semanticModel.GetSymbolInfo(nameNode, cancellationToken);