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