1 write to PropertyName
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\BoundAttributeDescriptor.cs (1)
68PropertyName = propertyName;
49 references to PropertyName
Microsoft.AspNetCore.Razor.Language.UnitTests (1)
IntegrationTests\CodeGenerationIntegrationTest.cs (1)
463public {{attribute.TypeName}} {{attribute.PropertyName}}
Microsoft.AspNetCore.Razor.Test.Common (1)
Language\Intermediate\IntermediateNodeAssert.cs (1)
381Assert.Equal(propertyName, propertyNode.BoundAttribute.PropertyName);
Microsoft.CodeAnalysis.Razor.Compiler (15)
Language\BoundAttributeDescriptor.cs (1)
88builder.Append(PropertyName);
Language\Components\ComponentBindLoweringPass.cs (4)
575valueNode.PropertyName = valueAttribute?.PropertyName; 598changeNode.PropertyName = changeAttribute?.PropertyName; 625expressionNode.PropertyName = expressionAttribute.PropertyName; 664helperNode.PropertyName = valueAttribute.PropertyName;
Language\Components\TagHelperDescriptorExtensions.cs (1)
66binding.Attributes.FirstOrDefault(boundAttribute.PropertyName, static (kvp, propertyName) => kvp.Key == propertyName) is { Value: var bindingTypeName })
Language\Extensions\DefaultTagHelperOptimizationPass.cs (1)
174PropertyName = propertyNode.BoundAttribute.PropertyName,
Language\Intermediate\ComponentAttributeIntermediateNode.cs (2)
84PropertyName = propertyNode.BoundAttribute.PropertyName; 102PropertyName = node.BoundAttribute.PropertyName;
Language\TagHelpers\Producers\BindTagHelperProducer.cs (1)
516attribute.PropertyName = valueAttribute.PropertyName;
Mvc.Version1_X\ViewComponentTagHelperTargetExtension.cs (1)
19var propertyNames = tagHelper.BoundAttributes.Select(attribute => attribute.PropertyName);
Mvc.Version2_X\ViewComponentTagHelperTargetExtension.cs (1)
19var propertyNames = tagHelper.BoundAttributes.Select(attribute => attribute.PropertyName);
Mvc\ViewComponentTagHelperPass.cs (1)
101PropertyName = propertyNode.BoundAttribute.PropertyName,
Mvc\ViewComponentTagHelperTargetExtension.cs (1)
60var parameterName = attribute.PropertyName;
Mvc\ViewComponentTagHelperTargetExtensionBase.cs (1)
126attribute.PropertyName);
Microsoft.CodeAnalysis.Razor.UnitTests (29)
BindTagHelperProducerTest.cs (11)
160Assert.Equal("MyProperty", attribute.PropertyName); 323Assert.Equal("MyProperty", attribute.PropertyName); 505Assert.Equal("Bind", attribute.PropertyName); 670Assert.Equal("Bind_myprop", attribute.PropertyName); 675Assert.Equal("Format_myprop", attribute.PropertyName); 698Assert.Equal("Bind_myprop", attribute.PropertyName); 703Assert.Equal("Format_myprop", attribute.PropertyName); 769Assert.Equal("Bind", attribute.PropertyName); 861Assert.Equal("Bind", attribute.PropertyName); 955Assert.Equal("Bind_somevalue", attribute.PropertyName); 1084Assert.Equal("Bind", attribute.PropertyName);
ComponentTagHelperProducerTest.cs (11)
117Assert.Equal("MyProperty", attribute.PropertyName); 180Assert.Equal("MyProperty", a.PropertyName); 188Assert.Equal("T", a.PropertyName); 473Assert.Equal("MyProperty", a.PropertyName); 482Assert.Equal("T", a.PropertyName); 660Assert.Equal("T", a.PropertyName); 814Assert.Equal("T", a.PropertyName); 1067Assert.Equal("T", a.PropertyName); 1144Assert.Equal("T", a.PropertyName); 1221Assert.Equal("T", a.PropertyName); 1302Assert.Equal("T", a.PropertyName);
EventHandlerTagHelperProducerTest.cs (4)
102Assert.Equal("onclick", attribute.PropertyName); 111Assert.Equal("onclick", attribute.PropertyName); 236Assert.Equal("onclick", attribute.PropertyName); 245Assert.Equal("onclick", attribute.PropertyName);
KeyTagHelperProducerTest.cs (1)
81Assert.Equal("Key", attribute.PropertyName);
RefTagHelperProducerTest.cs (1)
81Assert.Equal("Ref", attribute.PropertyName);
SplatTagHelperProducerTest.cs (1)
78Assert.Equal("Attributes", attribute.PropertyName);
Microsoft.CodeAnalysis.Razor.Workspaces (2)
GoToDefinition\AbstractDefinitionService.cs (1)
90.TryGetPropertyRangeAsync(documentSnapshot, attributeDescriptor.PropertyName, _documentMappingService, _logger, cancellationToken)
Tooltip\BoundAttributeDescriptionInfo.cs (1)
37var propertyName = boundAttribute.PropertyName;
Microsoft.CodeAnalysis.Remote.Razor (1)
RemoteTagHelperSearchEngine.cs (1)
65type.GetMembers(boundAttribute.PropertyName) is [{ } property])