24 references to PropertyKind
Microsoft.CodeAnalysis.Razor.Compiler (24)
Language\TagHelpers\Producers\ComponentTagHelperProducer.cs (24)
98ImmutableArray<(IPropertySymbol property, PropertyKind kind)> properties,
105ImmutableArray<(IPropertySymbol property, PropertyKind kind)> properties,
112ImmutableArray<(IPropertySymbol property, PropertyKind kind)> properties,
189if (kind == PropertyKind.Ignored)
211private bool AcceptsUnmatchedAttributes(ImmutableArray<(IPropertySymbol property, PropertyKind kind)> properties)
217if (kind == PropertyKind.Ignored || !HasCaptureUnmatchedValues(property))
264private static void CreateProperty(Compilation compilation, TagHelperDescriptorBuilder builder, INamedTypeSymbol containingSymbol, IPropertySymbol property, PropertyKind kind)
281if (kind == PropertyKind.Enum)
285else if (kind == PropertyKind.ChildContent)
289else if (kind == PropertyKind.EventCallback)
293else if (kind == PropertyKind.Delegate)
723private static ImmutableArray<(IPropertySymbol property, PropertyKind kind)> GetProperties(INamedTypeSymbol type)
726using var results = new PooledArrayBuilder<(IPropertySymbol, PropertyKind)>();
753var kind = PropertyKind.Default;
769results.Add((property, PropertyKind.Ignored));
773kind = PropertyKind.Ignored;
786kind = PropertyKind.Ignored;
789if (kind == PropertyKind.Default)
793var p when IsEnum(p) => PropertyKind.Enum,
794var p when IsRenderFragment(p) => PropertyKind.ChildContent,
795var p when IsEventCallback(p) => PropertyKind.EventCallback,
796var p when IsDelegate(p) => PropertyKind.Delegate,
797_ => PropertyKind.Default