Skip to content
This repository was archived by the owner on Feb 16, 2024. It is now read-only.

Bug: InvalidOperation does not use correct error message #521

@johannesvollmer

Description

@johannesvollmer

The error message uses a variable name inside of a string, instead of the actual value in the variable.

Should be new InvalidOperationException(Strings_Linq.NO_ELEMENTS)
where NO_ELEMENTS = "Source sequence doesn't contain any elements."

but is new InvalidOperationException("Strings_Linq.NO_ELEMENTS").

possibly also here

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