7 writes to BoundAttribute
Microsoft.CodeAnalysis.Razor.Compiler (7)
Language\Components\ComponentBindLoweringPass.cs (4)
574
valueNode.
BoundAttribute
= valueAttribute; // Might be null if it doesn't match a component attribute
597
changeNode.
BoundAttribute
= changeAttribute; // Might be null if it doesn't match a component attribute
624
expressionNode.
BoundAttribute
= expressionAttribute;
665
helperNode.
BoundAttribute
= valueAttribute;
Language\Intermediate\ComponentAttributeIntermediateNode.cs (3)
88
BoundAttribute
= propertyNode.BoundAttribute;
106
BoundAttribute
= node.BoundAttribute;
126
BoundAttribute
= node.BoundAttribute;
21 references to BoundAttribute
Microsoft.CodeAnalysis.Razor.Compiler (21)
Language\Components\ComponentGenericTypePass.cs (6)
128
if (attribute != null && TryFindGenericTypeNames(attribute.
BoundAttribute
, attribute.GloballyQualifiedTypeName, out var typeParameters))
329
var globallyQualifiedTypeName = attribute.
BoundAttribute
?.GetGloballyQualifiedTypeName();
337
if (attribute.
BoundAttribute
?.IsGenericTypedProperty() == true && attribute.TypeName != null)
355
else if (attribute.
BoundAttribute
?.IsEventCallbackProperty() ?? false)
370
else if (attribute.TypeName == null && (attribute.
BoundAttribute
?.IsDelegateProperty() ?? false))
375
else if (attribute.TypeName == null && (attribute.
BoundAttribute
?.IsEventCallbackProperty() ?? false))
Language\Components\ComponentNodeWriter.cs (10)
373
if (allowNameof && attribute.
BoundAttribute
?.ContainingType is string containingType)
428
if (attribute.
BoundAttribute
!= null && !attribute.
BoundAttribute
.IsGenericTypedProperty())
519
else if (node.
BoundAttribute
?.GetGloballyQualifiedTypeName() is string typeName)
1288
Debug.Assert(attribute.
BoundAttribute
?.ContainingType is not null);
1317
if ((node.
BoundAttribute
?.IsDelegateProperty() ?? false) ||
1318
(node.
BoundAttribute
?.IsChildContentProperty() ?? false))
1335
else if (node.
BoundAttribute
?.IsEventCallbackProperty() ?? false)
1429
return n.
BoundAttribute
!= null && !n.
BoundAttribute
.IsWeaklyTyped;
Language\Intermediate\ComponentAttributeIntermediateNode.cs (5)
156
public TagHelperDescriptor TagHelper =>
BoundAttribute
?.Parent;
183
formatter.WriteProperty(nameof(
BoundAttribute
),
BoundAttribute
?.DisplayName);
208
if (
BoundAttribute
== null || !
BoundAttribute
.IsEventCallbackProperty())