Skip to content

ContextualType throws when type has multiple indexers #154

@SnowyWreath

Description

@SnowyWreath

In ContextualType's Properties property, the SingleOrDefault call will throw a "Sequence contains more than one matching element" exception when the type contains multiple indexers.

.SingleOrDefault(p => p.Name == property.Name && p.DeclaringType == genericType);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions