19 writes to BoundAttribute
Microsoft.AspNetCore.Razor.Language.UnitTests (18)
Extensions\DefaultTagHelperTargetExtensionTest.cs (18)
405BoundAttribute = IntPropertyTagHelper.BoundAttributes.Single(), 427BoundAttribute = IntIndexerTagHelper.BoundAttributes.Single(), 449BoundAttribute = IntIndexerTagHelper.BoundAttributes.Single(), 482BoundAttribute = StringPropertyTagHelper.BoundAttributes.Single(), 527BoundAttribute = StringPropertyTagHelper.BoundAttributes.Single(), 572BoundAttribute = IntPropertyTagHelper.BoundAttributes.Single(), 633BoundAttribute = IntPropertyTagHelper.BoundAttributes.Single(), 672BoundAttribute = IntPropertyTagHelper.BoundAttributes.Single(), 716BoundAttribute = IntIndexerTagHelper.BoundAttributes.Single(), 768BoundAttribute = IntIndexerTagHelper.BoundAttributes.Single(), 812BoundAttribute = StringPropertyTagHelper.BoundAttributes.Single(), 862BoundAttribute = IntPropertyTagHelper.BoundAttributes.Single(), 924BoundAttribute = IntPropertyTagHelper.BoundAttributes.Single(), 963BoundAttribute = IntPropertyTagHelper.BoundAttributes.Single(), 1008BoundAttribute = IntIndexerTagHelper.BoundAttributes.Single(), 1065BoundAttribute = IntIndexerTagHelper.BoundAttributes.Single(), 1081BoundAttribute = IntIndexerTagHelper.BoundAttributes.Single(), 1135BoundAttribute = IntIndexerTagHelper.BoundAttributes.Single(),
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\Extensions\DefaultTagHelperPropertyIntermediateNode.cs (1)
27BoundAttribute = propertyNode.BoundAttribute;
22 references to BoundAttribute
Microsoft.AspNetCore.Razor.Language.UnitTests (1)
Extensions\DefaultTagHelperOptimizationPassTest.cs (1)
70Assert.Equal(tagHelper.BoundAttributes[0], property.BoundAttribute);
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 (20)
Language\Extensions\DefaultTagHelperPropertyIntermediateNode.cs (3)
53public TagHelperDescriptor TagHelper => BoundAttribute.Parent; 93formatter.WriteProperty(nameof(BoundAttribute), BoundAttribute?.DisplayName);
Language\Extensions\DefaultTagHelperTargetExtension.cs (14)
329if (node.BoundAttribute.ExpectsStringValue(node.AttributeName)) 372if (node.BoundAttribute.IsEnum && 375assignmentPrefixLength += $"global::{node.BoundAttribute.TypeName}.".Length; 383.Write($"global::{node.BoundAttribute.TypeName}."); 397node.BoundAttribute.ExpectsBooleanValue(node.AttributeName)) 414if (node.BoundAttribute.IsEnum && 418.Write($"global::{node.BoundAttribute.TypeName}."); 423node.BoundAttribute.ExpectsBooleanValue(node.AttributeName)) 554var expectedTypeName = property.IsIndexerNameMatch ? property.BoundAttribute.IndexerTypeName : property.BoundAttribute.TypeName; 571otherPropertyNode.BoundAttribute.Equals(propertyNode.BoundAttribute) && 637+ (node.AttributeName.Length - node.BoundAttribute.IndexerNamePrefix.Length) 651var dictionaryKey = node.AttributeName.AsMemory()[node.BoundAttribute.IndexerNamePrefix.Length..];
Language\Extensions\PreallocatedTagHelperAttributeOptimizationPass.cs (2)
99if (!(node.BoundAttribute.IsStringProperty || (node.IsIndexerNameMatch && node.BoundAttribute.IsIndexerStringProperty)) ||
Language\Extensions\PreallocatedTagHelperPropertyIntermediateNode.cs (1)
27BoundAttribute = propertyNode.BoundAttribute;