19 references to Attribute
Microsoft.CodeAnalysis.Razor.Compiler (19)
Language\DefaultTagHelperResolutionPhase.ComponentTagHelperResolver.cs (4)
153
var hasDirectiveMatch = matches.Any(static m => m.
Attribute
.IsDirectiveAttribute);
157
if (hasDirectiveMatch && !match.
Attribute
.IsDirectiveAttribute)
162
if (match.
Attribute
.IsDirectiveAttribute)
861
if (match.
Attribute
.IsDirectiveAttribute)
Language\DefaultTagHelperResolutionPhase.LegacyTagHelperResolver.cs (4)
156
var propertyType = match.IsIndexerMatch ? match.
Attribute
.IndexerTypeName : match.
Attribute
.TypeName;
181
var propertyType = match.IsIndexerMatch ? match.
Attribute
.IndexerTypeName : match.
Attribute
.TypeName;
Language\Intermediate\TagHelperDirectiveAttributeIntermediateNode.cs (1)
20
public BoundAttributeDescriptor BoundAttribute => _match.
Attribute
;
Language\Intermediate\TagHelperPropertyIntermediateNode.cs (1)
17
public BoundAttributeDescriptor BoundAttribute => _match.
Attribute
;
Language\Legacy\TagHelperBlockRewriter.cs (4)
482
? match.
Attribute
.IndexerTypeName
483
: match.
Attribute
.TypeName;
513
isMissingDictionaryKey = match.
Attribute
.IndexerNamePrefix?.Length == name.Length;
516
isDirectiveAttribute = match.
Attribute
.IsDirectiveAttribute;
Language\TagHelperAttributeMatch.cs (5)
21
=> _isIndexerMatch ??= TagHelperMatchingConventions.SatisfiesBoundAttributeIndexer(
Attribute
, Name.AsSpan());
35
return
Attribute
.IsStringProperty || (IsIndexerMatch &&
Attribute
.IsIndexerStringProperty);
48
return
Attribute
.IsBooleanProperty || (IsIndexerMatch &&
Attribute
.IsIndexerBooleanProperty);