2 instantiations of ContextualAttributeBinder
Microsoft.CodeAnalysis.CSharp (2)
Compilation\AttributeSemanticModel.cs (1)
41rootBinder = attributeTarget is null ? rootBinder : new ContextualAttributeBinder(rootBinder, attributeTarget);
Symbols\Symbol_Attributes.cs (1)
651binder = new ContextualAttributeBinder(binder, this);
9 references to ContextualAttributeBinder
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder_Attributes.cs (1)
134var boundAttribute = new ExecutableCodeBinder(node, this.ContainingMemberOrLambda, this).BindAttribute(node, boundAttributeType, (this as ContextualAttributeBinder)?.AttributedMember, diagnostics);
Binder\Binder_Symbols.cs (3)
2620internal static ContextualAttributeBinder TryGetContextualAttributeBinder(Binder binder) 2626if (binder is ContextualAttributeBinder contextualAttributeBinder) 2663var contextualAttributeBinder = TryGetContextualAttributeBinder(this);
Binder\BinderFlags.cs (2)
95/// This is a <see cref="ContextualAttributeBinder"/>, or has <see cref="ContextualAttributeBinder"/> as its parent.
Binder\LocalBinderFactory.cs (1)
249var contextualAttributeBinder = Binder.TryGetContextualAttributeBinder(current);
Binder\NameofBinder.cs (1)
14/// To do so, it works together with <see cref="ContextualAttributeBinder"/>.
Compilation\AttributeSemanticModel.cs (1)
90return binder.BindAttribute(attribute, AttributeType, attributedMember: ContextualAttributeBinder.GetAttributedMember(_attributeTarget), diagnostics);