14 references to ExpectsStringValue
Microsoft.CodeAnalysis.Razor.Compiler (14)
Language\DefaultTagHelperResolutionPhase.ComponentTagHelperResolver.cs (9)
267
if (hasMixedStringContent && match.
ExpectsStringValue
)
272
else if (!match.
ExpectsStringValue
&& !hasMixedStringContent)
285
if (match.
ExpectsStringValue
)
295
if (!match.
ExpectsStringValue
)
327
/// <see cref="LowerUnresolvedAttributeValues"/> with the <see cref="TagHelperAttributeMatch.
ExpectsStringValue
"/>
353
LowerUnresolvedAttributeValues(htmlAttrChild, prop, match.
ExpectsStringValue
, unresolvedAttr.ValueSourceSpan, sourceDocument);
362
if (match.
ExpectsStringValue
)
912
if (!match.
ExpectsStringValue
)
931
if (!match.
ExpectsStringValue
)
Language\DefaultTagHelperResolutionPhase.LegacyTagHelperResolver.cs (4)
154
if (!match.
ExpectsStringValue
&& HasOnlyWhitespaceContent(prop))
212
LowerUnresolvedAttributeValues(htmlAttrChild, prop, match.
ExpectsStringValue
, unresolvedAttr.ValueSourceSpan, sourceDocument);
221
if (match.
ExpectsStringValue
)
296
var isBoundStringProperty = match.
ExpectsStringValue
;
Language\Legacy\TagHelperBlockRewriter.cs (1)
508
isBoundNonStringAttribute = !match.
ExpectsStringValue
;