20 references to IsChildContentProperty
Microsoft.CodeAnalysis.Razor.Compiler (4)
Language\Components\ComponentDesignTimeNodeWriter.cs (1)
765
(node.BoundAttribute?.
IsChildContentProperty
() ?? false))
Language\Components\ComponentRuntimeNodeWriter.cs (1)
685
(node.BoundAttribute?.
IsChildContentProperty
() ?? false))
Language\Components\TagHelperBoundAttributeDescriptorExtensions.cs (1)
57
=> attribute.
IsChildContentProperty
() &&
Language\Components\TagHelperDescriptorExtensions.cs (1)
133
if (attribute.
IsChildContentProperty
())
Microsoft.CodeAnalysis.Razor.UnitTests (15)
ComponentTagHelperProducerTest.cs (15)
606
Assert.False(attribute.
IsChildContentProperty
());
653
Assert.False(a.
IsChildContentProperty
());
709
Assert.False(attribute.
IsChildContentProperty
());
757
Assert.False(a.
IsChildContentProperty
());
807
Assert.False(a.
IsChildContentProperty
());
862
Assert.True(attribute.
IsChildContentProperty
());
917
Assert.True(a.
IsChildContentProperty
());
987
Assert.True(a.
IsChildContentProperty
());
1054
Assert.True(a.
IsChildContentProperty
());
1131
Assert.True(a.
IsChildContentProperty
());
1208
Assert.True(a.
IsChildContentProperty
());
1289
Assert.True(a.
IsChildContentProperty
());
1364
Assert.True(a.
IsChildContentProperty
());
1375
Assert.True(a.
IsChildContentProperty
());
1381
Assert.True(a.
IsChildContentProperty
());
Microsoft.CodeAnalysis.Razor.Workspaces (1)
CodeActions\Razor\SimplifyTagToSelfClosingCodeActionProvider.cs (1)
122
if (!attribute.
IsChildContentProperty
())