18 writes to AttributeName
Microsoft.AspNetCore.Razor.Language.UnitTests (17)
Extensions\DefaultTagHelperTargetExtensionTest.cs (17)
480AttributeName = "bound", 525AttributeName = "bound", 570AttributeName = "bound", 625AttributeName = "bound", 631AttributeName = "bound", 670AttributeName = "bound", 714AttributeName = "foo-bound", 766AttributeName = "foo-bound", 810AttributeName = "bound", 860AttributeName = "bound", 916AttributeName = "bound", 922AttributeName = "bound", 961AttributeName = "bound", 1006AttributeName = "foo-bound", 1063AttributeName = "foo-first", 1079AttributeName = "foo-bound", 1133AttributeName = "foo-bound",
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\Extensions\DefaultTagHelperPropertyIntermediateNode.cs (1)
25AttributeName = propertyNode.AttributeName;
17 references to AttributeName
Microsoft.AspNetCore.Razor.Language.UnitTests (1)
Extensions\DefaultTagHelperOptimizationPassTest.cs (1)
68Assert.Equal("foo", property.AttributeName);
Microsoft.AspNetCore.Razor.Test.Common (1)
Language\IntegrationTests\IntermediateNodeWriter.cs (1)
231WriteContentNode(n, n.AttributeName, n.BoundAttribute.DisplayName, string.Format(CultureInfo.InvariantCulture, "HtmlAttributeValueStyle.{0}", n.AttributeStructure));
Microsoft.CodeAnalysis.Razor.Compiler (15)
Language\Extensions\DefaultTagHelperPropertyIntermediateNode.cs (3)
89formatter.WriteContent(AttributeName); 91formatter.WriteProperty(nameof(AttributeName), AttributeName);
Language\Extensions\DefaultTagHelperTargetExtension.cs (9)
298.WriteStringLiteral(node.AttributeName) 329if (node.BoundAttribute.ExpectsStringValue(node.AttributeName)) 397node.BoundAttribute.ExpectsBooleanValue(node.AttributeName)) 423node.BoundAttribute.ExpectsBooleanValue(node.AttributeName)) 444.WriteStringLiteral(node.AttributeName) 589string.Equals(otherPropertyNode.AttributeName, propertyNode.AttributeName, StringComparison.Ordinal)) 637+ (node.AttributeName.Length - node.BoundAttribute.IndexerNamePrefix.Length) 651var dictionaryKey = node.AttributeName.AsMemory()[node.BoundAttribute.IndexerNamePrefix.Length..];
Language\Extensions\PreallocatedTagHelperAttributeOptimizationPass.cs (2)
113if (string.Equals(existingDeclaration.AttributeName, node.AttributeName, StringComparison.Ordinal) && 130AttributeName = node.AttributeName,
Language\Extensions\PreallocatedTagHelperPropertyIntermediateNode.cs (1)
25AttributeName = propertyNode.AttributeName;