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