1 write to Name
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\BoundAttributeDescriptor.cs (1)
67
Name
= name;
50 references to Name
Microsoft.CodeAnalysis.Razor.Compiler (47)
Language\BoundAttributeDescriptor.cs (1)
87
builder.Append(
Name
);
Language\Components\ComponentBindLoweringPass.cs (4)
180
node.BoundAttribute.
Name
));
765
if (valueAttribute is null && string.Equals(valueAttributeName, attribute.
Name
, comparison))
771
if (changeAttribute is null && string.Equals(changeAttributeName, attribute.
Name
, comparison))
777
if (expressionAttribute is null && string.Equals(expressionAttributeName, attribute.
Name
, comparison))
Language\Components\ComponentDiagnosticFactory.cs (3)
191
var supportedElements = string.Join(", ", component.Component.GetChildContentProperties().Select(p => $"'{p.
Name
}'"));
251
var attributesText = string.Join(", ", attributes.Select(a => $"'{a.
Name
}'"));
268
var attributesText = string.Join(", ", attributes.Select(a => $"'{a.
Name
}'"));
Language\Components\ComponentGenericTypePass.cs (3)
68
.Select(p => p.
Name
)
72
bindings.Add(attribute.
Name
, new Binding(attribute));
211
.Select(t => t.
Name
)
Language\Components\ComponentLoweringPass.cs (12)
263
if (string.Equals(property.AttributeName, typeParam.
Name
, StringComparison.Ordinal))
283
result.Add(typeParam.
Name
);
320
genericParamNames.Add(attr.
Name
);
327
nonGenericParamNames.Add(attr.
Name
);
385
if (!IsPresentAsAttribute(requiredAttribute.
Name
, intermediateNode))
391
requiredAttribute.
Name
));
517
.Where(a => string.Equals(a.
Name
, ComponentsApi.RenderTreeBuilder.ChildContent, StringComparison.Ordinal))
540
.Where(a => string.Equals(a.
Name
, tagHelperNode.TagName, StringComparison.Ordinal))
609
childContent.AddDiagnostic(ComponentDiagnosticFactory.Create_ChildContentHasInvalidParameter(property.Source, property.AttributeName, attribute.
Name
));
614
childContent.AddDiagnostic(ComponentDiagnosticFactory.Create_ChildContentHasInvalidAttribute(property.Source, property.AttributeName, attribute.
Name
));
619
childContent.AddDiagnostic(ComponentDiagnosticFactory.Create_ChildContentHasInvalidAttribute(a.Source, a.AttributeName, attribute.
Name
));
624
childContent.AddDiagnostic(ComponentDiagnosticFactory.Create_ChildContentHasInvalidAttribute(directiveAttribute.Source, directiveAttribute.OriginalAttributeName, attribute.
Name
));
Language\Components\ComponentNodeWriter.cs (2)
302
writer.Write(string.Join(", ", node.Component.Component.GetTypeParameters().Select(a => a.
Name
)));
367
return attribute.
Name
;
Language\Intermediate\ComponentChildContentIntermediateNode.cs (1)
14
public string AttributeName => BoundAttribute?.
Name
?? ComponentsApi.RenderTreeBuilder.ChildContent;
Language\Intermediate\ComponentTypeArgumentIntermediateNode.cs (1)
15
public string TypeParameterName => BoundAttribute.
Name
;
Language\TagHelperMatchingConventions.cs (1)
256
return name.Equals(descriptor.
Name
.AsSpanOrDefault(), descriptor.GetComparison());
Language\TagHelpers\Producers\BindTagHelperProducer.cs (15)
407
if (!changeAttribute.
Name
.EndsWith("Changed", StringComparison.Ordinal) ||
421
var valueAttributeName = changeAttribute.
Name
[..^"Changed".Length];
426
if (attribute.
Name
== valueAttributeName)
431
if (attribute.
Name
== expressionAttributeName)
460
valueAttribute.
Name
,
461
changeAttribute.
Name
));
465
ValueAttribute = valueAttribute.
Name
,
466
ChangeAttribute = changeAttribute.
Name
471
metadata.ExpressionAttribute = expressionAttribute.
Name
;
480
attribute.Name = "@bind-" + valueAttribute.
Name
;
491
attribute.Name = "@bind-" + valueAttribute.
Name
+ ":get";
497
attribute.Name = "@bind-" + valueAttribute.
Name
+ ":set";
508
valueAttribute.
Name
,
509
changeAttribute.
Name
));
511
attribute.Name = "@bind-" + valueAttribute.
Name
;
Language\TagHelpers\Producers\ComponentTagHelperProducer.cs (3)
550
var typeName = component.TypeName + "." + attribute.
Name
;
570
r.TagName = attribute.
Name
;
578
CreateContextParameter(builder, attribute.
Name
);
Mvc\ViewComponentTagHelperTargetExtension.cs (1)
59
var attributeName = attribute.
Name
;
rzc (3)
Json\ObjectReaders_TagHelpers.cs (1)
86
var name = reader.ReadString(nameof(BoundAttributeDescriptor.
Name
));
Json\ObjectWriters_TagHelpers.cs (2)
120
writer.Write(nameof(value.
Name
), value.
Name
);