reegeek / StructLinq

Implementation in C# of LINQ concept with struct
MIT License
298 stars 11 forks source link

StructLinq support Unity ? #143

Open aprius opened 2 years ago

aprius commented 2 years ago

I'm wondering if it can be used in unity?. I tried importing into unity but InlineIl and Fody are not usable in Unity environment.

How can I fix UnsafeHelpers so that it doesn't have InlineIL and can be used in Unity?

reegeek commented 2 years ago

Hi,

Can you say more about your error ?

Fody is a compile time dependency and not a runtime dependency.

I am a little by surprise you cannot use already compiled dll in unity since structlinq targeting netstandard with almost no runtime dependencies.

Z2Y commented 1 year ago

I meet same problem when use in unity, unsafe cast from List to ListLayout not working in unity. related issue https://github.com/NetFabric/NetFabric.Hyperlinq/issues/386

reegeek commented 1 year ago

Hi, ListLayout is specific for each framework. I am not handling mono because I don't no how to target mono and how to test it. Do you have some clue about that ?

Regards