Open slimshader opened 1 year ago
Hey, an update: it only happens when class in outside of any namespace, after placing it in the namespace, rest of the partial class seems to be generated correctly.
hum not putting types in namespace is a very unity thing to do, which may cause this line https://github.com/Doraku/DefaultEcs.Analyzer/blob/master/source/DefaultEcs.Analyzer/Generators/SystemGenerator.cs#L342 to generate bad code. If that's really the issue it should be easy enough to fix, thanks for the workaround in the meantime!
Hi,
trying Analyzer in Unity 2021 (with https://docs.unity3d.com/Manual/roslyn-analyzers.html).
My test system is:
this unfortunately causes error: