Skip to content

Query syntax is not working #20

@spi8823

Description

@spi8823

First of all, I want to express my appreciation for this library. It has been incredibly useful, and I truly appreciate your work on it.

However, I have encountered an issue where the Source Generator does not function correctly when using query syntax. Is there a way to work around this problem?

Here is a minimal reproducible example:

using Cathei.LinqGen;

var array1 = Enumerable.Range(0, 10);

foreach(var i in from n in array1.Gen()
                 select n * 2)
    Console.WriteLine(i);

And this is my exception message:
System.NotImplementedException: 'The method or operation is not implemented.'

Image

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