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;
663
helperNode.
BoundAttribute
= valueAttribute;
Language\Intermediate\ComponentAttributeIntermediateNode.cs (3)
82
BoundAttribute
= propertyNode.BoundAttribute;
100
BoundAttribute
= node.BoundAttribute;
120
BoundAttribute
= node.BoundAttribute;
26 references to BoundAttribute
Microsoft.CodeAnalysis.Razor.Compiler (26)
Language\Components\ComponentDesignTimeNodeWriter.cs (5)
661
if (node.
BoundAttribute
.Metadata is PropertyMetadata { IsInitOnlyProperty: true })
764
if ((node.
BoundAttribute
?.IsDelegateProperty() ?? false) ||
765
(node.
BoundAttribute
?.IsChildContentProperty() ?? false))
784
else if (node.
BoundAttribute
?.IsEventCallbackProperty() ?? false)
889
return n.
BoundAttribute
!= null && n.TypeName != null;
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 (4)
375
if (allowNameof && attribute.
BoundAttribute
?.ContainingType is string containingType)
430
if (attribute.
BoundAttribute
!= null && !attribute.
BoundAttribute
.IsGenericTypedProperty())
521
else if (node.
BoundAttribute
?.GetGloballyQualifiedTypeName() is string typeName)
Language\Components\ComponentRuntimeNodeWriter.cs (6)
655
Debug.Assert(attribute.
BoundAttribute
?.ContainingType is not null);
684
if ((node.
BoundAttribute
?.IsDelegateProperty() ?? false) ||
685
(node.
BoundAttribute
?.IsChildContentProperty() ?? false))
702
else if (node.
BoundAttribute
?.IsEventCallbackProperty() ?? false)
796
return n.
BoundAttribute
!= null && !n.
BoundAttribute
.IsWeaklyTyped;
Language\Intermediate\ComponentAttributeIntermediateNode.cs (5)
150
public TagHelperDescriptor TagHelper =>
BoundAttribute
?.Parent;
177
formatter.WriteProperty(nameof(
BoundAttribute
),
BoundAttribute
?.DisplayName);
202
if (
BoundAttribute
== null || !
BoundAttribute
.IsEventCallbackProperty())