1 instantiation of ContextualAttributeBinder
Microsoft.CodeAnalysis.CSharp (1)
Compilation\AttributeSemanticModel.cs (1)
41rootBinder = attributeTarget is null ? rootBinder : new ContextualAttributeBinder(rootBinder, attributeTarget);
10 references to ContextualAttributeBinder
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Attributes.cs (1)
133var boundAttribute = new ExecutableCodeBinder(node, this.ContainingMemberOrLambda, this).BindAttribute(node, boundAttributeType, (this as ContextualAttributeBinder)?.AttributedMember, diagnostics);
Binder\Binder_Expressions.cs (1)
1459var contextualAttributeBinder = TryGetContextualAttributeBinder(this);
Binder\Binder_Symbols.cs (3)
2665internal static ContextualAttributeBinder TryGetContextualAttributeBinder(Binder binder) 2671if (binder is ContextualAttributeBinder contextualAttributeBinder) 2708var 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)
290var contextualAttributeBinder = Binder.TryGetContextualAttributeBinder(current);
Binder\NameofBinder.cs (1)
16/// To do so, it works together with <see cref="ContextualAttributeBinder"/>.
Compilation\AttributeSemanticModel.cs (1)
90return binder.BindAttribute(attribute, AttributeType, attributedMember: ContextualAttributeBinder.GetAttributedMember(_attributeTarget), diagnostics);