1 instantiation of ContextualAttributeBinder
Microsoft.CodeAnalysis.CSharp (1)
Compilation\AttributeSemanticModel.cs (1)
41
rootBinder = attributeTarget is null ? rootBinder : new
ContextualAttributeBinder
(rootBinder, attributeTarget);
10 references to ContextualAttributeBinder
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Attributes.cs (1)
133
var boundAttribute = new ExecutableCodeBinder(node, this.ContainingMemberOrLambda, this).BindAttribute(node, boundAttributeType, (this as
ContextualAttributeBinder
)?.AttributedMember, diagnostics);
Binder\Binder_Expressions.cs (1)
1459
var
contextualAttributeBinder = TryGetContextualAttributeBinder(this);
Binder\Binder_Symbols.cs (3)
2648
internal static
ContextualAttributeBinder
TryGetContextualAttributeBinder(Binder binder)
2654
if (binder is
ContextualAttributeBinder
contextualAttributeBinder)
2691
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)
290
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);