33 references to Name
Microsoft.CodeAnalysis.Razor.Compiler (22)
Language\DefaultRazorIntermediateNodeLoweringPhase.cs (10)
994
minimizedAttr.
Name
.GetContent(), string.Empty));
1396
node.
Name
?.LiteralTokens);
1407
AttributeName = node.
Name
.GetContent(),
1411
AttributeNameSpan = BuildSourceSpanFromNode(node.
Name
),
1419
var name = node.
Name
.GetContent();
1431
node.
Name
?.LiteralTokens);
1859
node.
Name
.LiteralTokens);
1860
var position = node.NamePrefix?.Position ?? node.
Name
.Position;
1863
var name = node.
Name
.GetContent();
1881
AttributeNameSpan = BuildSourceSpanFromNode(node.
Name
),
Language\Legacy\ClassifiedSpanVisitor.cs (1)
268
spanComputer.Add(node.
Name
);
Language\Legacy\TagHelperBlockRewriter.cs (4)
95
attributeNameLocation = minimizedAttributeBlock.
Name
.GetSourceLocation(source);
231
var result = CreateTryParseResult(attributeBlock.
Name
.GetContent(), tagHelpers, processedBoundAttributeNames);
246
attributeBlock.
Name
,
417
var attributeNameSyntax = attributeBlock.
Name
;
Language\Legacy\TagHelperParseTreeRewriter.cs (2)
413
if (minimizedAttributeBlock.
Name
== null)
419
var minimizedAttribute = new KeyValuePair<string, string>(minimizedAttributeBlock.
Name
.GetContent(), string.Empty);
Language\Syntax\Generated\Syntax.xml.Main.Generated.cs (1)
294
=> node.Update((MarkupTextLiteralSyntax)Visit(node.NamePrefix), (MarkupTextLiteralSyntax)Visit(node.
Name
));
Language\Syntax\Generated\Syntax.xml.Syntax.Generated.cs (4)
491
if (namePrefix != NamePrefix || name !=
Name
)
503
public MarkupMinimizedAttributeBlockSyntax WithNamePrefix(MarkupTextLiteralSyntax namePrefix) => Update(namePrefix,
Name
);
506
public MarkupMinimizedAttributeBlockSyntax AddNameLiteralTokens(params SyntaxToken[] items) => WithName(this.
Name
.WithLiteralTokens(this.
Name
.LiteralTokens.AddRange(items)));
Microsoft.CodeAnalysis.Razor.Workspaces (11)
Completion\BlazorDataAttributeCompletionItemProvider.cs (1)
96
MarkupMinimizedAttributeBlockSyntax minimizedAttributeBlock => minimizedAttributeBlock.
Name
.GetContent(),
Completion\DirectiveAttributeCompletionItemProviderBase.cs (3)
37
minimizedMarkupAttribute.
Name
.GetContent(),
38
minimizedMarkupAttribute.
Name
.Span,
161
attributeNames.Add(minimizedMarkupAttribute.
Name
.GetContent());
Extensions\RazorCodeDocumentExtensions_ClassifiedSpans.cs (1)
296
spanComputer.Add(node.
Name
);
Formatting\FormattingVisitor.cs (1)
419
spanComputer.Add(node.
Name
);
HtmlFacts.cs (2)
232
selectedAttributeName = minimizedAttributeBlock.
Name
.GetContent();
233
selectedAttributeNameLocation = minimizedAttributeBlock.
Name
.Span;
RazorSyntaxFacts.cs (1)
92
MarkupMinimizedAttributeBlockSyntax att => att.
Name
.Span,
SemanticTokens\SemanticTokensVisitor.cs (1)
170
AddSemanticRange(node.
Name
, _semanticTokensLegend.TokenTypes.MarkupAttribute);
TagHelperFacts.cs (1)
170
var name = minimizedMarkupAttribute.
Name
.GetContent();