2 instantiations of AttributeSemanticModel
Microsoft.CodeAnalysis.CSharp (2)
Compilation\AttributeSemanticModel.cs (1)
42return new AttributeSemanticModel(syntax, attributeType, attributeTarget, aliasOpt, rootBinder, containingSemanticModel, parentRemappedSymbolsOpt: parentRemappedSymbolsOpt);
Compilation\SpeculativeSemanticModelWithMemberModel.cs (1)
55_memberModel = new AttributeSemanticModel(syntax, attributeType, getAttributeTargetFromPosition(position, parentSemanticModel), aliasOpt, rootBinder, containingPublicSemanticModel: this, parentRemappedSymbolsOpt: parentRemappedSymbolsOpt);
7 references to AttributeSemanticModel
Microsoft.CodeAnalysis.CSharp (7)
Compilation\AttributeSemanticModel.cs (1)
39public static AttributeSemanticModel Create(PublicSemanticModel containingSemanticModel, AttributeSyntax syntax, NamedTypeSymbol attributeType, AliasSymbol aliasOpt, Symbol? attributeTarget, Binder rootBinder, ImmutableDictionary<Symbol, Symbol>? parentRemappedSymbolsOpt)
Compilation\MemberSemanticModel.cs (3)
158Debug.Assert(_lazySnapshotManager is object || this is AttributeSemanticModel || !IsNullableAnalysisEnabled()); 165Debug.Assert(_lazyRemappedSymbols is object || this is AttributeSemanticModel || !IsNullableAnalysisEnabled()); 1513this is AttributeSemanticModel)) ||
Compilation\PublicSemanticModel.cs (2)
17protected AttributeSemanticModel CreateModelForAttribute(Binder enclosingBinder, AttributeSyntax attribute, MemberSemanticModel containingModel) 25return AttributeSemanticModel.Create(
Compilation\SyntaxTreeSemanticModel.cs (1)
763return AttributeSemanticModel.CreateSpeculative(this, attribute, attributeType, aliasOpt, binder, memberModel?.GetRemappedSymbols(), position);