1 write to _semanticModel
Microsoft.CodeAnalysis.Features (1)
AddImport\SymbolReferenceFinder.cs (1)
57_semanticModel = semanticModel;
16 references to _semanticModel
Microsoft.CodeAnalysis.Features (16)
AddImport\SymbolReferenceFinder.cs (16)
72var set = _owner.GetImportNamespacesInScope(_semanticModel, _node, cancellationToken); 76for (var containingNamespace = _semanticModel.GetEnclosingNamespace(_node.SpanStart, cancellationToken); 87=> _semanticModel.Compilation.GetCompilationNamespace(containingNamespace) ?? containingNamespace; 198var editorBrowserInfo = new EditorBrowsableInfo(_semanticModel.Compilation); 204s.Symbol.IsEditorBrowsable(_options.MemberDisplayOptions.HideAdvancedMembers, _semanticModel.Compilation, editorBrowserInfo)); 234if (!symbol.IsAccessibleWithin(_semanticModel.Compilation.Assembly)) 298var symbol = _semanticModel.GetSymbolInfo(expression, cancellationToken).GetAnySymbol(); 376s => _owner.IsViableExtensionMethod(s.Symbol, expression, _semanticModel, _syntaxFacts, cancellationToken)); 391s.Symbol.IsAccessibleWithin(_semanticModel.Compilation.Assembly)); 405_owner.IsAddMethodContext(_node, _semanticModel)) 437var type = _owner.GetQueryClauseInfo(_semanticModel, _node, cancellationToken); 461var type = GetAwaitInfo(_semanticModel, _syntaxFacts, _node); 486var type = GetCollectionExpressionType(_semanticModel, _syntaxFacts, _node); 511var type = GetCollectionExpressionType(_semanticModel, _syntaxFacts, _node); 536var type = _owner.GetDeconstructInfo(_semanticModel, _node, cancellationToken); 580var symbolInfo = _semanticModel.GetSymbolInfo(nameNode, cancellationToken);