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