1 write to DisplayName
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\BoundAttributeDescriptor.cs (1)
73DisplayName = displayName;
44 references to DisplayName
Microsoft.AspNetCore.Razor.Language.UnitTests (2)
DefaultBoundAttributeDescriptorBuilderTest.cs (2)
23Assert.Equal(expectedDisplayName, descriptor.DisplayName); 40Assert.Equal("int TestTagHelper.SomeProperty", descriptor.DisplayName);
Microsoft.AspNetCore.Razor.Test.Common (3)
Language\IntegrationTests\IntermediateNodeWriter.cs (3)
132WriteContentNode(node, node.AttributeName, node.BoundAttribute.DisplayName, string.Format(CultureInfo.InvariantCulture, "HtmlAttributeValueStyle.{0}", node.AttributeStructure)); 142WriteContentNode(node, node.AttributeName, node.BoundAttribute.DisplayName, string.Format(CultureInfo.InvariantCulture, "HtmlAttributeValueStyle.{0}", node.AttributeStructure)); 231WriteContentNode(n, n.AttributeName, n.BoundAttribute.DisplayName, string.Format(CultureInfo.InvariantCulture, "HtmlAttributeValueStyle.{0}", n.AttributeStructure));
Microsoft.CodeAnalysis.Razor.Compiler (10)
Language\BoundAttributeDescriptor.cs (2)
90builder.Append(DisplayName); 134return DisplayName ?? base.ToString()!;
Language\Extensions\DefaultTagHelperPropertyIntermediateNode.cs (1)
93formatter.WriteProperty(nameof(BoundAttribute), BoundAttribute?.DisplayName);
Language\Extensions\PreallocatedTagHelperPropertyIntermediateNode.cs (1)
90formatter.WriteProperty(nameof(BoundAttribute), BoundAttribute?.DisplayName);
Language\Intermediate\ComponentAttributeIntermediateNode.cs (1)
177formatter.WriteProperty(nameof(BoundAttribute), BoundAttribute?.DisplayName);
Language\Intermediate\ComponentChildContentIntermediateNode.cs (1)
46formatter.WriteProperty(nameof(BoundAttribute), BoundAttribute?.DisplayName);
Language\Intermediate\ComponentTypeArgumentIntermediateNode.cs (1)
47formatter.WriteProperty(nameof(BoundAttribute), BoundAttribute.DisplayName);
Language\Intermediate\TagHelperDirectiveAttributeIntermediateNode.cs (1)
42formatter.WriteProperty(nameof(BoundAttribute), BoundAttribute.DisplayName);
Language\Intermediate\TagHelperDirectiveAttributeParameterIntermediateNode.cs (1)
41formatter.WriteProperty(nameof(BoundAttribute), BoundAttribute.DisplayName);
Language\Intermediate\TagHelperPropertyIntermediateNode.cs (1)
36formatter.WriteProperty(nameof(BoundAttribute), BoundAttribute.DisplayName);
Microsoft.CodeAnalysis.Razor.UnitTests (27)
BindTagHelperProducerTest.cs (11)
161Assert.Equal("System.Action<System.String> Test.MyComponent.MyProperty", attribute.DisplayName); 324Assert.Equal("Microsoft.AspNetCore.Components.EventCallback<System.String> Test.MyComponent.MyProperty", attribute.DisplayName); 506Assert.Equal("object Test.BindAttributes.Bind", attribute.DisplayName); 671Assert.Equal("object Test.BindAttributes.Bind_myprop", attribute.DisplayName); 676Assert.Equal("string Test.BindAttributes.Format_myprop", attribute.DisplayName); 699Assert.Equal("object Test.BindAttributes.Bind_myprop", attribute.DisplayName); 704Assert.Equal("string Test.BindAttributes.Format_myprop", attribute.DisplayName); 770Assert.Equal("object Test.BindAttributes.Bind", attribute.DisplayName); 862Assert.Equal("object Test.BindAttributes.Bind", attribute.DisplayName); 956Assert.Equal("object Test.BindAttributes.Bind_somevalue", attribute.DisplayName); 1087attribute.DisplayName);
ComponentTagHelperProducerTest.cs (11)
118Assert.Equal("string Test.MyComponent.MyProperty", attribute.DisplayName); 181Assert.Equal("string Test.MyComponent<T>.MyProperty", a.DisplayName); 189Assert.Equal("T", a.DisplayName); 474Assert.Equal("T Test.MyComponent<T>.MyProperty", a.DisplayName); 483Assert.Equal("T", a.DisplayName); 661Assert.Equal("T", a.DisplayName); 815Assert.Equal("T", a.DisplayName); 1068Assert.Equal("T", a.DisplayName); 1145Assert.Equal("T", a.DisplayName); 1222Assert.Equal("T", a.DisplayName); 1303Assert.Equal("T", a.DisplayName);
EventHandlerTagHelperProducerTest.cs (2)
112Assert.Equal("Microsoft.AspNetCore.Components.EventCallback<System.Action<Microsoft.AspNetCore.Components.Web.MouseEventArgs>> Test.EventHandlers.onclick", attribute.DisplayName); 246Assert.Equal("Microsoft.AspNetCore.Components.EventCallback<System.Action<Microsoft.AspNetCore.Components.Web.MouseEventArgs>> Test.EventHandlers.onclick", attribute.DisplayName);
KeyTagHelperProducerTest.cs (1)
82Assert.Equal("object Microsoft.AspNetCore.Components.Key.Key", attribute.DisplayName);
RefTagHelperProducerTest.cs (1)
82Assert.Equal("object Microsoft.AspNetCore.Components.Ref.Ref", attribute.DisplayName);
SplatTagHelperProducerTest.cs (1)
79Assert.Equal("object Microsoft.AspNetCore.Components.Attributes.Attributes", attribute.DisplayName);
Microsoft.CodeAnalysis.Razor.Workspaces (1)
Tooltip\BoundAttributeDescriptionInfo.cs (1)
41parentTagHelperTypeName ??= ResolveTagHelperTypeName(propertyName, boundAttribute.DisplayName);
Microsoft.CodeAnalysis.Remote.Razor (1)
DevTools\RemoteDevToolsService.cs (1)
138a.DisplayName,