7 writes to BoundAttribute
Microsoft.CodeAnalysis.Razor.Compiler (7)
Language\Components\ComponentBindLoweringPass.cs (4)
599
valueNode.
BoundAttribute
= valueAttribute; // Might be null if it doesn't match a component attribute
622
changeNode.
BoundAttribute
= changeAttribute; // Might be null if it doesn't match a component attribute
649
expressionNode.
BoundAttribute
= expressionAttribute;
690
helperNode.
BoundAttribute
= valueAttribute;
Language\Intermediate\ComponentAttributeIntermediateNode.cs (3)
88
BoundAttribute
= propertyNode.BoundAttribute;
106
BoundAttribute
= node.BoundAttribute;
126
BoundAttribute
= node.BoundAttribute;
23 references to BoundAttribute
Microsoft.CodeAnalysis.Razor.Compiler (23)
Language\Components\ComponentGenericTypePass.cs (6)
131
if (attribute != null && TryFindGenericTypeNames(attribute.
BoundAttribute
, attribute.GloballyQualifiedTypeName, out var typeParameters))
344
var globallyQualifiedTypeName = attribute.
BoundAttribute
?.GetGloballyQualifiedTypeName();
352
if (attribute.
BoundAttribute
?.IsGenericTypedProperty() == true && attribute.TypeName != null)
370
else if (attribute.
BoundAttribute
?.IsEventCallbackProperty() ?? false)
385
else if (attribute.TypeName == null && (attribute.
BoundAttribute
?.IsDelegateProperty() ?? false))
390
else if (attribute.TypeName == null && (attribute.
BoundAttribute
?.IsEventCallbackProperty() ?? false))
Language\Components\ComponentNodeWriter.cs (11)
383
if (allowNameof && attribute.
BoundAttribute
?.ContainingType is string containingType)
436
if (attribute.
BoundAttribute
!= null && !attribute.
BoundAttribute
.IsGenericTypedProperty())
525
else if (node.
BoundAttribute
?.GetGloballyQualifiedTypeName() is string typeName)
1295
Debug.Assert(attribute.
BoundAttribute
?.ContainingType is not null);
1318
if (canTypeCheck && node.
BoundAttribute
?.AcceptsStringLiteral() == true)
1336
if ((node.
BoundAttribute
?.IsDelegateProperty() ?? false) ||
1337
(node.
BoundAttribute
?.IsChildContentProperty() ?? false))
1354
else if (node.
BoundAttribute
?.IsEventCallbackProperty() ?? false)
1448
return n.
BoundAttribute
!= null && !n.
BoundAttribute
.IsWeaklyTyped;
Language\Components\ComponentTildePathPass.cs (1)
130
if (node.
BoundAttribute
?.Metadata is not PropertyMetadata { AcceptsAssetPath: true }
Language\Intermediate\ComponentAttributeIntermediateNode.cs (5)
156
public TagHelperDescriptor TagHelper =>
BoundAttribute
?.Parent;
183
formatter.WriteProperty(nameof(
BoundAttribute
),
BoundAttribute
?.DisplayName);
208
if (
BoundAttribute
== null || !
BoundAttribute
.IsEventCallbackProperty())