Skip to content

CS1935 message is misleading #37165

@tmat

Description

@tmat
error CS1935: Could not find an implementation of the query pattern for source type 'int[]'. 'Join' not found. Are you missing a reference to 'System.Core.dll' or a using directive for 'System.Linq'?

System.Core.dll is not sufficient when targeting .NET Core, System.Linq.dll also must be present.
Rather than giving a misleading message we should remove the "a reference to 'System.Core.dll' or" part when building for .NET Core.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-CompilersBugConcept-Diagnostic ClarityThe issues deals with the ease of understanding of errors and warnings.help wantedThe issue is "up for grabs" - add a comment if you are interested in working on it

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions