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)
72
var set = _owner.GetImportNamespacesInScope(
_semanticModel
, _node, cancellationToken);
76
for (var containingNamespace =
_semanticModel
.GetEnclosingNamespace(_node.SpanStart, cancellationToken);
87
=>
_semanticModel
.Compilation.GetCompilationNamespace(containingNamespace) ?? containingNamespace;
198
var editorBrowserInfo = new EditorBrowsableInfo(
_semanticModel
.Compilation);
204
s.Symbol.IsEditorBrowsable(_options.MemberDisplayOptions.HideAdvancedMembers,
_semanticModel
.Compilation, editorBrowserInfo));
234
if (!symbol.IsAccessibleWithin(
_semanticModel
.Compilation.Assembly))
298
var symbol =
_semanticModel
.GetSymbolInfo(expression, cancellationToken).GetAnySymbol();
376
s => _owner.IsViableExtensionMethod(s.Symbol, expression,
_semanticModel
, _syntaxFacts, cancellationToken));
391
s.Symbol.IsAccessibleWithin(
_semanticModel
.Compilation.Assembly));
405
_owner.IsAddMethodContext(_node,
_semanticModel
))
437
var type = _owner.GetQueryClauseInfo(
_semanticModel
, _node, cancellationToken);
461
var type = GetAwaitInfo(
_semanticModel
, _syntaxFacts, _node);
486
var type = GetCollectionExpressionType(
_semanticModel
, _syntaxFacts, _node);
511
var type = GetCollectionExpressionType(
_semanticModel
, _syntaxFacts, _node);
536
var type = _owner.GetDeconstructInfo(
_semanticModel
, _node, cancellationToken);
580
var symbolInfo =
_semanticModel
.GetSymbolInfo(nameNode, cancellationToken);