Skip to content

Bug: GetSourceExtension & GetFormatterExtension throw exception when a value could not be found #136

@karljj1

Description

@karljj1

The documents says Returns null if the type cannot be found. however an exception is thrown InvalidOperationException: Sequence contains no elements. This is because you are using First when you should be using FirstOrDefault.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions