7 writes to PropertyName
Microsoft.CodeAnalysis.Razor.Compiler (7)
Language\Components\ComponentBindLoweringPass.cs (4)
575valueNode.PropertyName = valueAttribute?.PropertyName; 598changeNode.PropertyName = changeAttribute?.PropertyName; 625expressionNode.PropertyName = expressionAttribute.PropertyName; 664helperNode.PropertyName = valueAttribute.PropertyName;
Language\Intermediate\ComponentAttributeIntermediateNode.cs (3)
84PropertyName = propertyNode.BoundAttribute.PropertyName; 102PropertyName = node.BoundAttribute.PropertyName; 122PropertyName = node.BoundAttributeParameter.PropertyName;
13 references to PropertyName
Microsoft.AspNetCore.Razor.Test.Common (1)
Language\IntegrationTests\IntermediateNodeWriter.cs (1)
157WriteContentNode(node, node.AttributeName, node.PropertyName, string.Format(CultureInfo.InvariantCulture, "AttributeStructure.{0}", node.AttributeStructure));
Microsoft.CodeAnalysis.Razor.Compiler (12)
Language\Components\ComponentDesignTimeNodeWriter.cs (6)
672if (originalAttributeName == node.PropertyName) 676else if (originalAttributeName.StartsWith($"@bind-{node.PropertyName}", StringComparison.Ordinal)) 691attributeSourceSpan = new SourceSpan(attributeSourceSpan.FilePath, attributeSourceSpan.AbsoluteIndex + offset, attributeSourceSpan.LineIndex, attributeSourceSpan.CharacterIndex + offset, node.PropertyName.Length, attributeSourceSpan.LineCount, attributeSourceSpan.CharacterIndex + offset + node.PropertyName.Length); 717context.CodeWriter.WriteIdentifierEscapeIfNeeded(node.PropertyName); 719context.CodeWriter.WriteLine(node.PropertyName);
Language\Components\ComponentNodeWriter.cs (4)
388var requiresEscaping = attribute.PropertyName.IdentifierRequiresEscaping(); 391context.CodeWriter.WriteIdentifierEscapeIfNeeded(attribute.PropertyName); 392context.CodeWriter.WriteLine(attribute.PropertyName); 397context.CodeWriter.Write(attribute.PropertyName);
Language\Intermediate\ComponentAttributeIntermediateNode.cs (2)
178formatter.WriteProperty(nameof(PropertyName), PropertyName);