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)
78
var set = _owner.GetImportNamespacesInScope(
_semanticModel
, _node, cancellationToken);
82
for (var containingNamespace =
_semanticModel
.GetEnclosingNamespace(_node.SpanStart, cancellationToken);
93
=>
_semanticModel
.Compilation.GetCompilationNamespace(containingNamespace) ?? containingNamespace;
208
var editorBrowserInfo = new EditorBrowsableInfo(
_semanticModel
.Compilation);
214
s.Symbol.IsEditorBrowsable(_options.MemberDisplayOptions.HideAdvancedMembers,
_semanticModel
.Compilation, editorBrowserInfo));
244
if (!symbol.IsAccessibleWithin(
_semanticModel
.Compilation.Assembly))
308
var symbol =
_semanticModel
.GetSymbolInfo(expression, cancellationToken).GetAnySymbol();
386
s => _owner.IsViableExtensionMethod(s.Symbol, expression,
_semanticModel
, _syntaxFacts, cancellationToken));
401
s.Symbol.IsAccessibleWithin(
_semanticModel
.Compilation.Assembly));
415
_owner.IsAddMethodContext(_node,
_semanticModel
))
447
var type = _owner.GetQueryClauseInfo(
_semanticModel
, _node, cancellationToken);
471
var type = GetAwaitInfo(
_semanticModel
, _syntaxFacts, _node);
496
var type = GetCollectionExpressionType(
_semanticModel
, _syntaxFacts, _node);
521
var type = GetCollectionExpressionType(
_semanticModel
, _syntaxFacts, _node);
546
var type = _owner.GetDeconstructInfo(
_semanticModel
, _node, cancellationToken);
590
var symbolInfo =
_semanticModel
.GetSymbolInfo(nameNode, cancellationToken);