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