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