5 writes to _memberModel
Microsoft.CodeAnalysis.CSharp (5)
Compilation\SpeculativeSemanticModelWithMemberModel.cs (5)
38_memberModel = null!; 55_memberModel = new AttributeSemanticModel(syntax, attributeType, getAttributeTargetFromPosition(position, parentSemanticModel), aliasOpt, rootBinder, containingPublicSemanticModel: this, parentRemappedSymbolsOpt: parentRemappedSymbolsOpt); 84_memberModel = new InitializerSemanticModel(syntax, owner, rootBinder, containingPublicSemanticModel: this, parentRemappedSymbolsOpt: parentRemappedSymbolsOpt); 97_memberModel = new MemberSemanticModel.SpeculativeMemberSemanticModel(this, owner, type, rootBinder, parentRemappedSymbolsOpt); 114_memberModel = new MethodBodySemanticModel(owner, rootBinder, syntax, containingPublicSemanticModel: this, parentRemappedSymbolsOpt: parentRemappedSymbolsOpt);
7 references to _memberModel
Microsoft.CodeAnalysis.CSharp (7)
Compilation\SpeculativeSemanticModelWithMemberModel.cs (7)
127internal override CSharpSyntaxNode Root => _memberModel.Root; 129public override SyntaxTree SyntaxTree => _memberModel.SyntaxTree; 140return node is null ? _memberModel : GetEnclosingMemberModel(node); 147return _memberModel; 157return _memberModel; 342return _memberModel.GetAdjustedLocalSymbol(local); 502return _memberModel.RemapSymbolIfNecessaryCore(symbol);