4 references to AcceptsStringLiteral
Microsoft.CodeAnalysis.Razor.Compiler (4)
Language\BoundAttributeDescriptorExtensions.cs (1)
27if (attribute.IsStringProperty || attribute.AcceptsStringLiteral())
Language\Components\ComponentNodeWriter.cs (1)
1311if (canTypeCheck && node.BoundAttribute?.AcceptsStringLiteral() == true)
Language\Extensions\DefaultTagHelperTargetExtension.cs (1)
309var requiresStringWritingScope = !node.BoundAttribute.AcceptsStringLiteral() ||
Language\TagHelperAttributeMatch.cs (1)
36return Attribute.IsStringProperty || Attribute.AcceptsStringLiteral() || (IsIndexerMatch && Attribute.IsIndexerStringProperty);