12 writes to AttributeName
Microsoft.CodeAnalysis.Razor.Compiler (12)
Language\Components\ComponentBindLoweringPass.cs (2)
517
AttributeName
= valueAttributeName,
538
AttributeName
= changeAttributeName,
Language\Components\ComponentCssScopePass.cs (1)
36
AttributeName
= cssScope,
Language\Components\ComponentEventHandlerLoweringPass.cs (1)
195
AttributeName
= attributeName,
Language\Components\ComponentFormNameLoweringPass.cs (1)
66
AttributeName
= node.OriginalAttributeName,
Language\Components\ComponentLoweringPass.cs (1)
785
AttributeName
= node.AttributeName,
Language\DefaultRazorIntermediateNodeLoweringPhase.cs (6)
1214
AttributeName
= name,
1277
AttributeName
= name,
1292
AttributeName
= name,
1744
AttributeName
= name,
1792
AttributeName
= name,
1867
AttributeName
= name,
21 references to AttributeName
Microsoft.AspNetCore.Razor.Language.UnitTests (5)
Components\ComponentDuplicateAttributeDiagnosticPassTest.cs (3)
89
Assert.Equal("a", node.
AttributeName
);
117
Assert.Equal("attr", node.
AttributeName
);
153
Assert.Equal("attr", node.
AttributeName
);
Components\NodeAssert.cs (2)
19
Assert.Equal(attributeName, attributeNode.
AttributeName
);
68
Assert.Equal(attributeName, attributeNode.
AttributeName
);
Microsoft.AspNetCore.Razor.Test.Common (1)
Language\Intermediate\IntermediateNodeAssert.cs (1)
161
Assert.Equal(name, attribute.
AttributeName
);
Microsoft.CodeAnalysis.Razor.Compiler (15)
Language\CodeGeneration\RuntimeNodeWriter.cs (1)
185
.WriteStringLiteral(node.
AttributeName
)
Language\Components\ComponentMarkupBlockPass.cs (1)
334
Builder.Append(node.
AttributeName
);
Language\Components\ComponentMarkupDiagnosticPass.cs (4)
34
if (child is HtmlAttributeIntermediateNode attribute && attribute.
AttributeName
!= null)
36
if (_attributes.TryGetValue(attribute.
AttributeName
, out var other))
65
_attributes[attribute.
AttributeName
] = (attribute.
AttributeName
, attribute);
Language\Components\ComponentRuntimeNodeWriter.cs (1)
245
WriteAttribute(context, node.
AttributeName
, _currentAttributeValues.ToImmutableAndClear());
Language\DefaultTagHelperResolutionPhase.ComponentTagHelperResolver.cs (3)
848
var attributeName = htmlAttr.
AttributeName
;
1024
var nameLength = htmlAttr.
AttributeName
?.Length ?? 0;
1033
var nameIndex = prefix.IndexOf(htmlAttr.
AttributeName
!, StringComparison.Ordinal);
Language\DefaultTagHelperResolutionPhase.LegacyTagHelperResolver.cs (2)
267
var attributeName = htmlAttr.
AttributeName
;
978
var attrName = htmlAttr.
AttributeName
?? string.Empty;
Language\Intermediate\HtmlAttributeIntermediateNode.cs (3)
39
formatter.WriteContent(
AttributeName
);
41
formatter.WriteProperty(nameof(
AttributeName
),
AttributeName
);