12 references to GetEnclosingMemberModel
Microsoft.CodeAnalysis.CSharp (12)
Compilation\SpeculativeSemanticModelWithMemberModel.cs (12)
140return node is null ? _memberModel : GetEnclosingMemberModel(node);
160MemberSemanticModel containing = GetEnclosingMemberModel(attributeOrParameter.Parent);
217return GetEnclosingMemberModel(node).GetMemberModel(node);
292return GetEnclosingMemberModel(declarationSyntax).GetDeclaredSymbol(declarationSyntax, cancellationToken);
322return GetEnclosingMemberModel(declarationSyntax).GetDeclaredSymbol(declarationSyntax, cancellationToken);
447return GetEnclosingMemberModel(node).GetOperationWorker(node, cancellationToken);
452return GetEnclosingMemberModel(node).GetSymbolInfoWorker(node, options, cancellationToken);
457return GetEnclosingMemberModel(node).GetTypeInfoWorker(node, cancellationToken);
462return GetEnclosingMemberModel(node).GetMemberGroupWorker(node, options, cancellationToken);
467return GetEnclosingMemberModel(node).GetIndexerGroupWorker(node, options, cancellationToken);
472return GetEnclosingMemberModel(node).GetConstantValueWorker(node, cancellationToken);
517return GetEnclosingMemberModel(node).Bind(binder, node, diagnostics);