7 writes to BoundAttribute
Microsoft.CodeAnalysis.Razor.Compiler (7)
Language\Components\ComponentBindLoweringPass.cs (4)
599valueNode.BoundAttribute = valueAttribute; // Might be null if it doesn't match a component attribute 622changeNode.BoundAttribute = changeAttribute; // Might be null if it doesn't match a component attribute 649expressionNode.BoundAttribute = expressionAttribute; 690helperNode.BoundAttribute = valueAttribute;
Language\Intermediate\ComponentAttributeIntermediateNode.cs (3)
88BoundAttribute = propertyNode.BoundAttribute; 106BoundAttribute = node.BoundAttribute; 126BoundAttribute = node.BoundAttribute;
23 references to BoundAttribute
Microsoft.CodeAnalysis.Razor.Compiler (23)
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 (11)
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); 1311if (canTypeCheck && node.BoundAttribute?.AcceptsStringLiteral() == true) 1329if ((node.BoundAttribute?.IsDelegateProperty() ?? false) || 1330(node.BoundAttribute?.IsChildContentProperty() ?? false)) 1347else if (node.BoundAttribute?.IsEventCallbackProperty() ?? false) 1441return n.BoundAttribute != null && !n.BoundAttribute.IsWeaklyTyped;
Language\Components\ComponentTildePathPass.cs (1)
146if (node.BoundAttribute?.Metadata is not PropertyMetadata { AcceptsAssetPath: true }
Language\Intermediate\ComponentAttributeIntermediateNode.cs (5)
156public TagHelperDescriptor TagHelper => BoundAttribute?.Parent; 183formatter.WriteProperty(nameof(BoundAttribute), BoundAttribute?.DisplayName); 208if (BoundAttribute == null || !BoundAttribute.IsEventCallbackProperty())