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)
710private static ImmutableArray<(IPropertySymbol property, PropertyKind kind)> GetProperties(INamedTypeSymbol type)
713using var results = new PooledArrayBuilder<(IPropertySymbol, PropertyKind)>();
740var kind = PropertyKind.Default;
756results.Add((property, PropertyKind.Ignored));
760kind = PropertyKind.Ignored;
773kind = PropertyKind.Ignored;
776if (kind == PropertyKind.Default)
780var p when IsEnum(p) => PropertyKind.Enum,
781var p when IsRenderFragment(p) => PropertyKind.ChildContent,
782var p when IsEventCallback(p) => PropertyKind.EventCallback,
783var p when IsDelegate(p) => PropertyKind.Delegate,
784_ => PropertyKind.Default