28 references to IsBooleanProperty
Microsoft.CodeAnalysis.Razor.Compiler (2)
Language\BoundAttributeDescriptorExtensions.cs (1)
38
if (attribute.
IsBooleanProperty
)
Language\TagHelperAttributeMatch.cs (1)
48
return Attribute.
IsBooleanProperty
|| (IsIndexerMatch && Attribute.IsIndexerBooleanProperty);
Microsoft.CodeAnalysis.Razor.UnitTests (25)
BindTagHelperProducerTest.cs (4)
166
Assert.False(attribute.
IsBooleanProperty
);
329
Assert.False(attribute.
IsBooleanProperty
);
511
Assert.False(attribute.
IsBooleanProperty
);
1092
Assert.False(attribute.
IsBooleanProperty
);
ComponentTagHelperProducerTest.cs (16)
123
Assert.False(attribute.
IsBooleanProperty
);
339
Assert.True(attribute.
IsBooleanProperty
);
387
Assert.False(attribute.
IsBooleanProperty
);
430
Assert.False(attribute.
IsBooleanProperty
);
602
Assert.False(attribute.
IsBooleanProperty
);
649
Assert.False(a.
IsBooleanProperty
);
704
Assert.False(attribute.
IsBooleanProperty
);
752
Assert.False(a.
IsBooleanProperty
);
802
Assert.False(a.
IsBooleanProperty
);
858
Assert.False(attribute.
IsBooleanProperty
);
913
Assert.False(a.
IsBooleanProperty
);
983
Assert.False(a.
IsBooleanProperty
);
1050
Assert.False(a.
IsBooleanProperty
);
1127
Assert.False(a.
IsBooleanProperty
);
1204
Assert.False(a.
IsBooleanProperty
);
1285
Assert.False(a.
IsBooleanProperty
);
EventHandlerTagHelperProducerTest.cs (2)
117
Assert.False(attribute.
IsBooleanProperty
);
251
Assert.False(attribute.
IsBooleanProperty
);
KeyTagHelperProducerTest.cs (1)
85
Assert.False(attribute.
IsBooleanProperty
);
RefTagHelperProducerTest.cs (1)
85
Assert.False(attribute.
IsBooleanProperty
);
SplatTagHelperProducerTest.cs (1)
82
Assert.False(attribute.
IsBooleanProperty
);
Microsoft.CodeAnalysis.Razor.Workspaces (1)
Completion\DirectiveAttributeCompletionItemProvider.cs (1)
409
tagHelper.BoundAttributes.Any(static a => a.
IsBooleanProperty
);