1 write to _semanticModel
Microsoft.CodeAnalysis.Features (1)
AddImport\SymbolReferenceFinder.cs (1)
62_semanticModel = semanticModel;
16 references to _semanticModel
Microsoft.CodeAnalysis.Features (16)
AddImport\SymbolReferenceFinder.cs (16)
78var set = _owner.GetImportNamespacesInScope(_semanticModel, _node, cancellationToken); 82for (var containingNamespace = _semanticModel.GetEnclosingNamespace(_node.SpanStart, cancellationToken); 93=> _semanticModel.Compilation.GetCompilationNamespace(containingNamespace) ?? containingNamespace; 208var editorBrowserInfo = new EditorBrowsableInfo(_semanticModel.Compilation); 214s.Symbol.IsEditorBrowsable(_options.MemberDisplayOptions.HideAdvancedMembers, _semanticModel.Compilation, editorBrowserInfo)); 244if (!symbol.IsAccessibleWithin(_semanticModel.Compilation.Assembly)) 308var symbol = _semanticModel.GetSymbolInfo(expression, cancellationToken).GetAnySymbol(); 386s => _owner.IsViableExtensionMethod(s.Symbol, expression, _semanticModel, _syntaxFacts, cancellationToken)); 401s.Symbol.IsAccessibleWithin(_semanticModel.Compilation.Assembly)); 415_owner.IsAddMethodContext(_node, _semanticModel)) 447var type = _owner.GetQueryClauseInfo(_semanticModel, _node, cancellationToken); 471var type = GetAwaitInfo(_semanticModel, _syntaxFacts, _node); 496var type = GetCollectionExpressionType(_semanticModel, _syntaxFacts, _node); 521var type = GetCollectionExpressionType(_semanticModel, _syntaxFacts, _node); 546var type = _owner.GetDeconstructInfo(_semanticModel, _node, cancellationToken); 590var symbolInfo = _semanticModel.GetSymbolInfo(nameNode, cancellationToken);