I'm currently using the localization generator, and it seems to crash the generator tools when a very large enum exists in the project.
I've attached the enum that causes the issue (renamed to log so GitHub allows it).
The error message:
Unhandled exception: System.ArgumentNullException: Value cannot be null. (Parameter 'source') at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument) at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func2 predicate) at SoloX.GeneratorTools.Core.CSharp.Generator.Selectors.AttributeSelector1.<>c.b__0_1(IDeclaration1 d) at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext()
at System.String.Join(String separator, IEnumerable1 values) at SoloX.GeneratorTools.Core.CSharp.Generator.Impl.AutomatedGenerator.Generate(IEnumerable1 files)
at Tools.LocalizationGen.Implementations.LocalizationGenerator.Generate(ICSharpWorkspace workspace, ILocator locator, IWriter fileWriter, ILocator jsonLocator, IReader jsonReader, IWriter jsonWriter, IEnumerable1 files, GeneratorOptions generatorOptions)
I'm currently using the localization generator, and it seems to crash the generator tools when a very large enum exists in the project.
I've attached the enum that causes the issue (renamed to log so GitHub allows it).
The error message:b__0_1(IDeclaration
Unhandled exception: System.ArgumentNullException: Value cannot be null. (Parameter 'source') at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument) at System.Linq.Enumerable.Any[TSource](IEnumerable
1 source, Func2 predicate) at SoloX.GeneratorTools.Core.CSharp.Generator.Selectors.AttributeSelector
1.<>c.1 d) at System.Linq.Enumerable.WhereSelectEnumerableIterator
2.MoveNext() at System.String.Join(String separator, IEnumerable1 values) at SoloX.GeneratorTools.Core.CSharp.Generator.Impl.AutomatedGenerator.Generate(IEnumerable
1 files) at Tools.LocalizationGen.Implementations.LocalizationGenerator.Generate(ICSharpWorkspace workspace, ILocator locator, IWriter fileWriter, ILocator jsonLocator, IReader jsonReader, IWriter jsonWriter, IEnumerable1 files, GeneratorOptions generatorOptions)
Country.cs.log