Skip to content

VB -> C#: Error compiling Linq with early Select #736

@jhony1104

Description

@jhony1104

VB.Net input code

Dim query = From t in Test
            Select t.foo
            Where t.Id = 123

Erroneous output

var query = from t in Test
            select t.foo;

Expected output

var query = from t in Test
            where t.Id = 123
            select t.foo;

Details

  • Product in use: codeconverter.icsharpcode.net and VS extension
  • Version in use: current codeconverter.icsharpcode.net
  • Did you see it working in a previous version, which? no (first time user)

Metadata

Metadata

Assignees

No one assigned

    Labels

    VB -> C#Specific to VB -> C# conversionoutput logic errorA bug where the converted output behaves differently to the input code

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions